Metadata-Version: 2.4
Name: myopenfund-vault-query
Version: 0.1.0
Summary: Read-only queries over the MyOpenFund vault: documents, corpus stats, run health.
Author: Marc Jeulin
Maintainer: Marc Jeulin
License-Expression: MIT
Project-URL: Homepage, https://github.com/MyOpenFund/vault
Project-URL: Source, https://github.com/MyOpenFund/vault
Project-URL: Issues, https://github.com/MyOpenFund/vault/issues
Project-URL: Organization, https://github.com/MyOpenFund
Keywords: myopenfund,vault,postgres
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Intended Audience :: Developers
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psycopg2-binary<3,>=2.9.10
Dynamic: license-file

# myopenfund-vault-query

Created and maintained by [Marc Jeulin](https://github.com/jeulinmarc), part of [MyOpenFund](https://github.com/MyOpenFund).

Read-only queries over the MyOpenFund vault (a PostgreSQL index of corpus manifests): document
search, corpus stats, vocabulary and run health. Every function takes an open psycopg2
connection owned by the caller and never writes. Import name: `vault_query`.

## Install

```bash
pip install myopenfund-vault-query
```

If this environment installed the old distribution (`vault-query`, from a git URL), run
`pip uninstall -y vault-query` before installing `myopenfund-vault-query`: both own the same import package.

To try the latest `master` before a release (dependencies still come from PyPI):

```bash
pip install "myopenfund-vault-query @ git+https://github.com/MyOpenFund/vault#subdirectory=query"
```

### Working across repos

Clone the repos side by side and install this package editable over the PyPI version in the
consumer's environment: `pip install -e ../vault/query`. A consumer change that needs an
unreleased version waits for this package's release before the consumer's PR merges.

Full reference: the "Read queries" section of the
[vault README](https://github.com/MyOpenFund/vault#read-queries-vault-query).
