slick-ai 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.
slick_ai-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025
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,78 @@
1
+ Metadata-Version: 2.1
2
+ Name: slick-ai
3
+ Version: 0.1.0
4
+ Summary: Slick: simple agentic AI.
5
+ License: MIT
6
+ Author: Stuart Farmer
7
+ Author-email: stuart@lamden.io
8
+ Requires-Python: >=3.9,<4.0
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Description-Content-Type: text/markdown
16
+
17
+ # slick
18
+
19
+ Slick: a Python library and CLI.
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ pip install slick-ai
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ - Library:
30
+
31
+ ```python
32
+ import slick
33
+ print(slick.__version__)
34
+ ```
35
+
36
+ - CLI:
37
+
38
+ ```bash
39
+ slick --help
40
+ ```
41
+
42
+ ## Development
43
+
44
+ ```bash
45
+ # install dependencies (creates/uses Poetry-managed venv)
46
+ poetry install --with dev
47
+
48
+ # run commands within the venv
49
+ poetry run pytest
50
+ poetry run ruff check .
51
+ poetry run mypy slick
52
+ ```
53
+
54
+ ## Releasing to PyPI
55
+
56
+ 1) Update the version in `pyproject.toml` under `[tool.poetry]`.
57
+
58
+ 2) Build and publish (TestPyPI first is recommended):
59
+
60
+ ```bash
61
+ # build artifacts
62
+ poetry build
63
+
64
+ # publish to TestPyPI
65
+ poetry publish --repository testpypi
66
+
67
+ # when ready, publish to PyPI
68
+ poetry publish
69
+ ```
70
+
71
+ Optionally configure credentials once:
72
+
73
+ ```bash
74
+ poetry config pypi-token.pypi <YOUR_PYPI_TOKEN>
75
+ poetry config repositories.testpypi https://test.pypi.org/legacy/
76
+ poetry config pypi-token.testpypi <YOUR_TEST_PYPI_TOKEN>
77
+ ```
78
+
@@ -0,0 +1,61 @@
1
+ # slick
2
+
3
+ Slick: a Python library and CLI.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install slick-ai
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ - Library:
14
+
15
+ ```python
16
+ import slick
17
+ print(slick.__version__)
18
+ ```
19
+
20
+ - CLI:
21
+
22
+ ```bash
23
+ slick --help
24
+ ```
25
+
26
+ ## Development
27
+
28
+ ```bash
29
+ # install dependencies (creates/uses Poetry-managed venv)
30
+ poetry install --with dev
31
+
32
+ # run commands within the venv
33
+ poetry run pytest
34
+ poetry run ruff check .
35
+ poetry run mypy slick
36
+ ```
37
+
38
+ ## Releasing to PyPI
39
+
40
+ 1) Update the version in `pyproject.toml` under `[tool.poetry]`.
41
+
42
+ 2) Build and publish (TestPyPI first is recommended):
43
+
44
+ ```bash
45
+ # build artifacts
46
+ poetry build
47
+
48
+ # publish to TestPyPI
49
+ poetry publish --repository testpypi
50
+
51
+ # when ready, publish to PyPI
52
+ poetry publish
53
+ ```
54
+
55
+ Optionally configure credentials once:
56
+
57
+ ```bash
58
+ poetry config pypi-token.pypi <YOUR_PYPI_TOKEN>
59
+ poetry config repositories.testpypi https://test.pypi.org/legacy/
60
+ poetry config pypi-token.testpypi <YOUR_TEST_PYPI_TOKEN>
61
+ ```
@@ -0,0 +1,41 @@
1
+ [tool.poetry]
2
+ name = "slick-ai"
3
+ version = "0.1.0"
4
+ description = "Slick: simple agentic AI."
5
+ authors = ["Stuart Farmer <stuart@lamden.io>"]
6
+ readme = "README.md"
7
+ license = "MIT"
8
+ packages = [{ include = "slick" }]
9
+
10
+ [tool.poetry.dependencies]
11
+ python = "^3.9"
12
+
13
+ [tool.poetry.group.dev.dependencies]
14
+ pytest = ">=7"
15
+ ruff = ">=0.4"
16
+ mypy = ">=1.5"
17
+ coverage = ">=7.6"
18
+
19
+ [tool.poetry.scripts]
20
+ slick = "slick.cli:main"
21
+
22
+ [build-system]
23
+ requires = ["poetry-core"]
24
+ build-backend = "poetry.core.masonry.api"
25
+
26
+ [tool.pytest.ini_options]
27
+ minversion = "7.0"
28
+ addopts = "-q"
29
+ testpaths = ["tests"]
30
+
31
+ [tool.ruff]
32
+ line-length = 100
33
+ target-version = "py39"
34
+ select = ["E", "F", "I", "UP", "B", "C4", "RUF"]
35
+
36
+ [tool.mypy]
37
+ python_version = "3.9"
38
+ strict = true
39
+ warn_unused_ignores = true
40
+ warn_redundant_casts = true
41
+ warn_unreachable = true
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ try: # Python 3.8+
4
+ from importlib.metadata import PackageNotFoundError, version
5
+ except Exception: # pragma: no cover
6
+ from importlib_metadata import PackageNotFoundError, version # type: ignore
7
+
8
+ try:
9
+ __version__ = version("slick-ai")
10
+ except PackageNotFoundError: # not installed, e.g., running from source without poetry install
11
+ __version__ = "0.0.0"
12
+
13
+ __all__ = ["__version__"]
@@ -0,0 +1,30 @@
1
+ from __future__ import annotations
2
+
3
+ import argparse
4
+
5
+ from . import __version__
6
+
7
+
8
+ def build_parser() -> argparse.ArgumentParser:
9
+ parser = argparse.ArgumentParser(prog="slick", description="Slick CLI")
10
+ parser.add_argument(
11
+ "--version",
12
+ action="store_true",
13
+ help="Print version and exit",
14
+ )
15
+ return parser
16
+
17
+
18
+ def main() -> None:
19
+ parser = build_parser()
20
+ args = parser.parse_args()
21
+
22
+ if args.version:
23
+ print(__version__)
24
+ return
25
+
26
+ parser.print_help()
27
+
28
+
29
+ if __name__ == "__main__":
30
+ main()
File without changes