Skip to main content

A shared library for SDX services

Project description

https://api.codacy.com/project/badge/Grade/b977b40c85da4c7d9cf1a43ade2135d5

Common classes for SDX apps. Contains a single package:

sdx.common

A common library for SDX apps. App projects declare their dependence on sdx-common which is deployed and installed via pip.

Basic use

Assuming a Python 3.5 virtual environment at ~/py3.5:

  1. Run the unit tests:

    ~/py3.5/bin/python -m unittest discover sdx
    
  2. Create a package for deployment:

    ~/py3.5/bin/python setup.py sdist
    
  3. Install source package with pip:

    ~/py3.5/bin/pip install -U dist/sdx-common-x.y.z.tar.gz
    
  4. Install extra dependencies for development and building documentation:

    ~/py3.5/bin/pip install .[dev,docbuild]
    
  5. Build documentation pages:

    ~/py3.5/bin/sphinx-build sdx/common/doc sdx/common/doc/html
    

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

sdx-common-1.0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

sdx_common-1.0.2-py3-none-any.whl (4.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page