attas 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.
- attas-0.0.1/PKG-INFO +51 -0
- attas-0.0.1/README.md +34 -0
- attas-0.0.1/pyproject.toml +32 -0
- attas-0.0.1/setup.cfg +4 -0
- attas-0.0.1/src/attas/__init__.py +7 -0
- attas-0.0.1/src/attas/__main__.py +6 -0
- attas-0.0.1/src/attas/cli.py +31 -0
- attas-0.0.1/src/attas/core.py +24 -0
- attas-0.0.1/src/attas.egg-info/PKG-INFO +51 -0
- attas-0.0.1/src/attas.egg-info/SOURCES.txt +11 -0
- attas-0.0.1/src/attas.egg-info/dependency_links.txt +1 -0
- attas-0.0.1/src/attas.egg-info/entry_points.txt +2 -0
- attas-0.0.1/src/attas.egg-info/top_level.txt +1 -0
attas-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: attas
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Bootstrap package for the future Attas release.
|
|
5
|
+
License: MIT
|
|
6
|
+
Classifier: Development Status :: 3 - Alpha
|
|
7
|
+
Classifier: Intended Audience :: Developers
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# attas
|
|
19
|
+
|
|
20
|
+
`attas` is a tiny bootstrap package that reserves the project name on PyPI
|
|
21
|
+
while the fuller Attas release is being prepared.
|
|
22
|
+
|
|
23
|
+
It includes:
|
|
24
|
+
|
|
25
|
+
- a small importable Python API
|
|
26
|
+
- a simple CLI entry point
|
|
27
|
+
- basic project metadata for future iteration
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
python -m pip install attas
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quickstart
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
from attas import describe, hello
|
|
39
|
+
|
|
40
|
+
print(describe())
|
|
41
|
+
print(hello("developer"))
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## CLI
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
attas
|
|
48
|
+
attas --name developer
|
|
49
|
+
attas --json
|
|
50
|
+
```
|
|
51
|
+
|
attas-0.0.1/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# attas
|
|
2
|
+
|
|
3
|
+
`attas` is a tiny bootstrap package that reserves the project name on PyPI
|
|
4
|
+
while the fuller Attas release is being prepared.
|
|
5
|
+
|
|
6
|
+
It includes:
|
|
7
|
+
|
|
8
|
+
- a small importable Python API
|
|
9
|
+
- a simple CLI entry point
|
|
10
|
+
- basic project metadata for future iteration
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
python -m pip install attas
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Quickstart
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from attas import describe, hello
|
|
22
|
+
|
|
23
|
+
print(describe())
|
|
24
|
+
print(hello("developer"))
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## CLI
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
attas
|
|
31
|
+
attas --name developer
|
|
32
|
+
attas --json
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=69", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "attas"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Bootstrap package for the future Attas release."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Development Status :: 3 - Alpha",
|
|
14
|
+
"Intended Audience :: Developers",
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
18
|
+
"Programming Language :: Python :: 3.10",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Programming Language :: Python :: 3.13",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.scripts]
|
|
25
|
+
attas = "attas.cli:main"
|
|
26
|
+
|
|
27
|
+
[tool.setuptools]
|
|
28
|
+
package-dir = { "" = "src" }
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.packages.find]
|
|
31
|
+
where = ["src"]
|
|
32
|
+
|
attas-0.0.1/setup.cfg
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
import json
|
|
3
|
+
|
|
4
|
+
from .core import describe, hello
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
8
|
+
parser = argparse.ArgumentParser(description="Minimal CLI for the attas package.")
|
|
9
|
+
parser.add_argument("--name", default="world", help="Name to greet.")
|
|
10
|
+
parser.add_argument(
|
|
11
|
+
"--json",
|
|
12
|
+
action="store_true",
|
|
13
|
+
help="Print project metadata as JSON instead of text.",
|
|
14
|
+
)
|
|
15
|
+
return parser
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> int:
|
|
19
|
+
args = build_parser().parse_args()
|
|
20
|
+
identity = describe()
|
|
21
|
+
if args.json:
|
|
22
|
+
print(json.dumps(identity.to_dict(), indent=2, sort_keys=True))
|
|
23
|
+
else:
|
|
24
|
+
print(hello(args.name))
|
|
25
|
+
print(f"{identity.name} {identity.version}: {identity.summary}")
|
|
26
|
+
return 0
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
if __name__ == "__main__":
|
|
30
|
+
raise SystemExit(main())
|
|
31
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from dataclasses import asdict, dataclass
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@dataclass(frozen=True)
|
|
5
|
+
class AppIdentity:
|
|
6
|
+
name: str
|
|
7
|
+
version: str
|
|
8
|
+
summary: str
|
|
9
|
+
|
|
10
|
+
def to_dict(self) -> dict[str, str]:
|
|
11
|
+
return asdict(self)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def describe() -> AppIdentity:
|
|
15
|
+
return AppIdentity(
|
|
16
|
+
name="attas",
|
|
17
|
+
version="0.0.1",
|
|
18
|
+
summary="A bootstrap package for the future Attas release.",
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def hello(name: str = "world") -> str:
|
|
23
|
+
return f"Hello, {name}. attas is staged for future releases."
|
|
24
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: attas
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Bootstrap package for the future Attas release.
|
|
5
|
+
License: MIT
|
|
6
|
+
Classifier: Development Status :: 3 - Alpha
|
|
7
|
+
Classifier: Intended Audience :: Developers
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# attas
|
|
19
|
+
|
|
20
|
+
`attas` is a tiny bootstrap package that reserves the project name on PyPI
|
|
21
|
+
while the fuller Attas release is being prepared.
|
|
22
|
+
|
|
23
|
+
It includes:
|
|
24
|
+
|
|
25
|
+
- a small importable Python API
|
|
26
|
+
- a simple CLI entry point
|
|
27
|
+
- basic project metadata for future iteration
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
python -m pip install attas
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quickstart
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
from attas import describe, hello
|
|
39
|
+
|
|
40
|
+
print(describe())
|
|
41
|
+
print(hello("developer"))
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## CLI
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
attas
|
|
48
|
+
attas --name developer
|
|
49
|
+
attas --json
|
|
50
|
+
```
|
|
51
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
src/attas/__init__.py
|
|
4
|
+
src/attas/__main__.py
|
|
5
|
+
src/attas/cli.py
|
|
6
|
+
src/attas/core.py
|
|
7
|
+
src/attas.egg-info/PKG-INFO
|
|
8
|
+
src/attas.egg-info/SOURCES.txt
|
|
9
|
+
src/attas.egg-info/dependency_links.txt
|
|
10
|
+
src/attas.egg-info/entry_points.txt
|
|
11
|
+
src/attas.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
attas
|