commonmemo 0.0.1__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.
- commonmemo-0.0.1/.github/workflows/ci.yml +76 -0
- commonmemo-0.0.1/.github/workflows/pages.yml +33 -0
- commonmemo-0.0.1/.github/workflows/release.yml +40 -0
- commonmemo-0.0.1/.gitignore +223 -0
- commonmemo-0.0.1/CHANGELOG.md +717 -0
- commonmemo-0.0.1/LICENSE +201 -0
- commonmemo-0.0.1/PKG-INFO +840 -0
- commonmemo-0.0.1/README.md +796 -0
- commonmemo-0.0.1/docs/adr/0001-storage.md +189 -0
- commonmemo-0.0.1/docs/adr/0002-world-fact-trust.md +76 -0
- commonmemo-0.0.1/docs/adr/0003-procedural-memory.md +113 -0
- commonmemo-0.0.1/docs/adr/0004-history-analytics-and-reversion.md +137 -0
- commonmemo-0.0.1/docs/assets/banner.svg +50 -0
- commonmemo-0.0.1/docs/assets/inspector-review.png +0 -0
- commonmemo-0.0.1/docs/assets/inspector-session.png +0 -0
- commonmemo-0.0.1/docs/benchmarks.md +153 -0
- commonmemo-0.0.1/docs/design.md +821 -0
- commonmemo-0.0.1/docs/evals.md +51 -0
- commonmemo-0.0.1/docs/linkedin-posts.md +87 -0
- commonmemo-0.0.1/docs/live-runs.md +1124 -0
- commonmemo-0.0.1/docs/releasing.md +40 -0
- commonmemo-0.0.1/docs/seeing-what-memory-did.md +123 -0
- commonmemo-0.0.1/evals/__init__.py +17 -0
- commonmemo-0.0.1/evals/__main__.py +30 -0
- commonmemo-0.0.1/evals/agent.py +97 -0
- commonmemo-0.0.1/evals/embedder.py +36 -0
- commonmemo-0.0.1/evals/harness.py +103 -0
- commonmemo-0.0.1/evals/scenarios.py +512 -0
- commonmemo-0.0.1/examples/README.md +20 -0
- commonmemo-0.0.1/examples/google_adk.py +71 -0
- commonmemo-0.0.1/examples/harness_hooks.py +40 -0
- commonmemo-0.0.1/examples/plain_python.py +38 -0
- commonmemo-0.0.1/pages/index.html +95 -0
- commonmemo-0.0.1/pages/review.html +99 -0
- commonmemo-0.0.1/pages/session-support-ada-1.html +95 -0
- commonmemo-0.0.1/pages/session-support-ada-2.html +95 -0
- commonmemo-0.0.1/pages/session-support-bob-1.html +95 -0
- commonmemo-0.0.1/pages/user-ada.html +95 -0
- commonmemo-0.0.1/pages/user-bob.html +95 -0
- commonmemo-0.0.1/pyproject.toml +100 -0
- commonmemo-0.0.1/scripts/bench_said.py +82 -0
- commonmemo-0.0.1/scripts/bench_vectors.py +104 -0
- commonmemo-0.0.1/scripts/bench_workload.py +248 -0
- commonmemo-0.0.1/scripts/build_pages.py +75 -0
- commonmemo-0.0.1/scripts/demo_memory.py +93 -0
- commonmemo-0.0.1/scripts/live_claude_code.py +419 -0
- commonmemo-0.0.1/scripts/live_engines.py +155 -0
- commonmemo-0.0.1/scripts/locomo_benchmark.py +440 -0
- commonmemo-0.0.1/scripts/locomo_enrich.py +260 -0
- commonmemo-0.0.1/scripts/locomo_resolve.py +251 -0
- commonmemo-0.0.1/scripts/locomo_topics.py +318 -0
- commonmemo-0.0.1/src/commonmemo/__init__.py +171 -0
- commonmemo-0.0.1/src/commonmemo/__main__.py +7 -0
- commonmemo-0.0.1/src/commonmemo/agent_tools.py +240 -0
- commonmemo-0.0.1/src/commonmemo/cli.py +158 -0
- commonmemo-0.0.1/src/commonmemo/context.py +284 -0
- commonmemo-0.0.1/src/commonmemo/dates.py +138 -0
- commonmemo-0.0.1/src/commonmemo/engines/__init__.py +44 -0
- commonmemo-0.0.1/src/commonmemo/engines/_ranking.py +44 -0
- commonmemo-0.0.1/src/commonmemo/engines/base.py +128 -0
- commonmemo-0.0.1/src/commonmemo/engines/graphiti.py +337 -0
- commonmemo-0.0.1/src/commonmemo/engines/local.py +316 -0
- commonmemo-0.0.1/src/commonmemo/engines/mem0.py +288 -0
- commonmemo-0.0.1/src/commonmemo/environment.py +348 -0
- commonmemo-0.0.1/src/commonmemo/events.py +543 -0
- commonmemo-0.0.1/src/commonmemo/extraction.py +221 -0
- commonmemo-0.0.1/src/commonmemo/facts.py +219 -0
- commonmemo-0.0.1/src/commonmemo/history.py +366 -0
- commonmemo-0.0.1/src/commonmemo/hookclient.py +114 -0
- commonmemo-0.0.1/src/commonmemo/hooks.py +292 -0
- commonmemo-0.0.1/src/commonmemo/hookserver.py +166 -0
- commonmemo-0.0.1/src/commonmemo/inspector.py +228 -0
- commonmemo-0.0.1/src/commonmemo/inspector_ui.py +487 -0
- commonmemo-0.0.1/src/commonmemo/integrations/__init__.py +2 -0
- commonmemo-0.0.1/src/commonmemo/integrations/commonadk.py +245 -0
- commonmemo-0.0.1/src/commonmemo/knowledge.py +1216 -0
- commonmemo-0.0.1/src/commonmemo/learning.py +333 -0
- commonmemo-0.0.1/src/commonmemo/mcp.py +285 -0
- commonmemo-0.0.1/src/commonmemo/memory.py +985 -0
- commonmemo-0.0.1/src/commonmemo/opencode_plugin.js +96 -0
- commonmemo-0.0.1/src/commonmemo/otel.py +119 -0
- commonmemo-0.0.1/src/commonmemo/procedures.py +330 -0
- commonmemo-0.0.1/src/commonmemo/projections.py +480 -0
- commonmemo-0.0.1/src/commonmemo/ranking.py +144 -0
- commonmemo-0.0.1/src/commonmemo/reins.py +342 -0
- commonmemo-0.0.1/src/commonmemo/resume.py +286 -0
- commonmemo-0.0.1/src/commonmemo/runs.py +49 -0
- commonmemo-0.0.1/src/commonmemo/said.py +251 -0
- commonmemo-0.0.1/src/commonmemo/session.py +541 -0
- commonmemo-0.0.1/src/commonmemo/sqldb.py +228 -0
- commonmemo-0.0.1/src/commonmemo/stores/__init__.py +29 -0
- commonmemo-0.0.1/src/commonmemo/stores/base.py +189 -0
- commonmemo-0.0.1/src/commonmemo/stores/memory.py +199 -0
- commonmemo-0.0.1/src/commonmemo/stores/sql.py +423 -0
- commonmemo-0.0.1/src/commonmemo/stores/sqlite.py +7 -0
- commonmemo-0.0.1/src/commonmemo/tool_memory.py +166 -0
- commonmemo-0.0.1/src/commonmemo/traces.py +160 -0
- commonmemo-0.0.1/src/commonmemo/views.py +218 -0
- commonmemo-0.0.1/tests/conftest.py +74 -0
- commonmemo-0.0.1/tests/fixtures/hooks/README.md +12 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/post-tool-use-failure.json +15 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/post-tool-use.json +20 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/pre-compact.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/session-end.json +8 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/session-start.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/stop.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/claude-code/user-prompt-submit.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/post-tool-use.json +22 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/pre-compact.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/session-end.json +7 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/session-start.json +9 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/stop.json +11 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex/user-prompt-submit.json +10 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/post-tool-use.command.input.json +73 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/post-tool-use.command.output.json +72 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/pre-compact.command.input.json +58 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/session-end.command.input.json +40 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/session-start.command.input.json +61 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/session-start.command.output.json +51 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/stop.command.input.json +63 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/user-prompt-submit.command.input.json +65 -0
- commonmemo-0.0.1/tests/fixtures/hooks/codex-schema/user-prompt-submit.command.output.json +69 -0
- commonmemo-0.0.1/tests/pg/sitecustomize.py +36 -0
- commonmemo-0.0.1/tests/test_agent_tools.py +71 -0
- commonmemo-0.0.1/tests/test_dates.py +136 -0
- commonmemo-0.0.1/tests/test_durability.py +352 -0
- commonmemo-0.0.1/tests/test_engine_contract.py +190 -0
- commonmemo-0.0.1/tests/test_engine_graphiti.py +275 -0
- commonmemo-0.0.1/tests/test_engine_mem0.py +258 -0
- commonmemo-0.0.1/tests/test_environment.py +158 -0
- commonmemo-0.0.1/tests/test_evals.py +26 -0
- commonmemo-0.0.1/tests/test_events.py +63 -0
- commonmemo-0.0.1/tests/test_examples.py +39 -0
- commonmemo-0.0.1/tests/test_extraction.py +152 -0
- commonmemo-0.0.1/tests/test_fact_registry.py +137 -0
- commonmemo-0.0.1/tests/test_history.py +213 -0
- commonmemo-0.0.1/tests/test_hooks.py +364 -0
- commonmemo-0.0.1/tests/test_hookserver.py +95 -0
- commonmemo-0.0.1/tests/test_inspect.py +166 -0
- commonmemo-0.0.1/tests/test_integration_commonadk.py +156 -0
- commonmemo-0.0.1/tests/test_kinds.py +373 -0
- commonmemo-0.0.1/tests/test_learning.py +165 -0
- commonmemo-0.0.1/tests/test_mcp.py +175 -0
- commonmemo-0.0.1/tests/test_memory_flow.py +155 -0
- commonmemo-0.0.1/tests/test_memory_store.py +54 -0
- commonmemo-0.0.1/tests/test_more_available.py +96 -0
- commonmemo-0.0.1/tests/test_otel.py +73 -0
- commonmemo-0.0.1/tests/test_postgres.py +96 -0
- commonmemo-0.0.1/tests/test_procedures.py +271 -0
- commonmemo-0.0.1/tests/test_projections_interface.py +56 -0
- commonmemo-0.0.1/tests/test_ranking.py +133 -0
- commonmemo-0.0.1/tests/test_recap_sharing.py +68 -0
- commonmemo-0.0.1/tests/test_refresh.py +113 -0
- commonmemo-0.0.1/tests/test_reins.py +228 -0
- commonmemo-0.0.1/tests/test_resume.py +150 -0
- commonmemo-0.0.1/tests/test_review.py +146 -0
- commonmemo-0.0.1/tests/test_said.py +479 -0
- commonmemo-0.0.1/tests/test_store_contract.py +231 -0
- commonmemo-0.0.1/tests/test_traces.py +129 -0
- commonmemo-0.0.1/tests/test_track.py +84 -0
- commonmemo-0.0.1/tests/test_world_trust.py +133 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
# core: no extras -- proves the core is stdlib-only (the CommonADK
|
|
4
|
+
# integration test skips itself via pytest.importorskip).
|
|
5
|
+
# commonadk: with the commonadk extra -- runs the integration against
|
|
6
|
+
# CommonADK's real event model and HookRegistry.
|
|
7
|
+
# graphiti: with the graphiti extra -- runs GraphitiBackend against
|
|
8
|
+
# graphiti-core's real types (no graph database or LLM needed).
|
|
9
|
+
# mem0: with the mem0 extra -- binds AsyncMemoryBackend's calls against
|
|
10
|
+
# mem0's real AsyncMemory signatures (no LLM or vector store needed).
|
|
11
|
+
# mcp,otel: drives `commonmemo mcp` over stdio with the official MCP client
|
|
12
|
+
# (the server itself needs no extra), and checks turn traces as OpenTelemetry spans.
|
|
13
|
+
# postgres: the whole suite again with every store, projection and recap index
|
|
14
|
+
# on Postgres 16 (COMMONMEMO_TEST_POSTGRES; see tests/conftest.py), plus the
|
|
15
|
+
# Postgres-only tests (concurrent writer processes, schemas).
|
|
16
|
+
|
|
17
|
+
on:
|
|
18
|
+
push:
|
|
19
|
+
branches: [main]
|
|
20
|
+
pull_request:
|
|
21
|
+
branches: [main]
|
|
22
|
+
|
|
23
|
+
concurrency:
|
|
24
|
+
group: ci-${{ github.ref }}
|
|
25
|
+
cancel-in-progress: true
|
|
26
|
+
|
|
27
|
+
jobs:
|
|
28
|
+
test:
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
strategy:
|
|
31
|
+
fail-fast: false
|
|
32
|
+
matrix:
|
|
33
|
+
python: ["3.10", "3.13"]
|
|
34
|
+
extras: ["dev", "dev,commonadk", "dev,graphiti", "dev,mem0", "dev,mcp,otel"]
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v4
|
|
37
|
+
- uses: actions/setup-python@v5
|
|
38
|
+
with:
|
|
39
|
+
python-version: ${{ matrix.python }}
|
|
40
|
+
- run: pip install -e ".[${{ matrix.extras }}]"
|
|
41
|
+
- run: python -c "import sys, commonmemo, commonmemo.sqldb, commonmemo.stores, commonmemo.engines.graphiti, commonmemo.engines.mem0, commonmemo.mcp, commonmemo.otel, commonmemo.views; assert not any(m.split('.')[0] in ('commonadk', 'graphiti_core', 'mem0', 'mcp', 'opentelemetry', 'psycopg') for m in sys.modules)"
|
|
42
|
+
- run: pytest -q
|
|
43
|
+
# The whole suite again with every Memory reading its projections only through the Projections interface (#52).
|
|
44
|
+
- run: pytest -q
|
|
45
|
+
if: matrix.extras == 'dev'
|
|
46
|
+
env:
|
|
47
|
+
COMMONMEMO_TEST_INTERFACE: "1"
|
|
48
|
+
|
|
49
|
+
postgres:
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
strategy:
|
|
52
|
+
fail-fast: false
|
|
53
|
+
matrix:
|
|
54
|
+
python: ["3.10", "3.13"]
|
|
55
|
+
services:
|
|
56
|
+
postgres:
|
|
57
|
+
image: postgres:16
|
|
58
|
+
env:
|
|
59
|
+
POSTGRES_HOST_AUTH_METHOD: trust
|
|
60
|
+
ports: ["5432:5432"]
|
|
61
|
+
options: >-
|
|
62
|
+
--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 30
|
|
63
|
+
steps:
|
|
64
|
+
- uses: actions/checkout@v4
|
|
65
|
+
- uses: actions/setup-python@v5
|
|
66
|
+
with:
|
|
67
|
+
python-version: ${{ matrix.python }}
|
|
68
|
+
- run: pip install -e ".[dev,postgres]"
|
|
69
|
+
# Tests open many short-lived memories; give the server room.
|
|
70
|
+
- run: |
|
|
71
|
+
psql -h localhost -U postgres -c "ALTER SYSTEM SET max_connections = 1000"
|
|
72
|
+
docker restart ${{ job.services.postgres.id }}
|
|
73
|
+
until pg_isready -h localhost -U postgres; do sleep 1; done
|
|
74
|
+
- run: pytest -q
|
|
75
|
+
env:
|
|
76
|
+
COMMONMEMO_TEST_POSTGRES: postgresql://postgres@localhost:5432/postgres
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: pages
|
|
2
|
+
|
|
3
|
+
# Publishes pages/ (the inspector mockup) to GitHub Pages.
|
|
4
|
+
# One-time setup: Settings -> Pages -> Build and deployment -> Source: "GitHub Actions".
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
paths: ["pages/**", ".github/workflows/pages.yml"]
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
pages: write
|
|
14
|
+
id-token: write
|
|
15
|
+
|
|
16
|
+
concurrency:
|
|
17
|
+
group: pages
|
|
18
|
+
cancel-in-progress: true
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
deploy:
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
environment:
|
|
24
|
+
name: github-pages
|
|
25
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
- uses: actions/configure-pages@v5
|
|
29
|
+
- uses: actions/upload-pages-artifact@v3
|
|
30
|
+
with:
|
|
31
|
+
path: pages
|
|
32
|
+
- id: deployment
|
|
33
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Publishes to PyPI when a GitHub release is published, through PyPI trusted publishing (OIDC): no token is
|
|
2
|
+
# stored anywhere. Inert until the project is registered on PyPI as described in docs/releasing.md (#103).
|
|
3
|
+
name: release
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
release:
|
|
7
|
+
types: [published]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-python@v5
|
|
15
|
+
with:
|
|
16
|
+
python-version: "3.13"
|
|
17
|
+
- run: pip install build twine
|
|
18
|
+
- name: The tag names the version being built
|
|
19
|
+
run: |
|
|
20
|
+
version=$(python -c "import re; print(re.search(r'^version = \"(.+)\"', open('pyproject.toml').read(), re.M).group(1))")
|
|
21
|
+
test "v$version" = "$GITHUB_REF_NAME" || { echo "tag $GITHUB_REF_NAME is not v$version (pyproject.toml)"; exit 1; }
|
|
22
|
+
- run: python -m build
|
|
23
|
+
- run: twine check dist/*
|
|
24
|
+
- uses: actions/upload-artifact@v4
|
|
25
|
+
with:
|
|
26
|
+
name: dist
|
|
27
|
+
path: dist/
|
|
28
|
+
|
|
29
|
+
publish:
|
|
30
|
+
needs: build
|
|
31
|
+
runs-on: ubuntu-latest
|
|
32
|
+
environment: pypi
|
|
33
|
+
permissions:
|
|
34
|
+
id-token: write
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/download-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: dist
|
|
39
|
+
path: dist/
|
|
40
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
*.lcov
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
cover/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
local_settings.py
|
|
62
|
+
db.sqlite3
|
|
63
|
+
db.sqlite3-journal
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
.pybuilder/
|
|
77
|
+
target/
|
|
78
|
+
|
|
79
|
+
# Jupyter Notebook
|
|
80
|
+
.ipynb_checkpoints
|
|
81
|
+
|
|
82
|
+
# IPython
|
|
83
|
+
profile_default/
|
|
84
|
+
ipython_config.py
|
|
85
|
+
|
|
86
|
+
# pyenv
|
|
87
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
89
|
+
# .python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
# Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# uv
|
|
99
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
100
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
101
|
+
# commonly ignored for libraries.
|
|
102
|
+
# uv.lock
|
|
103
|
+
|
|
104
|
+
# poetry
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
106
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
107
|
+
# commonly ignored for libraries.
|
|
108
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
109
|
+
# poetry.lock
|
|
110
|
+
# poetry.toml
|
|
111
|
+
|
|
112
|
+
# pdm
|
|
113
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
114
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
115
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
116
|
+
# pdm.lock
|
|
117
|
+
# pdm.toml
|
|
118
|
+
.pdm-python
|
|
119
|
+
.pdm-build/
|
|
120
|
+
|
|
121
|
+
# pixi
|
|
122
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
123
|
+
# pixi.lock
|
|
124
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
125
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
126
|
+
.pixi/*
|
|
127
|
+
!.pixi/config.toml
|
|
128
|
+
|
|
129
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
130
|
+
__pypackages__/
|
|
131
|
+
|
|
132
|
+
# Celery stuff
|
|
133
|
+
celerybeat-schedule*
|
|
134
|
+
celerybeat.pid
|
|
135
|
+
|
|
136
|
+
# Redis
|
|
137
|
+
*.rdb
|
|
138
|
+
*.aof
|
|
139
|
+
*.pid
|
|
140
|
+
|
|
141
|
+
# RabbitMQ
|
|
142
|
+
mnesia/
|
|
143
|
+
rabbitmq/
|
|
144
|
+
rabbitmq-data/
|
|
145
|
+
|
|
146
|
+
# ActiveMQ
|
|
147
|
+
activemq-data/
|
|
148
|
+
|
|
149
|
+
# SageMath parsed files
|
|
150
|
+
*.sage.py
|
|
151
|
+
|
|
152
|
+
# Environments
|
|
153
|
+
.env
|
|
154
|
+
.envrc
|
|
155
|
+
.venv
|
|
156
|
+
env/
|
|
157
|
+
venv/
|
|
158
|
+
ENV/
|
|
159
|
+
env.bak/
|
|
160
|
+
venv.bak/
|
|
161
|
+
|
|
162
|
+
# Spyder project settings
|
|
163
|
+
.spyderproject
|
|
164
|
+
.spyproject
|
|
165
|
+
|
|
166
|
+
# Rope project settings
|
|
167
|
+
.ropeproject
|
|
168
|
+
|
|
169
|
+
# mkdocs/Zensical documentation
|
|
170
|
+
/site
|
|
171
|
+
|
|
172
|
+
# mypy
|
|
173
|
+
.mypy_cache/
|
|
174
|
+
.dmypy.json
|
|
175
|
+
dmypy.json
|
|
176
|
+
|
|
177
|
+
# Pyre type checker
|
|
178
|
+
.pyre/
|
|
179
|
+
|
|
180
|
+
# pytype static type analyzer
|
|
181
|
+
.pytype/
|
|
182
|
+
|
|
183
|
+
# Cython debug symbols
|
|
184
|
+
cython_debug/
|
|
185
|
+
|
|
186
|
+
# PyCharm
|
|
187
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
188
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
189
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
190
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
191
|
+
# .idea/
|
|
192
|
+
|
|
193
|
+
# Abstra
|
|
194
|
+
# Abstra is an AI-powered process automation framework.
|
|
195
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
196
|
+
# Learn more at https://abstra.io/docs
|
|
197
|
+
.abstra/
|
|
198
|
+
|
|
199
|
+
# Visual Studio Code
|
|
200
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
|
|
201
|
+
# can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
202
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer, you
|
|
203
|
+
# could uncomment the following to ignore the entire vscode folder
|
|
204
|
+
# .vscode/
|
|
205
|
+
# Temporary file for partial code execution
|
|
206
|
+
tempCodeRunnerFile.py
|
|
207
|
+
|
|
208
|
+
# Ruff stuff:
|
|
209
|
+
.ruff_cache/
|
|
210
|
+
|
|
211
|
+
# PyPI configuration file
|
|
212
|
+
.pypirc
|
|
213
|
+
|
|
214
|
+
# Marimo
|
|
215
|
+
marimo/_static/
|
|
216
|
+
marimo/_lsp/
|
|
217
|
+
__marimo__/
|
|
218
|
+
|
|
219
|
+
# Streamlit
|
|
220
|
+
.streamlit/secrets.toml
|
|
221
|
+
|
|
222
|
+
# CommonMemo local stores
|
|
223
|
+
*.db
|