fastatp 0.0.0a0__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,49 @@
1
+ # Byte-compiled / optimized
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ build/
8
+ dist/
9
+ *.egg-info/
10
+ *.egg
11
+
12
+ # Virtual environments
13
+ .venv/
14
+ venv/
15
+ env/
16
+
17
+ # uv
18
+ # Keep uv.lock checked in (reproducible builds).
19
+ .uv-cache/
20
+
21
+ # Testing / coverage
22
+ .pytest_cache/
23
+ .coverage
24
+ .coverage.*
25
+ htmlcov/
26
+ .tox/
27
+ coverage.xml
28
+
29
+ # Type checkers
30
+ .mypy_cache/
31
+ .ruff_cache/
32
+
33
+ # Editors / IDEs
34
+ .idea/
35
+
36
+ # OS
37
+ .DS_Store
38
+ Thumbs.db
39
+
40
+ # FastATP runtime data
41
+ *.db
42
+ *.sqlite
43
+ *.sqlite3
44
+ .fastatp/
45
+
46
+ # Secrets
47
+ .env
48
+ .env.*
49
+ !.env.example
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WellSmart Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.4
2
+ Name: fastatp
3
+ Version: 0.0.0a0
4
+ Summary: Atproto-flavored signed lexicons for Python: did:web hosting, symmetric peers, Pydantic-based signed records.
5
+ Author: Jacob Lapenna
6
+ License: MIT
7
+ License-File: LICENSE
8
+ Keywords: atproto,did,did-web,jwt,pydantic,signing,starlette
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Topic :: Security :: Cryptography
17
+ Classifier: Topic :: Software Development :: Libraries
18
+ Requires-Python: >=3.11
19
+ Requires-Dist: cryptography
20
+ Requires-Dist: httpx
21
+ Requires-Dist: pydantic>=2.0
22
+ Requires-Dist: pyjwt[crypto]>=2.8
23
+ Requires-Dist: starlette
24
+ Requires-Dist: uvicorn
25
+ Provides-Extra: fastapi
26
+ Requires-Dist: fastapi>=0.100; extra == 'fastapi'
27
+ Provides-Extra: postgres
28
+ Requires-Dist: asyncpg; extra == 'postgres'
29
+ Provides-Extra: sqlite
30
+ Requires-Dist: aiosqlite; extra == 'sqlite'
31
+ Description-Content-Type: text/markdown
32
+
33
+ # FastATP
34
+
35
+ Atproto-flavored signed lexicons for Python — `did:web` hosting, symmetric `Peer` abstraction, Pydantic-based signed records. Designed for OT/IoT, human-to-agent & agent-to-agent communication, edge computing, and anywhere else chained and verifiable signed messages with decentralized identity matter.
36
+
37
+ > **Status:** under active development. The first usable release (**v0.1**) is targeted for 2026. The package on PyPI is a name reservation; it is not yet feature-complete and should not be relied on.
38
+
39
+ ## License
40
+
41
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,9 @@
1
+ # FastATP
2
+
3
+ Atproto-flavored signed lexicons for Python — `did:web` hosting, symmetric `Peer` abstraction, Pydantic-based signed records. Designed for OT/IoT, human-to-agent & agent-to-agent communication, edge computing, and anywhere else chained and verifiable signed messages with decentralized identity matter.
4
+
5
+ > **Status:** under active development. The first usable release (**v0.1**) is targeted for 2026. The package on PyPI is a name reservation; it is not yet feature-complete and should not be relied on.
6
+
7
+ ## License
8
+
9
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,3 @@
1
+ """FastATP — atproto-flavored signed lexicons for Python."""
2
+
3
+ __version__ = "0.0.0a0"
@@ -0,0 +1 @@
1
+ """Key parsing, multibase encoding, JWT signing helpers."""
@@ -0,0 +1 @@
1
+ """DID document, resolution, and server."""
@@ -0,0 +1 @@
1
+ """DIDDocument model + builder."""
@@ -0,0 +1 @@
1
+ """did:web resolution."""
@@ -0,0 +1 @@
1
+ """DIDServer + FastAPI routers."""
@@ -0,0 +1 @@
1
+ """Lexicon base class, NSID registry, canonical serialization."""
@@ -0,0 +1 @@
1
+ """Peer class (sign + verify)."""
@@ -0,0 +1 @@
1
+ Python library for atproto-compatible signed records with did:web identity, symmetric Peer, Pydantic lexicons.
@@ -0,0 +1,95 @@
1
+ [project]
2
+ name = "fastatp"
3
+ version = "0.0.0a0"
4
+ description = "Atproto-flavored signed lexicons for Python: did:web hosting, symmetric peers, Pydantic-based signed records."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = { text = "MIT" }
8
+ authors = [{ name = "Jacob Lapenna" }]
9
+ keywords = [
10
+ "atproto",
11
+ "did",
12
+ "did-web",
13
+ "jwt",
14
+ "signing",
15
+ "pydantic",
16
+ "starlette",
17
+ ]
18
+ classifiers = [
19
+ "Development Status :: 3 - Alpha",
20
+ "Intended Audience :: Developers",
21
+ "License :: OSI Approved :: MIT License",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Topic :: Software Development :: Libraries",
27
+ "Topic :: Security :: Cryptography",
28
+ ]
29
+ dependencies = [
30
+ "starlette",
31
+ "pydantic>=2.0",
32
+ "pyjwt[crypto]>=2.8",
33
+ "cryptography",
34
+ "httpx",
35
+ "uvicorn",
36
+ ]
37
+
38
+ [project.optional-dependencies]
39
+ sqlite = ["aiosqlite"] # convenience backend for dev/small deployments
40
+ postgres = ["asyncpg"] # same pattern, bring your own
41
+ fastapi = ["fastapi>=0.100"]
42
+
43
+ [build-system]
44
+ requires = ["hatchling"]
45
+ build-backend = "hatchling.build"
46
+
47
+ [tool.hatch.build.targets.sdist]
48
+ include = ["fastatp", "README.md", "LICENSE", "pyproject.toml"]
49
+
50
+ [dependency-groups]
51
+ dev = [
52
+ "pytest>=8.0",
53
+ "pytest-asyncio>=0.23",
54
+ "pytest-cov>=5.0",
55
+ "ruff>=0.6",
56
+ "mypy>=1.10",
57
+ "pre-commit>=3.7",
58
+ ]
59
+
60
+ [tool.ruff]
61
+ line-length = 100
62
+ target-version = "py311"
63
+
64
+ [tool.ruff.lint]
65
+ select = [
66
+ "E", # pycodestyle errors
67
+ "W", # pycodestyle warnings
68
+ "F", # pyflakes
69
+ "I", # isort
70
+ "B", # flake8-bugbear
71
+ "UP", # pyupgrade
72
+ "SIM", # flake8-simplify
73
+ "RUF", # ruff-specific
74
+ ]
75
+ ignore = []
76
+
77
+ [tool.ruff.lint.per-file-ignores]
78
+ "tests/**" = ["B"]
79
+
80
+ [tool.mypy]
81
+ python_version = "3.11"
82
+ strict = true
83
+ warn_unused_ignores = true
84
+ warn_redundant_casts = true
85
+ disallow_untyped_defs = true
86
+ disallow_incomplete_defs = true
87
+
88
+ [[tool.mypy.overrides]]
89
+ module = "tests.*"
90
+ disallow_untyped_defs = false
91
+
92
+ [tool.pytest.ini_options]
93
+ testpaths = ["tests"]
94
+ asyncio_mode = "auto"
95
+ addopts = ["--strict-markers", "-ra"]