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

Uploaded Source

Built Distribution

pydwca-0.2.0-py3-none-any.whl (128.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydwca-0.2.0.tar.gz
  • Upload date:
  • Size: 125.6 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.0.tar.gz
Algorithm Hash digest
SHA256 631ac56a2d19df8f3f3db24a3863dda733c8b69cc6feb2eebf2f638840c33f37
MD5 f2ef82c4f7f57e6c2e587aca8b30eb07
BLAKE2b-256 10c34b2344dc693167b6ea1c49dfe4c4ae01518686e37b1f12ca9b87b59c391b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydwca-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 128.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f960111bb6fe86ff7d75894dfe72fc827f2d6b729a603656b46c11f4fdc8cbaf
MD5 bd8c393daa9a89e51f0becd752d5ac2c
BLAKE2b-256 e561fced77a01b5cfdce11d2d1082a555e385129049fd2b61a31e54e9e5a56df

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