campuspulse-event-ingest-schema
Normalized data schema for the output of the data-ingest pipeline.
Installation
Install this library using pip:
pip install campuspulse-event-ingest-schema
Usage
Import this package then use it to construct normalized objects with type enforcement.
from campuspulse_event_ingest_schema import location
location.NormalizedLocation(
id="vaccinebot:uuid-for-site",
source=location.Source(
source="vaccinebot",
id="uuid-for-site",
fetched_from_uri="https://vaccinateTheStates.com",
published_at="2021-01-13T00:00:00-08:00",
data={},
)
)
For more details on the schema, read the inline comments or the
data-ingest wiki.
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd campuspulse-event-ingest-schema
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv:
pipenv shell
Now install the dependencies, linters, and tests:
pip install -e '.[lint,test]'
To run code formatters:
isort .
black .
To run linters:
mypy .
flake8 campuspulse_event_ingest_schema
To run the tests:
pytest
Release
ideally from within a virtual env as described above...
pip install build twine
python -m build
twine check dist/*
twine upload dist/*
Metadata
Release files for campuspulse-event-ingest-schema 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| campuspulse-event-ingest-schema-0.1.0.tar.gz | 6.1 kB | Without provenance | Details for campuspulse-event-ingest-schema-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| campuspulse_event_ingest_schema-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for campuspulse_event_ingest_schema-0.1.0-py3-none-any.whl |
Total release size: 11.1 kB
Release files / campuspulse-event-ingest-schema-0.1.0.tar.gz
| Download URL | campuspulse-event-ingest-schema-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
848d7b7e9cf472d087a7df1524ee718b6ee5adf76e798eeebec0edb4f2f8237e
|
|
BLAKE2b-256 checksum How to use checksums |
4dd8585636583ca7685a955421c81c7c455704d1b4ea5f27f16eac12ebe6b1d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.12
|
Release files / campuspulse_event_ingest_schema-0.1.0-py3-none-any.whl
| Download URL | campuspulse_event_ingest_schema-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bac265abe1db151b5770d4f43697b87aed682f9305d6062e4a73af07b5438c9f
|
|
BLAKE2b-256 checksum How to use checksums |
20707ea1e9004e002011f800c1ef6e2fbffef4c3252516abae8a94bd7380e68f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.12
|
Security for campuspulse-event-ingest-schema 0.1.0
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.