simpl

common python libraries :point_right: https://simpl.readthedocs.org

https://github.com/rackerlabs/simpl

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

common python libraries :point_right: https://simpl.readthedocs.org

Basic Info
  • Host: GitHub
  • Owner: rackerlabs
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 609 KB
Statistics
  • Stars: 6
  • Watchers: 15
  • Forks: 9
  • Open Issues: 13
  • Releases: 16
Created over 11 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Contributing License

README.md

simpl

Build Status Coverage Status

Common Python libraries for:

Config

Supports argparse-like configuration options with support for the following configuration methods: - command-line arguments - environment variables - keychain (OSX) and keyring (Linux) - ini/config files

Logging (simpl.log)

Encapsulates logging boilerplate code to initialize logging using the config module.

Sensitive Value Helpers

Helpers for managing sensitive values.

Python Utilities

Code we wished was built in to python (or was simpler to use): - dictionary and list merging - dictionary get/set/in by path

Running a web service

  • Perform standard webserver configuration (address, port, server adapter, etc.) using the config module
  • Run the bottle-based webservice using this configuration

WSGI middleware

Includes sample middleware for use with WSGI apps including bottle.

Middleware included: - CORS: handles CORS requests - Context: handles setting a threadlocal context and adds a transaction ID. - Errors: handles catching and formatting errors

REST API Tooling

Helper code for handling RESTful APIs using bottle.

Code included: - body: a decorator that parses a call body and passes it to a route as an argument. The decorator can apply a schema (any callable including a voluptuous.Schema), return a default, and enforce that a body is required. - paginated: a decorator that returns paginated data with correct limit/offset validation and HTTP responses. - process_params: parses query parameters from bottle request

Date/Time Utilites

Provides functions that consistently format date/time and timestamp data for use in APIs.

MongoDB Backend Wrapper

Implements an opinionated wrapper for MongoDB databases and collections that works with the [rest][#rest] module and supports query param filtering (including text search) and pagination of backend collections.

release

latest

builds

| Branch | Status | | ------------- | ------------- | | master | Build Status |

Owner

  • Name: Rackerlabs
  • Login: rackerlabs
  • Kind: organization
  • Location: San Antonio, TX

Rackspace rackerlabs public git repositories

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 271
  • Total Committers: 12
  • Avg Commits per committer: 22.583
  • Development Distribution Score (DDS): 0.494
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Sam Stavinoha s****h@g****m 137
Ziad Sawalha g****t@h****m 61
havenwang H****g@r****m 29
Lars Butler L****r@g****m 19
Szilveszter Farkas s****s@r****m 6
Caleb Groom c****b@c****m 5
Paul Nelson p****n@s****m 5
Martin Geisler m****n@g****t 2
Bruce Stringer b****e@g****m 2
Ryan Walker r****r@r****m 2
Bruce Stringer b****r@r****m 2
BK Box b****x@r****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 20
  • Total pull requests: 82
  • Average time to close issues: over 1 year
  • Average time to close pull requests: 14 days
  • Total issue authors: 5
  • Total pull request authors: 11
  • Average comments per issue: 1.9
  • Average comments per pull request: 2.37
  • Merged pull requests: 69
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stavxyz (13)
  • gifflen (3)
  • ziadsawalha (2)
  • Pablosan (1)
  • ryandub (1)
Pull Request Authors
  • ziadsawalha (27)
  • stavxyz (27)
  • havenwang (7)
  • Pablosan (5)
  • larsbutler (5)
  • dependabot[bot] (4)
  • gifflen (2)
  • mgeisler (1)
  • szilveszter (1)
  • gondoi (1)
  • ryandub (1)
Top Labels
Issue Labels
on deck (1) enhancement (1) question (1)
Pull Request Labels
dependencies (4)

Dependencies

all-requirements.txt pypi
  • WebOb ==1.4.1
  • bottle ==0.12.8
  • eventlet ==0.17.4
  • tornado ==4.2
  • voluptuous ==0.8.7
docs/requirements.txt pypi
  • sphinx ==1.3.6
mongo-min-requirements.txt pypi
  • pymongo ==2.8.1
mongo-requirements.txt pypi
  • pymongo ==3.0.3
requirements.txt pypi
  • six *
test-requirements.txt pypi
  • coverage * test
  • flake8_docstrings * test
  • hacking * test
  • mock * test
  • mongobox * test
  • nose * test
  • nose-ignore-docstring * test
  • prettyprint * test
  • pycodestyle * test
  • pylint * test
  • pyyaml * test
  • requests * test
  • webtest * test
setup.py pypi