sparrow.loader
The sparrow.loader module helps you prepare data for loading
into the Sparrow geochemistry database system.
When disconnected from a database, it can be used to check that data is ready to be imported into a standard installation of Sparrow.
If connected to a Sparrow installation's PostgreSQL database, the module can be used to insert data into the appropriate tables.
Key functions
validate_data(schema_name: str, data: dict)
Checks data against a loader schemashow_loader_schemas(schema_name: str, ..., nest_depth=0)
Show the fields for one or several loader schemas.
Command-line application
The sparrow-loader command line application allows you to inspect
and validate import schemas.
Installation
pip install sparrow-loader
Requires Python >=3.9
Metadata
Release files for sparrow-loader 1.0.8
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 |
|---|---|---|---|---|
| sparrow-loader-1.0.8.tar.gz | 38.2 kB | Without provenance | Details for sparrow-loader-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sparrow_loader-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for sparrow_loader-1.0.8-py3-none-any.whl |
Total release size: 78.7 kB
Release files / sparrow-loader-1.0.8.tar.gz
| Download URL | sparrow-loader-1.0.8.tar.gz |
|---|---|
| Size | 38.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51994f3d827fecaedcd0030afbed8d24dd08fda8e15d4a94b1884645f0290f04
|
|
BLAKE2b-256 checksum How to use checksums |
4ad71091d6d571a3811a46d8e2924fb22b19549721c562cd40c7f90f2f9fc62a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.3 Darwin/21.6.0
|
Release files / sparrow_loader-1.0.8-py3-none-any.whl
| Download URL | sparrow_loader-1.0.8-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccd3d70ee539225ad81eb1873dfe8e2960f94221dded2e024194e1e92ae3fcea
|
|
BLAKE2b-256 checksum How to use checksums |
37732c0bb23f89f4df4e30918f17b879b3493f7f6a97ae10353e565f34510190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.3 Darwin/21.6.0
|
Security for sparrow-loader 1.0.8
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.