Skip to main content

Python library to read, parse and write Darwin Core Archive files

Project description

Python DWCA

pypi pypi-python-version pypi-download wheel

issues coverage licence

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydwca-0.3.0.tar.gz (130.8 kB view details)

Uploaded Source

Built Distribution

pydwca-0.3.0-py3-none-any.whl (129.9 kB view details)

Uploaded Python 3

File details

Details for the file pydwca-0.3.0.tar.gz.

File metadata

  • Download URL: pydwca-0.3.0.tar.gz
  • Upload date:
  • Size: 130.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydwca-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e1a6a41385648c4f95da95159351c271417cdbe2e02136eb1c07a80696352b6e
MD5 0d32d71a9b071edaad5eed62b5c33096
BLAKE2b-256 19e203a642dda762bc11d55a56ad236dd4941811fab8265a9e907a72a9332ef8

See more details on using hashes here.

File details

Details for the file pydwca-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pydwca-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 129.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydwca-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0095bb4f46473605a120cdb38df626cd22f3c145a42fab1ce54bee4204fbe22f
MD5 452294bbc2f3c352b141b35a168c7909
BLAKE2b-256 5899a179dd4ea43f3ce371771ae7d30fecfd5d32d67c553df63d7d3f59a4885d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page