magnus-sdk 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.
@@ -0,0 +1,44 @@
1
+ # .gitignore
2
+
3
+ # Global Configs
4
+ configs/
5
+
6
+
7
+ # Front End: Next.js
8
+ front_end/node_modules
9
+ front_end/.pnp
10
+ front_end/.pnp.js
11
+ front_end/.yarn/install-state.gz
12
+ front_end/coverage
13
+ front_end/.next/
14
+ front_end/out/
15
+ front_end/build
16
+ front_end/*.pem
17
+ front_end/npm-debug.log*
18
+ front_end/yarn-debug.log*
19
+ front_end/yarn-error.log*
20
+ front_end/.env*.local
21
+ front_end/.vercel
22
+ front_end/*.tsbuildinfo
23
+
24
+
25
+ # Back End: Python, FastAPI + SQLAlchemy
26
+ back_end/**/__pycache__/
27
+ back_end/*.py[oc]
28
+ back_end/.venv
29
+ back_end/run*.py
30
+ back_end/run*.sh
31
+ back_end/!scripts/**
32
+ back_end/scripts/**/**__pycache__**
33
+ back_end/api_keys.json
34
+ back_end/python_scripts/run*.py
35
+
36
+
37
+ # Others
38
+ *nohup*
39
+ *slurm*
40
+ !back_end/python_scripts/blueprints/magnus-slurm.py
41
+ !back_end/python_scripts/magnus_slurm.py
42
+ documents/
43
+ .DS_Store
44
+ .vscode/
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: magnus-sdk
3
+ Version: 0.1.0
4
+ Summary: Official Python SDK and CLI for Magnus
5
+ Author-email: "Magnus Team, Rise-AGI" <sun_retailer@163.com>
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: httpx>=0.27.0
8
+ Requires-Dist: pydantic>=2.0.0
9
+ Requires-Dist: python-dotenv>=1.0.0
10
+ Requires-Dist: pywheels>=0.8.3.2
11
+ Requires-Dist: rich>=13.0.0
12
+ Requires-Dist: typer>=0.9.0
@@ -0,0 +1,26 @@
1
+ [project]
2
+ name = "magnus-sdk"
3
+ version = "0.1.0"
4
+ description = "Official Python SDK and CLI for Magnus"
5
+ requires-python = ">=3.10"
6
+ authors = [
7
+ { name = "Magnus Team, Rise-AGI", email = "sun_retailer@163.com" }
8
+ ]
9
+ dependencies = [
10
+ "httpx>=0.27.0",
11
+ "typer>=0.9.0",
12
+ "pydantic>=2.0.0",
13
+ "rich>=13.0.0",
14
+ "python-dotenv>=1.0.0",
15
+ "pywheels>=0.8.3.2",
16
+ ]
17
+
18
+ [project.scripts]
19
+ magnus = "magnus.cli.main:main"
20
+
21
+ [build-system]
22
+ requires = ["hatchling"]
23
+ build-backend = "hatchling.build"
24
+
25
+ [tool.hatch.build.targets.wheel]
26
+ packages = ["src/magnus"]
@@ -0,0 +1,8 @@
1
+ # sdks/python/src/magnus/__init__.py
2
+ __all__ = [
3
+ "hello_world",
4
+ ]
5
+
6
+
7
+ def hello_world():
8
+ print("Hello, world!")
File without changes
File without changes
File without changes