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.
The Release workflow reuses the checks from CI instead of re-running them: it requires that the CI workflow has already completed successfully for the current commit (including the workflow-summary job) and reuses the artifacts CI built rather than rebuilding. Trigger it manually with workflow_dispatch; a real release must be run from main, while the dry_run option lets you exercise the workflow from any branch without tagging or releasing. A real run publishes the CI-built distribution to the staging registry and verifies a fresh install, then pushes the v<version> git tag, publishes to the primary registry, verifies the install again, and finally creates a GitHub Release with auto-generated notes.
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 --answers-file .config/.copier-answers.yml --trust --conflict rej --defaults
Release files for biosero-data-services-sdk 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biosero_data_services_sdk-0.12.0.tar.gz | 41.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biosero_data_services_sdk-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 91.9 kB
Release files / biosero_data_services_sdk-0.12.0.tar.gz
| Download URL | biosero_data_services_sdk-0.12.0.tar.gz |
|---|---|
| Size | 41.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fff34f79c655e6ed439ab67711afd563cde9e8e779804b4e24b47aefa1422e93
|
|
BLAKE2b-256 checksum How to use checksums |
6acf9e3a214e490e72a0165ac03cf27cb4b27a1dbe9c61a466a741407f05e013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / biosero_data_services_sdk-0.12.0-py3-none-any.whl
| Download URL | biosero_data_services_sdk-0.12.0-py3-none-any.whl |
|---|---|
| Size | 50.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fc38f6521dc6134e942cdf43b148f5997219f8afdcb0429b87a02864752bba4
|
|
BLAKE2b-256 checksum How to use checksums |
7e145aac0d663b7aff24d3e97bd93ceb0ea1957ea13194edad2f5e885add9a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|