Influenzanet API Library
influenzanet.api is a python library to work with influenzanet API
Installation
pip install influenzanet.api
Contents
ManagementAPIClient: is the main class handling connection and operations of the platform's Management API
Paginated Helpers
Some helpers class are provided to handle the pagination and iter over fetched results using for ... in
ParticpantStatePaginaged: callget_participant_state_paginatedwith pagi
from influenzanet.api import ManagementAPIClient, ParticpantStatePaginaged
client = ManagementAPIClient('https://admin.example.com', credentials)
pager = ParticpantStatePaginaged(client, page_size=5, study_key='my_study')
# By default, intial page is 1, but it's possible to change it using
# pager.page = 10 # start from page 10 (you must be sure of the page count...)
for result in pager:
print("Fetched page %d with %d" % (result.page, len(result)))
for item in result:
print(item)
Metadata
Release files for influenzanet.api 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| influenzanet_api-1.3.1.tar.gz | 14.2 kB | Without provenance | Details for influenzanet_api-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| influenzanet_api-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for influenzanet_api-1.3.1-py3-none-any.whl |
Total release size: 28.5 kB
Release files / influenzanet_api-1.3.1.tar.gz
| Download URL | influenzanet_api-1.3.1.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8947b926357d2b2cdd166a9b6310c8e513c69974c258efef3e0ecef6f304138
|
|
BLAKE2b-256 checksum How to use checksums |
b13258582cd8be10bc0d59a24e5b480c08098c7fc52c1d2cea6083989559e0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / influenzanet_api-1.3.1-py3-none-any.whl
| Download URL | influenzanet_api-1.3.1-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a2136015d7d574c919979409efd3a8b894ee19bc676bed9089e12ed20472e94
|
|
BLAKE2b-256 checksum How to use checksums |
c73a92f367ae07d4c8d0c9523cc36ca944f734f7b50b521e08aeeaa9ede8cab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for influenzanet.api 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.