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.
@@ -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,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from setuptools import setup
2
+
3
+ setup()
@@ -0,0 +1,7 @@
1
+ """Simplicio — AI coding agent that saves up to 96% on tokens."""
2
+
3
+ __version__ = "1.0.0"
4
+
5
+ def main():
6
+ import subprocess, sys
7
+ subprocess.run([sys.executable, "-m", "simplicio"] + sys.argv[1:])
@@ -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,2 @@
1
+ [console_scripts]
2
+ simplicio = simplicio:main