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.2.2.tar.gz (128.9 kB view details)

Uploaded Source

Built Distribution

pydwca-0.2.2-py3-none-any.whl (128.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pydwca-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9a9c54cda3734832e65ac0a8a6e3f31f360acfdab84ffd3e1903c849471c0888
MD5 f9155c46b0ef1feb0c54262b2b6a16f9
BLAKE2b-256 d87a91cb1d300adfb715718759a1cf083c68aac5c70d6452f0884f1960bb3b33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydwca-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 128.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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e82c295f86c8b4feae32ee0da5fdca325ffc4b1da169428cfff8f6351074e1d
MD5 5848a2258e39055142961ee466c4e9e4
BLAKE2b-256 474fd05cec40ed3a706457b40037ef29ccdf0dc4eb938bbbab08992d88adcf26

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