Python DWCA
PyDwCA (pronounced /pajˈðjuka/ or "pie thew ka") is a Python library to read, parse and write Darwin Core Archive files.
Install
Package available at pypi:
pip install pydwca
This command will install the library and the dependencies listed in the requirements. This will give you a basic usage.
If you want all the available features, install the optional dependencies:
pip install pydwca[full]
pip install pydwca[ui]
pip install pydwca[data]
full has all features, ui allows you to see the steps of the long process and data includes the libraries for data analysis.
Citation
You can cite this library by citing the abstract of the oral presentation in which was presented:
@article{10.3897/biss.8.137799,
author = {Sáez-Hidalgo, Juan M. and Segovia, Ricardo A. and Squeo, Francisco A. and Guerrero, Pablo C.},
title = {PyDwCA: A Tool for Integrating Biodiversity Data},
volume = {8},
number = {},
year = {2024},
doi = {10.3897/biss.8.137799},
publisher = {Pensoft Publishers},
issn = {},
pages = {e137799},
URL = {https://doi.org/10.3897/biss.8.137799},
eprint = {https://doi.org/10.3897/biss.8.137799},
journal = {Biodiversity Information Science and Standards}
}
Usage
To read a DwC Archive file in .zip format, use the class DarwinCoreArchive:
from dwca import DarwinCoreArchive
darwin_core = DarwinCoreArchive.from_archive("DwCArchive.zip")
A more extended example is in the library documentation at https://pydwca.readthedocs.io/en/latest/usage.html.
A more detailed example can be found on the pydwca-example repository. Those use cases correspond mainly to the data process pipeline presented at the 2024 SPNCH/TDWG conference.
Documentation
Documentation is available at readthedocs.io.
Discussion
You can leave a message about the usage of this library, its implementation, or any other in the issue section.
Metadata
Release files for pydwca 0.5.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 |
|---|---|---|---|---|
| pydwca-0.5.1.tar.gz | 171.7 kB | With provenance | Details for pydwca-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydwca-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for pydwca-0.5.1-py3-none-any.whl |
Total release size: 317.8 kB
Release files / pydwca-0.5.1.tar.gz
| Download URL | pydwca-0.5.1.tar.gz |
|---|---|
| Size | 171.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
527fa78bd272037129d6576bfae0490c2ae359d7145a72ce9d28184a7d970e4a
|
|
BLAKE2b-256 checksum How to use checksums |
ccf896a6ab23fb8ce00cfe1fcc8c4ca84b90af0d6507a967a1625a4f553bad18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.
Transparency logRelease files / pydwca-0.5.1-py3-none-any.whl
| Download URL | pydwca-0.5.1-py3-none-any.whl |
|---|---|
| Size | 146.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c08551c99260b55f6dd6b4972bb79066492ed3aef7caa70746c1d4779b1eb6fc
|
|
BLAKE2b-256 checksum How to use checksums |
6f5340f2b49eb765f3c9d19e055bea8e2efdec2db4a59ed53673ba78ea956464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.
Transparency logSecurity for pydwca 0.5.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pydwca-0.5.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.
Transparency logA 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.