astrocyte-stack 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Node (Starlight in docs/)
|
|
2
|
+
node_modules/
|
|
3
|
+
.pnpm-store/
|
|
4
|
+
docs/.astro/
|
|
5
|
+
|
|
6
|
+
# Generated by docs/scripts/fetch-pypi-pins.mjs (recreated on every pnpm dev/build)
|
|
7
|
+
docs/src/data/pypi-install-pins.json
|
|
8
|
+
|
|
9
|
+
# Generated by docs/scripts/sync-docs.mjs (recreated on every pnpm dev/build)
|
|
10
|
+
docs/src/content/docs/introduction.md
|
|
11
|
+
docs/src/content/docs/design/
|
|
12
|
+
docs/src/content/docs/plugins/
|
|
13
|
+
docs/src/content/docs/end-user/
|
|
14
|
+
docs/src/content/docs/tutorials/
|
|
15
|
+
|
|
16
|
+
# Claude Code
|
|
17
|
+
.claude/
|
|
18
|
+
|
|
19
|
+
# OS
|
|
20
|
+
.DS_Store
|
|
21
|
+
|
|
22
|
+
# Local reference material (not tracked)
|
|
23
|
+
references/
|
|
24
|
+
|
|
25
|
+
# nWave feature artifacts (per-feature discover/deliver, roadmaps, execution logs).
|
|
26
|
+
# Intended to be a separate private worktree or nested git repo; not part of public Astrocyte.
|
|
27
|
+
docs/feature/
|
|
28
|
+
|
|
29
|
+
# Python
|
|
30
|
+
__pycache__/
|
|
31
|
+
*.py[cod]
|
|
32
|
+
*$py.class
|
|
33
|
+
.venv/
|
|
34
|
+
venv/
|
|
35
|
+
.env
|
|
36
|
+
.env.*
|
|
37
|
+
!.env.example
|
|
38
|
+
*.egg-info/
|
|
39
|
+
.eggs/
|
|
40
|
+
dist/
|
|
41
|
+
build/
|
|
42
|
+
.pytest_cache/
|
|
43
|
+
.mypy_cache/
|
|
44
|
+
.ruff_cache/
|
|
45
|
+
.coverage
|
|
46
|
+
htmlcov/
|
|
47
|
+
benchmark-results/
|
|
48
|
+
datasets/
|
|
49
|
+
|
|
50
|
+
# Rust
|
|
51
|
+
target/
|
|
52
|
+
|
|
53
|
+
# IDE (optional)
|
|
54
|
+
.idea/
|
|
55
|
+
astrocyte-py/logs/
|
|
56
|
+
astrocyte-py/logs/ # if not already there
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: astrocyte-stack
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Convenience meta-package: pulls Astrocyte's default production stack (astrocyte + astrocyte-postgres).
|
|
5
|
+
Project-URL: Homepage, https://github.com/AstrocyteAI/astrocyte
|
|
6
|
+
Project-URL: Documentation, https://AstrocyteAI.github.io/astrocyte/
|
|
7
|
+
Project-URL: Source, https://github.com/AstrocyteAI/astrocyte
|
|
8
|
+
Project-URL: Issues, https://github.com/AstrocyteAI/astrocyte/issues
|
|
9
|
+
Author-email: Calvin Cheng <linchuan.cheng@gmail.com>
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
Keywords: agent-memory,astrocyte,meta-package
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Requires-Dist: astrocyte[default]<2,>=0.13.1
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# astrocyte-stack
|
|
24
|
+
|
|
25
|
+
Convenience meta-package for Astrocyte's default production stack.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install astrocyte-stack
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
That's it. Equivalent to:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install "astrocyte[default]"
|
|
35
|
+
# which itself resolves to:
|
|
36
|
+
pip install astrocyte astrocyte-postgres
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Why a separate package
|
|
40
|
+
|
|
41
|
+
`astrocyte-stack` exists so the recommended install is one short copy-paste,
|
|
42
|
+
not three packages or a square-bracket extras string. The trade-off:
|
|
43
|
+
|
|
44
|
+
- Library / framework consumers (`pip install astrocyte`) get a thin install
|
|
45
|
+
with only the SPI types and in-memory backends. ~11 packages.
|
|
46
|
+
- Production / quick-start consumers (`pip install astrocyte-stack`) get the
|
|
47
|
+
Postgres-backed brain that the docs assume. ~18 packages.
|
|
48
|
+
- The default stack can evolve (e.g. swapping the default vector backend
|
|
49
|
+
later) without `astrocyte` itself growing dependencies.
|
|
50
|
+
|
|
51
|
+
## What's inside
|
|
52
|
+
|
|
53
|
+
Only a dependency declaration. There is no `astrocyte_stack` Python API.
|
|
54
|
+
For actual usage, `import astrocyte` — see
|
|
55
|
+
[the quick-start](https://AstrocyteAI.github.io/astrocyte/end-user/quick-start/).
|
|
56
|
+
|
|
57
|
+
## Choosing a different default
|
|
58
|
+
|
|
59
|
+
If you want a non-Postgres backend, install `astrocyte` directly with the
|
|
60
|
+
relevant per-adapter extra:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
pip install "astrocyte[qdrant]" # Qdrant vector store
|
|
64
|
+
pip install "astrocyte[neo4j]" # Neo4j graph store
|
|
65
|
+
pip install "astrocyte[elasticsearch]" # Elasticsearch document store
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Or browse the [ecosystem and packaging guide](https://AstrocyteAI.github.io/astrocyte/plugins/ecosystem-and-packaging/)
|
|
69
|
+
for the full matrix of optional dependencies.
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
Apache-2.0. See [LICENSE](../../LICENSE).
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# astrocyte-stack
|
|
2
|
+
|
|
3
|
+
Convenience meta-package for Astrocyte's default production stack.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install astrocyte-stack
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
That's it. Equivalent to:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install "astrocyte[default]"
|
|
13
|
+
# which itself resolves to:
|
|
14
|
+
pip install astrocyte astrocyte-postgres
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Why a separate package
|
|
18
|
+
|
|
19
|
+
`astrocyte-stack` exists so the recommended install is one short copy-paste,
|
|
20
|
+
not three packages or a square-bracket extras string. The trade-off:
|
|
21
|
+
|
|
22
|
+
- Library / framework consumers (`pip install astrocyte`) get a thin install
|
|
23
|
+
with only the SPI types and in-memory backends. ~11 packages.
|
|
24
|
+
- Production / quick-start consumers (`pip install astrocyte-stack`) get the
|
|
25
|
+
Postgres-backed brain that the docs assume. ~18 packages.
|
|
26
|
+
- The default stack can evolve (e.g. swapping the default vector backend
|
|
27
|
+
later) without `astrocyte` itself growing dependencies.
|
|
28
|
+
|
|
29
|
+
## What's inside
|
|
30
|
+
|
|
31
|
+
Only a dependency declaration. There is no `astrocyte_stack` Python API.
|
|
32
|
+
For actual usage, `import astrocyte` — see
|
|
33
|
+
[the quick-start](https://AstrocyteAI.github.io/astrocyte/end-user/quick-start/).
|
|
34
|
+
|
|
35
|
+
## Choosing a different default
|
|
36
|
+
|
|
37
|
+
If you want a non-Postgres backend, install `astrocyte` directly with the
|
|
38
|
+
relevant per-adapter extra:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
pip install "astrocyte[qdrant]" # Qdrant vector store
|
|
42
|
+
pip install "astrocyte[neo4j]" # Neo4j graph store
|
|
43
|
+
pip install "astrocyte[elasticsearch]" # Elasticsearch document store
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Or browse the [ecosystem and packaging guide](https://AstrocyteAI.github.io/astrocyte/plugins/ecosystem-and-packaging/)
|
|
47
|
+
for the full matrix of optional dependencies.
|
|
48
|
+
|
|
49
|
+
## License
|
|
50
|
+
|
|
51
|
+
Apache-2.0. See [LICENSE](../../LICENSE).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "astrocyte-stack"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Convenience meta-package: pulls Astrocyte's default production stack (astrocyte + astrocyte-postgres)."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "Apache-2.0"
|
|
11
|
+
requires-python = ">=3.11"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Calvin Cheng", email = "linchuan.cheng@gmail.com" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["astrocyte", "agent-memory", "meta-package"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"License :: OSI Approved :: Apache Software License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
# This package has no Python code of its own. It exists so that
|
|
27
|
+
# ``pip install astrocyte-stack`` is the one-liner for the recommended
|
|
28
|
+
# "just works" install, equivalent to ``pip install astrocyte[default]``.
|
|
29
|
+
# Defined here as a separate package (rather than only as an extra) so:
|
|
30
|
+
# - the install command is shorter and easier to copy from docs
|
|
31
|
+
# - the default stack can evolve without ``astrocyte`` itself adding
|
|
32
|
+
# deps (e.g. flipping the default vector backend in 18 months changes
|
|
33
|
+
# this file, not ``astrocyte``)
|
|
34
|
+
# - dependency-pinning consumers can ``astrocyte-stack==X.Y.Z`` to lock
|
|
35
|
+
# the whole stack at once
|
|
36
|
+
dependencies = [
|
|
37
|
+
"astrocyte[default]>=0.13.1,<2",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[project.urls]
|
|
41
|
+
Homepage = "https://github.com/AstrocyteAI/astrocyte"
|
|
42
|
+
Documentation = "https://AstrocyteAI.github.io/astrocyte/"
|
|
43
|
+
Source = "https://github.com/AstrocyteAI/astrocyte"
|
|
44
|
+
Issues = "https://github.com/AstrocyteAI/astrocyte/issues"
|
|
45
|
+
|
|
46
|
+
# Source layout: empty src/ tree. Hatchling needs *something* to package;
|
|
47
|
+
# an empty Python module ``astrocyte_stack/__init__.py`` satisfies that.
|
|
48
|
+
[tool.hatch.build.targets.wheel]
|
|
49
|
+
packages = ["src/astrocyte_stack"]
|
|
50
|
+
|
|
51
|
+
# Local-dev source resolution — only used by ``uv sync`` inside this repo.
|
|
52
|
+
# Drops out of the published wheel.
|
|
53
|
+
[tool.uv.sources]
|
|
54
|
+
astrocyte = { path = "../../astrocyte-py", editable = true }
|
|
55
|
+
|
|
56
|
+
[tool.ruff]
|
|
57
|
+
line-length = 100
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""astrocyte-stack — convenience meta-package.
|
|
2
|
+
|
|
3
|
+
This module exists only so the wheel has something to install. The
|
|
4
|
+
real value of ``pip install astrocyte-stack`` is the dependency
|
|
5
|
+
declaration in ``pyproject.toml`` that pulls
|
|
6
|
+
``astrocyte[default]`` (= ``astrocyte`` + ``astrocyte-postgres``).
|
|
7
|
+
|
|
8
|
+
For library use, ``import astrocyte`` directly — there is no
|
|
9
|
+
``astrocyte_stack`` API to call.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
__version__ = "0.1.0"
|