Skip to main content

SDK for interacting with the Biosero Data Services API

Project description

pre-commit Ruff uv Checked with pyright Actions status Open in Dev Containers PyPI Version Downloads Python Versions OpenIssues

Usage

Documentation is hosted on ReadTheDocs.

Development

This project has a dev container. If you already have VS Code and Docker installed, you can click the badge above or here to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.

To publish a new version of the repository, you can run the Publish workflow manually and publish to the staging registry from any branch, and you can check the 'Publish to Primary' option when on main to publish to the primary registry and create a git tag.

Open a connection to the EC2 instance hosting GBG Data Services in AWS:

aws ssm start-session --target i-0e5fd6d0bcdfd3c03 --document-name AWS-StartPortForwardingSession --parameters '{"portNumber":["8105"],"localPortNumber":["8105"]}'

When running the unit test suite, pytest-recording library is used. If it gives you errors about a cassette missing, the parameter to invoke a live HTTP request is --record-mode=once (add on to the end of the pytest command)

To run e2e tests locally against a specific data services version:

DATA_SERVICES_VERSION=1.6.2 uv run pytest tests/e2e
DATA_SERVICES_VERSION=2.0.0 uv run pytest tests/e2e

DATA_SERVICES_VERSION controls which Docker image docker-compose pulls. It defaults to 1.6.2 if unset.

Updating from the template

This repository uses a copier template. To pull in the latest updates from the template, use the command: copier update --trust --conflict rej --defaults

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

biosero_data_services_sdk-0.9.1.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

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

biosero_data_services_sdk-0.9.1-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file biosero_data_services_sdk-0.9.1.tar.gz.

File metadata

File hashes

Hashes for biosero_data_services_sdk-0.9.1.tar.gz
Algorithm Hash digest
SHA256 5170cac3a8a340a4d6cd8f0e427afff2664ccd4d2db3317d9427a792e7e74eeb
MD5 22b7c189b4bd67e609b7897fe1864b65
BLAKE2b-256 627b82c3d9ee0a1a9394643716a592e6620ada158c44ffd8681a6b0286b17f6e

See more details on using hashes here.

File details

Details for the file biosero_data_services_sdk-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for biosero_data_services_sdk-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 011c789852d5ee96b0e2c7d5201aa29badcd8a2701aa5ae3f307ccb56d3fa0ae
MD5 ff028895f8912ab586d1529d4a738417
BLAKE2b-256 0802fb9db1fec465d65a2fba6d5d0887d67b18b3f3494b6532e14cb6a3259f51

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