Skip to main content

Constants and utils

Project description

Constants and Utils

Package with constants and generic utilities

pipeline status coverage report

Package installation

  • Installation standard

    $ pip3 install constants-and-utils
    
  • Install with mongoengine utils

    $ pip3 install constants-and-utils[mongoengine]
    

Docs

Examples:

recursive_get this is a helper, apply a get recursive to the dictionary.

>>> from constants_and_utils.utils.helpers import recursive_get

>>> recursive_get({'NUMBER': {'ONE': 1 }}, 'NUMBER.ONE')
1

HttpCode this is a class enum, Http code constants.

>>> from constants_and_utils.constants.enums import HttpCode

>>> HttpCode.OK.value
200

More

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

constants-and-utils-0.0.5.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

constants_and_utils-0.0.5-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file constants-and-utils-0.0.5.tar.gz.

File metadata

  • Download URL: constants-and-utils-0.0.5.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for constants-and-utils-0.0.5.tar.gz
Algorithm Hash digest
SHA256 df15b8f1b7f2b29a1684fad861bdebc6450a1825cddfccb896363f1b5f44ca19
MD5 7d5a3bbc2b1e10e0d8fd0c7f8537ac21
BLAKE2b-256 b738b242ff413d8a09d0dfd576ebe085c102d50ec44c3cb746d251c451d0b4af

See more details on using hashes here.

File details

Details for the file constants_and_utils-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: constants_and_utils-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for constants_and_utils-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fd8cf5990bf93a3a4a24f04cf7c6cc5031424fcd3b93f15dbc99a367790df0e5
MD5 700c67bacaabea12e4b5958beabca249
BLAKE2b-256 f90f60a306d38e782a9a47dcb9f229ea526de52f6fc31a454ece8364868e4050

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