soldy 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.
- soldy-0.1.0/PKG-INFO +53 -0
- soldy-0.1.0/README.md +27 -0
- soldy-0.1.0/pyproject.toml +46 -0
- soldy-0.1.0/src/soldy/__init__.py +5 -0
- soldy-0.1.0/src/soldy/cli.py +20 -0
- soldy-0.1.0/src/soldy/py.typed +0 -0
soldy-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: soldy
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Minimal append-only dialogue logger.
|
|
5
|
+
Keywords: sold,logging,append-only,dialogue
|
|
6
|
+
Author: nphard001
|
|
7
|
+
Author-email: nphard001 <nphard001@gmail.com>
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
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
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Dist: anyio>=4.0
|
|
18
|
+
Requires-Dist: diskcache>=5.6
|
|
19
|
+
Requires-Dist: click>=8.1
|
|
20
|
+
Requires-Dist: psutil>=5.9
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Project-URL: Homepage, https://github.com/nphard001/soldy
|
|
23
|
+
Project-URL: Repository, https://github.com/nphard001/soldy
|
|
24
|
+
Project-URL: Issues, https://github.com/nphard001/soldy/issues
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# soldy
|
|
28
|
+
|
|
29
|
+
[](https://pypi.org/project/soldy/)
|
|
30
|
+
[](https://pypi.org/project/soldy/)
|
|
31
|
+
[](https://github.com/nphard001/soldy/blob/main/LICENSE)
|
|
32
|
+
|
|
33
|
+
Minimal append-only dialogue logger.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pip install soldy
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
soldy log "Alice" "Hello, world"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
- Python >= 3.10
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
Apache-2.0
|
soldy-0.1.0/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# soldy
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/soldy/)
|
|
4
|
+
[](https://pypi.org/project/soldy/)
|
|
5
|
+
[](https://github.com/nphard001/soldy/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
Minimal append-only dialogue logger.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install soldy
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
soldy log "Alice" "Hello, world"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Requirements
|
|
22
|
+
|
|
23
|
+
- Python >= 3.10
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
Apache-2.0
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "soldy"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Minimal append-only dialogue logger."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
requires-python = ">=3.10"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "nphard001", email = "nphard001@gmail.com" }
|
|
10
|
+
]
|
|
11
|
+
keywords = ["sold", "logging", "append-only", "dialogue"]
|
|
12
|
+
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 3 - Alpha",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Typing :: Typed",
|
|
22
|
+
]
|
|
23
|
+
dependencies = [
|
|
24
|
+
"anyio>=4.0",
|
|
25
|
+
"diskcache>=5.6",
|
|
26
|
+
"click>=8.1",
|
|
27
|
+
"psutil>=5.9",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/nphard001/soldy"
|
|
32
|
+
Repository = "https://github.com/nphard001/soldy"
|
|
33
|
+
Issues = "https://github.com/nphard001/soldy/issues"
|
|
34
|
+
|
|
35
|
+
[project.scripts]
|
|
36
|
+
soldy = "soldy.cli:main"
|
|
37
|
+
|
|
38
|
+
[build-system]
|
|
39
|
+
requires = ["uv_build>=0.11.2,<0.12.0"]
|
|
40
|
+
build-backend = "uv_build"
|
|
41
|
+
|
|
42
|
+
[dependency-groups]
|
|
43
|
+
dev = [
|
|
44
|
+
"pytest>=8.0",
|
|
45
|
+
"ruff>=0.4",
|
|
46
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""soldy CLI — the only interface."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import click
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@click.group()
|
|
9
|
+
@click.version_option()
|
|
10
|
+
def main() -> None:
|
|
11
|
+
"""Minimal append-only dialogue logger."""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@main.command()
|
|
15
|
+
@click.argument("name")
|
|
16
|
+
@click.argument("message")
|
|
17
|
+
def log(name: str, message: str) -> None:
|
|
18
|
+
"""Log what someone said."""
|
|
19
|
+
# TODO: implement actual SOLD write
|
|
20
|
+
click.echo(f"[{name}] {message}")
|
|
File without changes
|