Skip to main content

A packaged library for sim usage data

Project description

A Package for API services and utilities for sim data usage

##Notes

  • Clone the repository
  • Create the virtual env and install the dependencies
py -m venv .venv
pip install -r requirements.txt
-  Run tests 

pytest -s

- Download the build package for local development

py -m pip install build


- Build the package to be used as an import to main script

py -m build


- To install from local folder, change to the root directory of the main script and install the package

py -m pip install ../bwdatausagelib/dist/bwdatausagelib-0.0.1.tar.gz


- upload to pypi using twine

twine upload dist/* --config-file .pypirc



**GlobalSimTable**
- The API service will check for the api queries on a table `GlobalSimsTable` to refill the queue each time it is below the set limit. This table will store all the entities that containing the Sim Provider and ICCID.
- `GlobalSimTable` must be created at the storage that is binded to the Azure function as set in Application Setting `AzureWebJobsStorage`

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

bwdatausagelib-0.0.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

bwdatausagelib-0.0.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file bwdatausagelib-0.0.5.tar.gz.

File metadata

  • Download URL: bwdatausagelib-0.0.5.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.9

File hashes

Hashes for bwdatausagelib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2388e4749756f322b85203d75c7e7f269888abe2d1e40bf992fb85e73e0368bc
MD5 7620e5745e34fe28a16a10023e2ca31e
BLAKE2b-256 8f300cf8e901b37bbafc926b1e474b3a71280289d6e723d1ac4e938d8a467b81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bwdatausagelib-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.9

File hashes

Hashes for bwdatausagelib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc086cc279237bad47f965b01cc7901dd81a5e2971c3be3c3de77c3a71a773e
MD5 ec34597e18059c68f8b6abf3ad196876
BLAKE2b-256 722fe7f22b7fc6a33a70ef178317d1d19c219272ddd7f8466cdc9fb03c543885

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