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.2.tar.gz (7.1 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.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: constants-and-utils-0.0.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for constants-and-utils-0.0.2.tar.gz
Algorithm Hash digest
SHA256 230a8848031d8b11461963b92622a0a81c45f2375e2804a70cfdde47304f416d
MD5 f595d200b9f748adb2c39775fc9d464f
BLAKE2b-256 3ebed1975da3a1d861489ede46f374ab77694c4dbfbb7a29c3d9ab167f84b169

See more details on using hashes here.

File details

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

File metadata

  • Download URL: constants_and_utils-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for constants_and_utils-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38c154e8911af022038a5917c03866cb8a33379b96f6786571597253f050b39d
MD5 669abf7a26cceb3417c0cce2d3ce01e1
BLAKE2b-256 b06059fceebf87e1b60284b32b6b19cceab609f3d30e46e904ade0b507ac76b8

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