Skip to main content

Collection of utility functions and modules for cherrypy web servers

Project description

Overview

This is a generic utility library full of helper functions relating to cherrypy webservice routines. Included are handlers for:

  • authentication (authentication.py)
  • sqlalchemy with cherrypy (cherrypy_sqlalchemy_utils.py & database.py)
  • json parsing and constructing orm entities from json (json_utils.py)
  • timestamp (ISO and posix epoch) parsing (timestamp.py)
  • url construction and parsing from parts (similar to os.path.join) (url_utils.py)
  • ldap login utilities (login/ldap_auth.py & login/models.py)

Usage

To use this package in your project, simply install it with pip install cherrypy_utils

Development

This package is developed using Pipenv for package management, which makes dealing with pip packages easier. Check out more here: https://pipenv.pypa.io/en/latest/install/#using-installed-packages

It also uses pyenv to manage multiple different installed versions of python. Currently, this package targets python 3.6.8.

The package uses the black formatter and enforces a strict formatting policy, automatic formatting on save is required.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cherrypy_utils-1.4.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cherrypy_utils-1.4.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file cherrypy_utils-1.4.0.tar.gz.

File metadata

  • Download URL: cherrypy_utils-1.4.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for cherrypy_utils-1.4.0.tar.gz
Algorithm Hash digest
SHA256 52e9a0d1603064a9d9f53e2b7e5a53206c44d048fc207a5c4db94583d3dcbd4e
MD5 a2094fd37f987e815cc9ab899e7b5945
BLAKE2b-256 72d214a73c767c1b1a85fbd4f3097cdb784a5eff0fe9abbeab134cdccc3897a2

See more details on using hashes here.

File details

Details for the file cherrypy_utils-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cherrypy_utils-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b95a80094ea9ef6c2db7b985cf4e783c4cb4181b7644a12c07f8bed2ccf0ca
MD5 ec68be9ca76de650beace4830d4ac773
BLAKE2b-256 ab8f523f9059e99be787a0eb59ab4e9677355b6d76a26ac74f6c5cd799006a67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page