simplicio-installer 1.0.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.
- simplicio_installer-1.0.0/PKG-INFO +32 -0
- simplicio_installer-1.0.0/README.md +21 -0
- simplicio_installer-1.0.0/pyproject.toml +19 -0
- simplicio_installer-1.0.0/setup.cfg +4 -0
- simplicio_installer-1.0.0/setup.py +3 -0
- simplicio_installer-1.0.0/simplicio/__init__.py +7 -0
- simplicio_installer-1.0.0/simplicio/__main__.py +84 -0
- simplicio_installer-1.0.0/simplicio_installer.egg-info/PKG-INFO +32 -0
- simplicio_installer-1.0.0/simplicio_installer.egg-info/SOURCES.txt +10 -0
- simplicio_installer-1.0.0/simplicio_installer.egg-info/dependency_links.txt +1 -0
- simplicio_installer-1.0.0/simplicio_installer.egg-info/entry_points.txt +2 -0
- simplicio_installer-1.0.0/simplicio_installer.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: simplicio-installer
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Simplicio — AI coding agent that saves up to 96% on tokens
|
|
5
|
+
License: Proprietary
|
|
6
|
+
Project-URL: Homepage, https://simpleti.com.br/simplicio/#start
|
|
7
|
+
Project-URL: Source, https://github.com/wesleysimplicio/simplicio
|
|
8
|
+
Keywords: ai,coding-agent,cli,token-savings
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# Simplicio — AI Coding Agent
|
|
13
|
+
|
|
14
|
+
Save up to 96% on AI tokens. Single binary, runs on your machine.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install simplicio
|
|
20
|
+
simplicio install
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Then use:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
simplicio chat "build a login endpoint and test until it passes"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- Website: https://simpleti.com.br/simplicio/
|
|
32
|
+
- GitHub: https://github.com/wesleysimplicio/simplicio
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Simplicio — AI Coding Agent
|
|
2
|
+
|
|
3
|
+
Save up to 96% on AI tokens. Single binary, runs on your machine.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install simplicio
|
|
9
|
+
simplicio install
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Then use:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
simplicio chat "build a login endpoint and test until it passes"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Links
|
|
19
|
+
|
|
20
|
+
- Website: https://simpleti.com.br/simplicio/
|
|
21
|
+
- GitHub: https://github.com/wesleysimplicio/simplicio
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "simplicio-installer"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Simplicio — AI coding agent that saves up to 96% on tokens"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.7"
|
|
11
|
+
license = {text = "Proprietary"}
|
|
12
|
+
keywords = ["ai", "coding-agent", "cli", "token-savings"]
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://simpleti.com.br/simplicio/#start"
|
|
16
|
+
Source = "https://github.com/wesleysimplicio/simplicio"
|
|
17
|
+
|
|
18
|
+
[project.scripts]
|
|
19
|
+
simplicio = "simplicio:main"
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Simplicio CLI entry point.
|
|
3
|
+
|
|
4
|
+
'pip install simplicio && simplicio install' downloads and installs the real binary.
|
|
5
|
+
All other commands are delegated to the binary.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import subprocess
|
|
11
|
+
import sys
|
|
12
|
+
import os
|
|
13
|
+
import platform
|
|
14
|
+
import urllib.request
|
|
15
|
+
import json
|
|
16
|
+
import tarfile
|
|
17
|
+
import io
|
|
18
|
+
import shutil
|
|
19
|
+
|
|
20
|
+
INSTALL_DIR = os.path.expanduser("~/.simplicio/bin")
|
|
21
|
+
BINARY_NAME = "simplicio" + (".exe" if platform.system() == "Windows" else "")
|
|
22
|
+
BINARY_PATH = os.path.join(INSTALL_DIR, BINARY_NAME)
|
|
23
|
+
|
|
24
|
+
def do_install() -> None:
|
|
25
|
+
"""Download and install the Simplicio binary."""
|
|
26
|
+
print("⚡ Installing Simplicio...")
|
|
27
|
+
os.makedirs(INSTALL_DIR, exist_ok=True)
|
|
28
|
+
|
|
29
|
+
# Detect arch
|
|
30
|
+
arch_map = {"x86_64": "x86_64", "aarch64": "arm64", "arm64": "arm64"}
|
|
31
|
+
machine = platform.machine().lower()
|
|
32
|
+
arch = arch_map.get(machine, machine)
|
|
33
|
+
|
|
34
|
+
sys_map = {"Darwin": "apple-darwin", "Linux": "unknown-linux-gnu"}
|
|
35
|
+
os_name = sys_map.get(platform.system(), platform.system().lower())
|
|
36
|
+
|
|
37
|
+
url = f"https://github.com/wesleysimplicio/simplicio/releases/latest/download/simplicio-{arch}-{os_name}.tar.gz"
|
|
38
|
+
|
|
39
|
+
print(f" Downloading {url}...")
|
|
40
|
+
try:
|
|
41
|
+
resp = urllib.request.urlopen(url)
|
|
42
|
+
data = resp.read()
|
|
43
|
+
except Exception as e:
|
|
44
|
+
print(f" Download failed: {e}")
|
|
45
|
+
print(" Falling back to install.sh...")
|
|
46
|
+
subprocess.run(
|
|
47
|
+
"curl -fsSL https://raw.githubusercontent.com/wesleysimplicio/simplicio/main/install.sh | sh",
|
|
48
|
+
shell=True, check=True
|
|
49
|
+
)
|
|
50
|
+
return
|
|
51
|
+
|
|
52
|
+
# Extract binary
|
|
53
|
+
with tarfile.open(fileobj=io.BytesIO(data)) as tar:
|
|
54
|
+
for member in tar.getmembers():
|
|
55
|
+
if member.name.endswith("/simplicio") or member.name == "simplicio":
|
|
56
|
+
tar.extract(member, INSTALL_DIR)
|
|
57
|
+
extracted = os.path.join(INSTALL_DIR, member.name)
|
|
58
|
+
if extracted != BINARY_PATH:
|
|
59
|
+
shutil.move(extracted, BINARY_PATH)
|
|
60
|
+
break
|
|
61
|
+
|
|
62
|
+
os.chmod(BINARY_PATH, 0o755)
|
|
63
|
+
print(f"✅ Installed at {BINARY_PATH}")
|
|
64
|
+
print(" Run 'simplicio --help' to get started.")
|
|
65
|
+
|
|
66
|
+
def main():
|
|
67
|
+
args = sys.argv[1:]
|
|
68
|
+
|
|
69
|
+
if not args or args[0] == "install":
|
|
70
|
+
do_install()
|
|
71
|
+
return
|
|
72
|
+
|
|
73
|
+
# If binary exists, delegate
|
|
74
|
+
if os.path.exists(BINARY_PATH):
|
|
75
|
+
try:
|
|
76
|
+
subprocess.run([BINARY_PATH] + args, check=True)
|
|
77
|
+
except subprocess.CalledProcessError as e:
|
|
78
|
+
sys.exit(e.returncode)
|
|
79
|
+
else:
|
|
80
|
+
print("Simplicio is not installed. Run 'simplicio install' first.")
|
|
81
|
+
sys.exit(1)
|
|
82
|
+
|
|
83
|
+
if __name__ == "__main__":
|
|
84
|
+
main()
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: simplicio-installer
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Simplicio — AI coding agent that saves up to 96% on tokens
|
|
5
|
+
License: Proprietary
|
|
6
|
+
Project-URL: Homepage, https://simpleti.com.br/simplicio/#start
|
|
7
|
+
Project-URL: Source, https://github.com/wesleysimplicio/simplicio
|
|
8
|
+
Keywords: ai,coding-agent,cli,token-savings
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# Simplicio — AI Coding Agent
|
|
13
|
+
|
|
14
|
+
Save up to 96% on AI tokens. Single binary, runs on your machine.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install simplicio
|
|
20
|
+
simplicio install
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Then use:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
simplicio chat "build a login endpoint and test until it passes"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- Website: https://simpleti.com.br/simplicio/
|
|
32
|
+
- GitHub: https://github.com/wesleysimplicio/simplicio
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
setup.py
|
|
4
|
+
simplicio/__init__.py
|
|
5
|
+
simplicio/__main__.py
|
|
6
|
+
simplicio_installer.egg-info/PKG-INFO
|
|
7
|
+
simplicio_installer.egg-info/SOURCES.txt
|
|
8
|
+
simplicio_installer.egg-info/dependency_links.txt
|
|
9
|
+
simplicio_installer.egg-info/entry_points.txt
|
|
10
|
+
simplicio_installer.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
simplicio
|