Skip to main content

No project description provided

Project description

allphins-sdk

Allphins SKD repository

How to contribute

  1. Install pre-commit hook
> pre-commit install
  1. Convention followed
  • PEP8 -> 120 characters per line

  • [Google Python Style Docstring]

Requirements

How to set up poetry environment

To set up your development environment using poetry you have to install all the dependencies using:

poetry install --with dev

You can also run the documentation on a local environment:

poetry run mkdocs serve

The documentation will be running on your localhost port 8000

Finally, you can run the unit test using the following command:

poetry run coverage run --source=./allphins tests && poetry run coverage report --fail-under=80

Mock allphins-api

You can mock the allphins-api by using the following command:

docker-compose up -d

All calls to localhost:8080 will be redirected to the mock server. You can update the mock server by updating the files in the stubs/allphins-api folder.

This is required before runing local tests.

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

allphins_sdk-1.0.4.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

allphins_sdk-1.0.4-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file allphins_sdk-1.0.4.tar.gz.

File metadata

  • Download URL: allphins_sdk-1.0.4.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Linux/6.7.9-200.fc39.x86_64

File hashes

Hashes for allphins_sdk-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c9f61650660e413fb1345d21c7c9f51ae18d6f3b63f166d72b65ba7365a4cafa
MD5 e9030bc569dccfbc457450647d6383b3
BLAKE2b-256 e5a786207d1bed58a5749fdb73509fa116683d942521d8a3a3669d975612223d

See more details on using hashes here.

File details

Details for the file allphins_sdk-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: allphins_sdk-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Linux/6.7.9-200.fc39.x86_64

File hashes

Hashes for allphins_sdk-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 51a3386ef7d246cb6dfc24b8ced63716cea2895865b11bb168a035bbd5f2e2a7
MD5 47ae60a058667f7180735b74d0f4f624
BLAKE2b-256 7611c3cc81ac0b63e8fb474f55f2fcd16014914a680e010657300b06148f5678

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