linkerbot 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.
- linkerbot-0.1.0/LICENSE +21 -0
- linkerbot-0.1.0/PKG-INFO +45 -0
- linkerbot-0.1.0/README.md +31 -0
- linkerbot-0.1.0/linkerbot.egg-info/PKG-INFO +45 -0
- linkerbot-0.1.0/linkerbot.egg-info/SOURCES.txt +9 -0
- linkerbot-0.1.0/linkerbot.egg-info/dependency_links.txt +1 -0
- linkerbot-0.1.0/linkerbot.egg-info/top_level.txt +1 -0
- linkerbot-0.1.0/linkerbot_sdk/__init__.py +3 -0
- linkerbot-0.1.0/linkerbot_sdk/linkerbot.py +25 -0
- linkerbot-0.1.0/setup.cfg +4 -0
- linkerbot-0.1.0/setup.py +19 -0
linkerbot-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 LinkerBot
|
|
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.
|
linkerbot-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: linkerbot
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A simple SDK example with two methods
|
|
5
|
+
Home-page: https://github.com/yourusername/linkerbot-sdk
|
|
6
|
+
Author: LinkerBot
|
|
7
|
+
Author-email: your.email@example.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
|
|
15
|
+
# LinkerBot Python SDK
|
|
16
|
+
|
|
17
|
+
A simple Python SDK example with two utility methods.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install linkerbot-sdk
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
from linkerbot_sdk import LinkerBot
|
|
29
|
+
|
|
30
|
+
# Create an instance
|
|
31
|
+
bot = LinkerBot()
|
|
32
|
+
|
|
33
|
+
# Use the methods
|
|
34
|
+
result1 = bot.calculate_sum(5, 3) # Returns 8
|
|
35
|
+
result2 = bot.generate_greeting("Alice") # Returns "Hello, Alice!"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Features
|
|
39
|
+
|
|
40
|
+
- Simple arithmetic operations
|
|
41
|
+
- Greeting message generation
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
This project is licensed under the MIT License.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# LinkerBot Python SDK
|
|
2
|
+
|
|
3
|
+
A simple Python SDK example with two utility methods.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install linkerbot-sdk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from linkerbot_sdk import LinkerBot
|
|
15
|
+
|
|
16
|
+
# Create an instance
|
|
17
|
+
bot = LinkerBot()
|
|
18
|
+
|
|
19
|
+
# Use the methods
|
|
20
|
+
result1 = bot.calculate_sum(5, 3) # Returns 8
|
|
21
|
+
result2 = bot.generate_greeting("Alice") # Returns "Hello, Alice!"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Features
|
|
25
|
+
|
|
26
|
+
- Simple arithmetic operations
|
|
27
|
+
- Greeting message generation
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
This project is licensed under the MIT License.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: linkerbot
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A simple SDK example with two methods
|
|
5
|
+
Home-page: https://github.com/yourusername/linkerbot-sdk
|
|
6
|
+
Author: LinkerBot
|
|
7
|
+
Author-email: your.email@example.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
|
|
15
|
+
# LinkerBot Python SDK
|
|
16
|
+
|
|
17
|
+
A simple Python SDK example with two utility methods.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install linkerbot-sdk
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
from linkerbot_sdk import LinkerBot
|
|
29
|
+
|
|
30
|
+
# Create an instance
|
|
31
|
+
bot = LinkerBot()
|
|
32
|
+
|
|
33
|
+
# Use the methods
|
|
34
|
+
result1 = bot.calculate_sum(5, 3) # Returns 8
|
|
35
|
+
result2 = bot.generate_greeting("Alice") # Returns "Hello, Alice!"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Features
|
|
39
|
+
|
|
40
|
+
- Simple arithmetic operations
|
|
41
|
+
- Greeting message generation
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
This project is licensed under the MIT License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
linkerbot_sdk
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
class LinkerBot:
|
|
2
|
+
"""A simple SDK class with two utility methods."""
|
|
3
|
+
|
|
4
|
+
def calculate_sum(self, a: int, b: int) -> int:
|
|
5
|
+
"""Calculate the sum of two numbers.
|
|
6
|
+
|
|
7
|
+
Args:
|
|
8
|
+
a (int): First number
|
|
9
|
+
b (int): Second number
|
|
10
|
+
|
|
11
|
+
Returns:
|
|
12
|
+
int: Sum of the two numbers
|
|
13
|
+
"""
|
|
14
|
+
return a + b
|
|
15
|
+
|
|
16
|
+
def generate_greeting(self, name: str) -> str:
|
|
17
|
+
"""Generate a greeting message for the given name.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
name (str): Name to include in the greeting
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
str: Personalized greeting message
|
|
24
|
+
"""
|
|
25
|
+
return f"Hello, {name}!"
|
linkerbot-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="linkerbot",
|
|
5
|
+
version="0.1.0",
|
|
6
|
+
author="LinkerBot",
|
|
7
|
+
author_email="your.email@example.com",
|
|
8
|
+
description="A simple SDK example with two methods",
|
|
9
|
+
long_description=open("README.md").read(),
|
|
10
|
+
long_description_content_type="text/markdown",
|
|
11
|
+
url="https://github.com/yourusername/linkerbot-sdk",
|
|
12
|
+
packages=find_packages(),
|
|
13
|
+
classifiers=[
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
],
|
|
18
|
+
python_requires=">=3.6",
|
|
19
|
+
)
|