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.4.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.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bwdatausagelib-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ce58a519550b03153ecaa432c3c7535bea79b852ecdcdd941a006af1b0945e41
MD5 5b997462fe302054621ca2730b35ef03
BLAKE2b-256 ef9490ed81402ac79339c877a5715334cb3aa1819872a2b4e22995cb3fa5dee4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bwdatausagelib-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 10722613e6b7cadeffc7af7f50a91fc4dc9b3fa64563edb5652d8d63c7933805
MD5 d8bec84db1eedd5ee391e66120c58b3d
BLAKE2b-256 6b9e546a79c29b4f4fb4128087bd31927c6e181818748ac8162b07ca880077d6

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