Skip to main content

deposit-python

deposit-python is the synchronous Python wrapper for Deposit. The Python distribution is named deposit-python and the import is deposit. It gives Python applications access to the scientific records, relationships, and attached files managed by deposit-server.

Features

  • Connections and sessions. Client uses a Neo4j driver to discover the server and open independently authenticated Store sessions. Each Store works in one Namespace.
  • Python records and values. DClass and DObject represent Classes and Objects. DGeometry and DResource represent spatial values and attached files.
  • Relationships. Directed, labeled links connect Classes to Classes and Objects to Objects.
  • Queries and edits. Run Deposit Query Language queries, page through large results, and group related edits into atomic batches. Revision checks identify conflicting changes.
  • Import and exchange. Import data using Patterns, move portable packages between Stores, clone Namespaces, and convert graphs to and from NetworkX. Inspect import plans before applying changes.
  • Files and tracked operations. Transfer files through verified streams, inspect operation outcomes, and request cancellation. Use Store.call() to access additional server procedures.

Platform

The current support target is Python 3.14 on Windows x64 with Deposit Server 2.0.1. Pip installs the Neo4j Python driver and NetworkX as dependencies.

Getting started

From a full Git checkout, follow the quickstart to install the wrapper, open a Store, and query the Deposit Server sample data. If you need a server, follow the Deposit Server 2.0.1 checkout instructions.

For a local wheel or a published 2.x package, see the quickstart installation options. The wrapper generates operation IDs for tracked calls. See operation IDs to choose an ID before submission and look up the outcome.

See the Python API reference for wrapper behavior.

Build the release wheel

On Windows x64, open PowerShell at the root of a clean, full Git checkout. Check out the release commit with its stable X.Y.Z tag, such as 2.0.1. Use a fresh build directory alongside the checkout.

py -3.14 -m venv ..\deposit-python-release\venv
..\deposit-python-release\venv\Scripts\python.exe -m pip install build
..\deposit-python-release\venv\Scripts\python.exe -m build --wheel --outdir ..\deposit-python-release\dist

The builder writes the wheel to the sibling build directory. The wheel version comes from the Git tag. The wheel contains the wrapper and its procedure catalog, and pip resolves the runtime dependencies during installation.

Citation

Please use this citation when referencing the software.

Demján, P. (2026). deposit-python [Computer software]. GitHub repository.

Acknowledgements

Funding for the server component is listed in the Deposit Server acknowledgements.

Contact

Peter Demján (peter.demjan@gmail.com)

Institute of Archaeology of the Czech Academy of Sciences, Prague, v.v.i.

License

Distributed under the MIT License. See the repository’s LICENSE file.

Metadata

Release files for deposit-python 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for deposit-python 2.0.1
File Interpreter ABI Platform Actions
deposit_python-2.0.1-py3-none-any.whl Python 3 none any Details for deposit_python-2.0.1-py3-none-any.whl

Release files / deposit_python-2.0.1-py3-none-any.whl

Download URL deposit_python-2.0.1-py3-none-any.whl
Size 82.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d7d4b3e526a6a19ef8041203d0bf0375896c39d11585cb261db9e16e9d5cd48
BLAKE2b-256 checksum
How to use checksums
b2abee149d289cd6ba87f7f81942a959524fe30a1f281f56f22b3b7e5ec58771
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for deposit-python 2.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page