composio 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.
composio-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Tushar Sadhwani
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.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: composio
3
+ Version: 0.1.0
4
+ Summary: Composio Python SDK.
5
+ Home-page: https://github.com/tushar-composio/composio
6
+ Author: Tushar Sadhwani
7
+ Author-email: tushar@composio.dev
8
+ License: MIT
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: Implementation :: CPython
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Provides-Extra: dev
24
+ Requires-Dist: black; extra == "dev"
25
+ Requires-Dist: mypy; extra == "dev"
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: setuptools; extra == "dev"
29
+ Requires-Dist: tox; extra == "dev"
30
+ Requires-Dist: twine; extra == "dev"
31
+ Requires-Dist: wheel; extra == "dev"
32
+
33
+ # composio
34
+
35
+ Composio Python SDK.
36
+
37
+ > WIP
@@ -0,0 +1,5 @@
1
+ # composio
2
+
3
+ Composio Python SDK.
4
+
5
+ > WIP
@@ -0,0 +1,58 @@
1
+ [metadata]
2
+ name = composio
3
+ version = 0.1.0
4
+ description = Composio Python SDK.
5
+ long_description = file: README.md
6
+ long_description_content_type = text/markdown
7
+ url = https://github.com/tushar-composio/composio
8
+ author = Tushar Sadhwani
9
+ author_email = tushar@composio.dev
10
+ license = MIT
11
+ license_file = LICENSE
12
+ classifiers =
13
+ License :: OSI Approved :: MIT License
14
+ Operating System :: OS Independent
15
+ Programming Language :: Python :: 3
16
+ Programming Language :: Python :: 3 :: Only
17
+ Programming Language :: Python :: 3.8
18
+ Programming Language :: Python :: 3.9
19
+ Programming Language :: Python :: 3.10
20
+ Programming Language :: Python :: 3.11
21
+ Programming Language :: Python :: 3.12
22
+ Programming Language :: Python :: Implementation :: CPython
23
+ Typing :: Typed
24
+
25
+ [options]
26
+ packages = find:
27
+ python_requires = >=3.8
28
+ package_dir = =src
29
+
30
+ [options.packages.find]
31
+ where = ./src
32
+
33
+ [options.entry_points]
34
+ console_scripts =
35
+ composio=composio.cli:cli
36
+
37
+ [options.extras_require]
38
+ dev =
39
+ black
40
+ mypy
41
+ pytest
42
+ pytest-cov
43
+ setuptools
44
+ tox
45
+ twine
46
+ wheel
47
+
48
+ [options.package_data]
49
+ composio =
50
+ py.typed
51
+
52
+ [tool:pytest]
53
+ addopts = --cov --cov-report=term-missing
54
+
55
+ [egg_info]
56
+ tag_build =
57
+ tag_date = 0
58
+
@@ -0,0 +1,2 @@
1
+ from setuptools import setup
2
+ setup()
@@ -0,0 +1,7 @@
1
+ """composio - Composio Python SDK."""
2
+ from __future__ import annotations
3
+
4
+
5
+ def greet(name: str) -> str:
6
+ """Returns a greeting."""
7
+ return f"Hello {name}!"
@@ -0,0 +1,7 @@
1
+ """Support executing the CLI by doing `python -m composio`."""
2
+ from __future__ import annotations
3
+
4
+ from composio.cli import cli
5
+
6
+ if __name__ == "__main__":
7
+ raise SystemExit(cli())
@@ -0,0 +1,20 @@
1
+ """CLI interface for composio."""
2
+ from __future__ import annotations
3
+
4
+ import argparse
5
+
6
+ from composio import greet
7
+
8
+
9
+ class CLIArgs:
10
+ name: str
11
+
12
+
13
+ def cli(argv: list[str] | None = None) -> int:
14
+ """CLI interface."""
15
+ parser = argparse.ArgumentParser()
16
+ parser.add_argument("name")
17
+ args = parser.parse_args(argv, namespace=CLIArgs)
18
+
19
+ print(greet(args.name))
20
+ return 0
@@ -0,0 +1 @@
1
+ # Marker file for PEP 561. This package uses inline types.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: composio
3
+ Version: 0.1.0
4
+ Summary: Composio Python SDK.
5
+ Home-page: https://github.com/tushar-composio/composio
6
+ Author: Tushar Sadhwani
7
+ Author-email: tushar@composio.dev
8
+ License: MIT
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: Implementation :: CPython
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Provides-Extra: dev
24
+ Requires-Dist: black; extra == "dev"
25
+ Requires-Dist: mypy; extra == "dev"
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: setuptools; extra == "dev"
29
+ Requires-Dist: tox; extra == "dev"
30
+ Requires-Dist: twine; extra == "dev"
31
+ Requires-Dist: wheel; extra == "dev"
32
+
33
+ # composio
34
+
35
+ Composio Python SDK.
36
+
37
+ > WIP
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ README.md
3
+ setup.cfg
4
+ setup.py
5
+ src/composio/__init__.py
6
+ src/composio/__main__.py
7
+ src/composio/cli.py
8
+ src/composio/py.typed
9
+ src/composio.egg-info/PKG-INFO
10
+ src/composio.egg-info/SOURCES.txt
11
+ src/composio.egg-info/dependency_links.txt
12
+ src/composio.egg-info/entry_points.txt
13
+ src/composio.egg-info/requires.txt
14
+ src/composio.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ composio = composio.cli:cli
@@ -0,0 +1,10 @@
1
+
2
+ [dev]
3
+ black
4
+ mypy
5
+ pytest
6
+ pytest-cov
7
+ setuptools
8
+ tox
9
+ twine
10
+ wheel
@@ -0,0 +1 @@
1
+ composio