Installation
pyDataverse is a Python library for interacting with Dataverse installations. It provides a high-level interface for creating datasets, managing collections, working with files, and accessing Dataverse APIs.
Requirements
Section titled “Requirements”pyDataverse requires Python 3.10 or higher. You can check your Python version by running python --version in your terminal. If you need to install or upgrade Python, visit python.org.
Installation
Section titled “Installation”Create and activate a virtual environment first:
python -m venv .venvsource .venv/bin/activateChoose one package manager (pip, uv, or poetry) for this environment.
Install from PyPI:
python -m pip install pyDataverseInstall from local source (repository checkout):
python -m pip install .Install with test dependencies:
python -m pip install ".[tests]"Install from PyPI:
uv pip install pyDataverseInstall from local source (repository checkout):
uv pip install .Install with test dependencies:
uv sync --extra testspoetry
Section titled “poetry”Install runtime dependencies:
poetry installInstall with test dependencies:
poetry install --extras testsNext Steps
Section titled “Next Steps”After installation, you’re ready to start using pyDataverse. Here’s what to do next:
- Read the Dataverse documentation to learn how to create datasets and manage collections
- Try connecting to a public Dataverse installation to explore what’s available
- For authenticated operations like creating datasets or uploading files, you’ll need an API token from your Dataverse installation (available in your account settings)
Getting Help
Section titled “Getting Help”If you encounter issues or have questions:
- Check the documentation for usage examples and API reference
- Report bugs or ask questions on the GitHub repository
- Join the Dataverse Zulip channel for community support
See Also
Section titled “See Also”- Dataverse Documentation - Learn how to use pyDataverse
- Dataset Documentation - Working with datasets
- Collection Documentation - Managing collections
- File Documentation - Working with files