Metadata-Version: 2.5
Name: grantstamp-server
Version: 0.2.0
Summary: The Grantstamp registry server: stores owners' stamps and answers AI agents' ownership checks.
Project-URL: Homepage, https://grantstamp.io
Project-URL: Documentation, https://grantstamp.io/docs/latest/run-a-registry.html
Project-URL: Source, https://github.com/grantstamp/grantstamp/tree/main/server
Project-URL: Issues, https://github.com/grantstamp/grantstamp/issues
Author: Grantstamp contributors
License-Expression: AGPL-3.0-only
License-File: LICENSE
Keywords: ai-agents,fastapi,ownership,provenance,registry
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Topic :: Security
Requires-Python: >=3.10
Requires-Dist: fastapi>=0.110
Requires-Dist: grantstamp==0.2.0
Requires-Dist: segno>=1.5
Requires-Dist: uvicorn[standard]>=0.29
Provides-Extra: images
Requires-Dist: pillow>=10; extra == 'images'
Provides-Extra: postgres
Requires-Dist: psycopg[binary]>=3.1; extra == 'postgres'
Description-Content-Type: text/markdown

# grantstamp-server

The Grantstamp registry server. It stores owners' stamps (fingerprints, policy and contact), answers AI agents' ownership checks, signs receipts, and keeps the transparency log.

```bash
pip install grantstamp-server              # SQLite by default
pip install "grantstamp-server[postgres]"  # Postgres support
grantstamp serve --host 0.0.0.0 --port 8000 --db sqlite:///grantstamp.db
```

Or run the Docker image from the repository root, or `uvicorn --factory grantstamp_server.app:app_factory`. Configuration is read from `GRANTSTAMP_*` environment variables (see `config.py`).

## Licence

This package is licensed under the **GNU Affero General Public License, version 3 only** (AGPL-3.0-only); see [LICENSE](LICENSE). If you run a modified version of this server for other people over a network, you must offer them the source of your modified version.

The client library, CLI, MCP server, agent hook and browser checker are a separate package, [`grantstamp`](https://pypi.org/project/grantstamp/), under Apache-2.0. Agents and tools that only check the registry need only that package, and the AGPL does not apply to them.

"Grantstamp" is a trademark of the project owner. Neither licence grants trademark rights; see [TRADEMARK.md](../TRADEMARK.md). Run modified forks under a different name.
