microsandbox 0.1.0__py3-none-any.whl
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.
microsandbox/__init__.py
ADDED
microsandbox/hello.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Hello World module for the Microsandbox SDK.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def greet(name: str) -> str:
|
|
7
|
+
"""
|
|
8
|
+
Returns a greeting message for the given name.
|
|
9
|
+
|
|
10
|
+
Args:
|
|
11
|
+
name: The name to greet
|
|
12
|
+
|
|
13
|
+
Returns:
|
|
14
|
+
A greeting message
|
|
15
|
+
"""
|
|
16
|
+
message = f"Hello, {name}! Welcome to Microsandbox!"
|
|
17
|
+
print(message)
|
|
18
|
+
return message
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: microsandbox
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Microsandbox Python SDK
|
|
5
|
+
Home-page: https://microsandbox.dev
|
|
6
|
+
Author: Microsandbox Team
|
|
7
|
+
Author-email: team@microsandbox.dev
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Provides-Extra: dev
|
|
14
|
+
Requires-Dist: pytest>=6.0.0; extra == "dev"
|
|
15
|
+
Requires-Dist: black>=22.0.0; extra == "dev"
|
|
16
|
+
Requires-Dist: isort>=5.0.0; extra == "dev"
|
|
17
|
+
Requires-Dist: mypy>=0.900; extra == "dev"
|
|
18
|
+
Requires-Dist: build>=0.8.0; extra == "dev"
|
|
19
|
+
Requires-Dist: twine>=4.0.0; extra == "dev"
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: provides-extra
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# Microsandbox Python SDK
|
|
31
|
+
|
|
32
|
+
A minimal Python SDK for the Microsandbox project.
|
|
33
|
+
|
|
34
|
+
## Installation
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install microsandbox
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from microsandbox import hello
|
|
44
|
+
|
|
45
|
+
# Print a greeting
|
|
46
|
+
hello.greet("World")
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Development
|
|
50
|
+
|
|
51
|
+
### Setup
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Clone the repository
|
|
55
|
+
git clone https://github.com/yourusername/monocore.git
|
|
56
|
+
cd monocore/sdk/python
|
|
57
|
+
|
|
58
|
+
# Create a virtual environment
|
|
59
|
+
python -m venv venv
|
|
60
|
+
source venv/bin/activate # On Windows: venv\Scripts\activate
|
|
61
|
+
|
|
62
|
+
# Install development dependencies
|
|
63
|
+
pip install -e ".[dev]"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Building the Package
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
python -m build
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Publishing to PyPI
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
# Install publishing tools
|
|
76
|
+
pip install twine
|
|
77
|
+
|
|
78
|
+
# Build the distribution
|
|
79
|
+
python -m build
|
|
80
|
+
|
|
81
|
+
# Upload to TestPyPI first (recommended)
|
|
82
|
+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
|
83
|
+
|
|
84
|
+
# Upload to PyPI
|
|
85
|
+
twine upload dist/*
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Make sure you have registered for an account on [PyPI](https://pypi.org/) and created an API token for authentication.
|
|
89
|
+
|
|
90
|
+
## License
|
|
91
|
+
|
|
92
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
microsandbox/__init__.py,sha256=Pv-Z--tE1UcEckEL58FfhXSQsLD97tqi-UUgrox1lpw,100
|
|
2
|
+
microsandbox/hello.py,sha256=qPd0bqKoGWmR-MsQ7eDc20tEhWNz5ecyZJwd5KdeYVA,330
|
|
3
|
+
microsandbox-0.1.0.dist-info/METADATA,sha256=sO0Sj9Xv7iYZrq3GfKYoY9wArLy7v3WagEZnabuZSyU,1911
|
|
4
|
+
microsandbox-0.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
5
|
+
microsandbox-0.1.0.dist-info/top_level.txt,sha256=Nsvp37W2UdH6jdBzZ5uAkOVzpVePsNEZrsrZSHirMNY,13
|
|
6
|
+
microsandbox-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
microsandbox
|