basic-open-agent-tools 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.
Files changed (28) hide show
  1. basic_open_agent_tools-0.1.0/.gitignore +288 -0
  2. basic_open_agent_tools-0.1.0/LICENSE +21 -0
  3. basic_open_agent_tools-0.1.0/PKG-INFO +120 -0
  4. basic_open_agent_tools-0.1.0/README.md +64 -0
  5. basic_open_agent_tools-0.1.0/pyproject.toml +137 -0
  6. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/__init__.py +39 -0
  7. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/crypto/TODO.md +60 -0
  8. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/crypto/__init__.py +6 -0
  9. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/data/TODO.md +69 -0
  10. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/data/__init__.py +6 -0
  11. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/exceptions.py +11 -0
  12. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/TODO.md +58 -0
  13. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/__init__.py +73 -0
  14. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/info.py +118 -0
  15. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/operations.py +232 -0
  16. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/tree.py +135 -0
  17. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/file_system/validation.py +40 -0
  18. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/network/TODO.md +55 -0
  19. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/network/__init__.py +6 -0
  20. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/system/TODO.md +62 -0
  21. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/system/__init__.py +6 -0
  22. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/text/TODO.md +66 -0
  23. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/text/__init__.py +6 -0
  24. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/types.py +9 -0
  25. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/utilities/TODO.md +79 -0
  26. basic_open_agent_tools-0.1.0/src/basic_open_agent_tools/utilities/__init__.py +6 -0
  27. basic_open_agent_tools-0.1.0/tests/__init__.py +0 -0
  28. basic_open_agent_tools-0.1.0/tests/test_file_system_tools.py +87 -0
@@ -0,0 +1,288 @@
1
+ # Python cache and compiled files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ *.pyo
7
+ *.pyd
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+ *.tar.gz
29
+ *.whl
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .tox/
44
+ .nox/
45
+ .coverage
46
+ .coverage.*
47
+ .cache
48
+ nosetests.xml
49
+ coverage.xml
50
+ *.cover
51
+ *.py,cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+ cover/
55
+ test-results/
56
+ .nyc_output/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # UV
102
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ #uv.lock
106
+
107
+ # poetry
108
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
109
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
110
+ # commonly ignored for libraries.
111
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
112
+ #poetry.lock
113
+
114
+ # pdm
115
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
116
+ #pdm.lock
117
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
118
+ # in version control.
119
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
120
+ .pdm.toml
121
+ .pdm-python
122
+ .pdm-build/
123
+
124
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
125
+ __pypackages__/
126
+
127
+ # Celery stuff
128
+ celerybeat-schedule
129
+ celerybeat.pid
130
+
131
+ # SageMath parsed files
132
+ *.sage.py
133
+
134
+ # Environments and secrets
135
+ .env
136
+ .env.*
137
+ .venv
138
+ env/
139
+ venv/
140
+ ENV/
141
+ env.bak/
142
+ venv.bak/
143
+ .envrc
144
+ .secrets
145
+ secrets/
146
+ *.pem
147
+ *.key
148
+ *.crt
149
+ *.p12
150
+ *.pfx
151
+
152
+ # Spyder project settings
153
+ .spyderproject
154
+ .spyproject
155
+
156
+ # Rope project settings
157
+ .ropeproject
158
+
159
+ # mkdocs documentation
160
+ /site
161
+
162
+ # mypy
163
+ .mypy_cache/
164
+ .dmypy.json
165
+ dmypy.json
166
+
167
+ # Pyre type checker
168
+ .pyre/
169
+
170
+ # pytype static type analyzer
171
+ .pytype/
172
+
173
+ # Cython debug symbols
174
+ cython_debug/
175
+
176
+ # PyCharm
177
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
178
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
179
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
180
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
181
+ #.idea/
182
+
183
+ # Abstra
184
+ # Abstra is an AI-powered process automation framework.
185
+ # Ignore directories containing user credentials, local state, and settings.
186
+ # Learn more at https://abstra.io/docs
187
+ .abstra/
188
+
189
+ # IDEs and editors
190
+ .vscode/
191
+ .idea/
192
+ *.swp
193
+ *.swo
194
+ *~
195
+ .project
196
+ .pydevproject
197
+ .settings/
198
+ .metadata
199
+ .classpath
200
+ .loadpath
201
+ .externalToolBuilders/
202
+ *.launch
203
+ .cproject
204
+ .autotools
205
+ .sublime-workspace
206
+ *.sublime-project
207
+ .tern-project
208
+
209
+ # OS generated files
210
+ .DS_Store
211
+ .DS_Store?
212
+ ._*
213
+ .Spotlight-V100
214
+ .Trashes
215
+ ehthumbs.db
216
+ Thumbs.db
217
+ Desktop.ini
218
+ $RECYCLE.BIN/
219
+
220
+ # Ruff stuff:
221
+ .ruff_cache/
222
+
223
+ # PyPI configuration file
224
+ .pypirc
225
+
226
+ # Cursor
227
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
228
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
229
+ # refer to https://docs.cursor.com/context/ignore-files
230
+ .cursorignore
231
+ .cursorindexingignore
232
+
233
+ # Claude Code and AI assistants
234
+ CLAUDE.md
235
+ .claude/
236
+ .aider*
237
+ .cursor/
238
+ .copilot/
239
+
240
+ # Logs and temporary files
241
+ *.log
242
+ *.tmp
243
+ *.temp
244
+ *.bak
245
+ *.backup
246
+ *.orig
247
+ *.rej
248
+ logs/
249
+ log/
250
+ temp/
251
+ tmp/
252
+ .tmp/
253
+
254
+ # Development and debugging
255
+ .debug/
256
+ debug.py
257
+ test_*.py.bak
258
+ profile_*.py
259
+ benchmark_*.py
260
+ *.prof
261
+ *.lprof
262
+
263
+ # Documentation builds
264
+ docs/_build/
265
+ site/
266
+ _site/
267
+ .sass-cache/
268
+ .jekyll-cache/
269
+ .jekyll-metadata
270
+
271
+ # Package manager locks and configs
272
+ package-lock.json
273
+ yarn.lock
274
+ pnpm-lock.yaml
275
+ .pnp.*
276
+ node_modules/
277
+
278
+ # Database files
279
+ *.db
280
+ *.sqlite
281
+ *.sqlite3
282
+ *.db-journal
283
+
284
+ # Cache directories
285
+ .cache/
286
+ cache/
287
+ .npm/
288
+ .yarn/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Open Agent Tools
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,120 @@
1
+ Metadata-Version: 2.4
2
+ Name: basic-open-agent-tools
3
+ Version: 0.1.0
4
+ Summary: An open foundational toolkit providing essential components for building AI agents with minimal dependencies for local (non-HTTP/API) actions.
5
+ Project-URL: Homepage, https://github.com/open-agent-tools/basic-open-agent-tools
6
+ Project-URL: Documentation, https://github.com/open-agent-tools/basic-open-agent-tools#readme
7
+ Project-URL: Repository, https://github.com/open-agent-tools/basic-open-agent-tools
8
+ Project-URL: Issues, https://github.com/open-agent-tools/basic-open-agent-tools/issues
9
+ Author-email: Open Agent Tools <info@openagenttools.org>
10
+ License: MIT License
11
+
12
+ Copyright (c) 2025 Open Agent Tools
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+ License-File: LICENSE
32
+ Keywords: agents,ai,automation,local-tools,toolkit
33
+ Classifier: Development Status :: 3 - Alpha
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.8
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
44
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
45
+ Requires-Python: >=3.8
46
+ Provides-Extra: dev
47
+ Requires-Dist: mypy>=1.0.0; extra == 'dev'
48
+ Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
49
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
50
+ Requires-Dist: pytest>=7.0.0; extra == 'dev'
51
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
52
+ Provides-Extra: test
53
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
54
+ Requires-Dist: pytest>=7.0.0; extra == 'test'
55
+ Description-Content-Type: text/markdown
56
+
57
+ # basic-open-agent-tools
58
+
59
+ An open foundational toolkit providing essential components for building AI agents with minimal dependencies for local (non-HTTP/API) actions. Designed to offer core utilities and interfaces that developers can easily integrate into their own agents to avoid excess boilerplate, while being simpler than solutions requiring MCP or A2A.
60
+
61
+ ## Installation
62
+
63
+ ```bash
64
+ pip install basic-open-agent-tools
65
+ ```
66
+
67
+ Or with UV:
68
+ ```bash
69
+ uv add basic-open-agent-tools
70
+ ```
71
+
72
+ ## Usage
73
+
74
+ ```python
75
+ from basic_open_agent_tools import file_system
76
+
77
+ # File operations
78
+ content = file_system.read_file_to_string("file.txt")
79
+ file_system.write_file_from_string("output.txt", "Hello!")
80
+
81
+ # Directory operations
82
+ files = file_system.list_directory_contents("/path/to/dir")
83
+ file_system.create_directory("new_dir")
84
+ ```
85
+
86
+
87
+
88
+
89
+ # Best Practices for Contributors and Reviewers
90
+
91
+ ## Regularly Sync Your Fork/Branch:
92
+
93
+ Before starting new work or submitting a PR, git pull upstream main to get the latest changes into your local main branch, then rebase your feature branch on top of it.
94
+
95
+ ## Small, Focused Pull Requests:
96
+
97
+ Break down large features into smaller, atomic PRs.
98
+
99
+ ## Clear Titles and Descriptions:
100
+
101
+ Use a consistent format (e.g., "Feat: Add user profile page," "Fix: Resolve login bug"). Include context, what changed, why, and how to test. Link to related issues (e.g., "Closes #123").
102
+
103
+ ## Use Draft Pull Requests:
104
+
105
+ Contributors can open PRs as "Draft" and mark them "Ready for review" when complete. Draft PRs won't trigger required status checks or reviews.
106
+
107
+ ## Descriptive Commit Messages:
108
+
109
+ Add well-written commit messages (subject line + body for details).
110
+
111
+ ## Self-Review First:
112
+
113
+ Contributors should review their own PRs thoroughly before requesting reviews.
114
+
115
+ ## Responsive to Feedback:
116
+
117
+ Contributors should address comments and questions from reviewers promptly. If changes are requested, push new commits to the same branch; the PR will automatically update.
118
+
119
+
120
+
@@ -0,0 +1,64 @@
1
+ # basic-open-agent-tools
2
+
3
+ An open foundational toolkit providing essential components for building AI agents with minimal dependencies for local (non-HTTP/API) actions. Designed to offer core utilities and interfaces that developers can easily integrate into their own agents to avoid excess boilerplate, while being simpler than solutions requiring MCP or A2A.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install basic-open-agent-tools
9
+ ```
10
+
11
+ Or with UV:
12
+ ```bash
13
+ uv add basic-open-agent-tools
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```python
19
+ from basic_open_agent_tools import file_system
20
+
21
+ # File operations
22
+ content = file_system.read_file_to_string("file.txt")
23
+ file_system.write_file_from_string("output.txt", "Hello!")
24
+
25
+ # Directory operations
26
+ files = file_system.list_directory_contents("/path/to/dir")
27
+ file_system.create_directory("new_dir")
28
+ ```
29
+
30
+
31
+
32
+
33
+ # Best Practices for Contributors and Reviewers
34
+
35
+ ## Regularly Sync Your Fork/Branch:
36
+
37
+ Before starting new work or submitting a PR, git pull upstream main to get the latest changes into your local main branch, then rebase your feature branch on top of it.
38
+
39
+ ## Small, Focused Pull Requests:
40
+
41
+ Break down large features into smaller, atomic PRs.
42
+
43
+ ## Clear Titles and Descriptions:
44
+
45
+ Use a consistent format (e.g., "Feat: Add user profile page," "Fix: Resolve login bug"). Include context, what changed, why, and how to test. Link to related issues (e.g., "Closes #123").
46
+
47
+ ## Use Draft Pull Requests:
48
+
49
+ Contributors can open PRs as "Draft" and mark them "Ready for review" when complete. Draft PRs won't trigger required status checks or reviews.
50
+
51
+ ## Descriptive Commit Messages:
52
+
53
+ Add well-written commit messages (subject line + body for details).
54
+
55
+ ## Self-Review First:
56
+
57
+ Contributors should review their own PRs thoroughly before requesting reviews.
58
+
59
+ ## Responsive to Feedback:
60
+
61
+ Contributors should address comments and questions from reviewers promptly. If changes are requested, push new commits to the same branch; the PR will automatically update.
62
+
63
+
64
+
@@ -0,0 +1,137 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "basic-open-agent-tools"
7
+ dynamic = ["version"]
8
+ description = "An open foundational toolkit providing essential components for building AI agents with minimal dependencies for local (non-HTTP/API) actions."
9
+ readme = "README.md"
10
+ license = {file = "LICENSE"}
11
+ requires-python = ">=3.8"
12
+ authors = [
13
+ { name = "Open Agent Tools", email = "info@openagenttools.org" },
14
+ ]
15
+ keywords = [
16
+ "ai",
17
+ "agents",
18
+ "toolkit",
19
+ "automation",
20
+ "local-tools",
21
+ ]
22
+ classifiers = [
23
+ "Development Status :: 3 - Alpha",
24
+ "Intended Audience :: Developers",
25
+ "License :: OSI Approved :: MIT License",
26
+ "Operating System :: OS Independent",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3.8",
29
+ "Programming Language :: Python :: 3.9",
30
+ "Programming Language :: Python :: 3.10",
31
+ "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
33
+ "Topic :: Software Development :: Libraries :: Python Modules",
34
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
35
+ ]
36
+ dependencies = []
37
+
38
+ [project.urls]
39
+ Homepage = "https://github.com/open-agent-tools/basic-open-agent-tools"
40
+ Documentation = "https://github.com/open-agent-tools/basic-open-agent-tools#readme"
41
+ Repository = "https://github.com/open-agent-tools/basic-open-agent-tools"
42
+ Issues = "https://github.com/open-agent-tools/basic-open-agent-tools/issues"
43
+
44
+ [project.optional-dependencies]
45
+ dev = [
46
+ "pytest>=7.0.0",
47
+ "pytest-cov>=4.0.0",
48
+ "ruff>=0.1.0",
49
+ "mypy>=1.0.0",
50
+ "pre-commit>=3.0.0",
51
+ ]
52
+ test = [
53
+ "pytest>=7.0.0",
54
+ "pytest-cov>=4.0.0",
55
+ ]
56
+
57
+ [tool.hatch.version]
58
+ path = "src/basic_open_agent_tools/__init__.py"
59
+
60
+ [tool.hatch.build.targets.sdist]
61
+ include = [
62
+ "/src",
63
+ "/tests",
64
+ "/README.md",
65
+ "/LICENSE",
66
+ ]
67
+
68
+ [tool.hatch.build.targets.wheel]
69
+ packages = ["src/basic_open_agent_tools"]
70
+
71
+ [tool.ruff]
72
+ target-version = "py38"
73
+ line-length = 88
74
+ select = [
75
+ "E", # pycodestyle errors
76
+ "W", # pycodestyle warnings
77
+ "F", # pyflakes
78
+ "I", # isort
79
+ "B", # flake8-bugbear
80
+ "C4", # flake8-comprehensions
81
+ "UP", # pyupgrade
82
+ ]
83
+ ignore = [
84
+ "E501", # line too long, handled by black
85
+ "B008", # do not perform function calls in argument defaults
86
+ "C901", # too complex
87
+ ]
88
+
89
+ [tool.ruff.per-file-ignores]
90
+ "__init__.py" = ["F401"]
91
+
92
+ [tool.mypy]
93
+ python_version = "3.8"
94
+ warn_return_any = true
95
+ warn_unused_configs = true
96
+ disallow_untyped_defs = true
97
+ disallow_incomplete_defs = true
98
+ check_untyped_defs = true
99
+ disallow_untyped_decorators = true
100
+ no_implicit_optional = true
101
+ warn_redundant_casts = true
102
+ warn_unused_ignores = true
103
+ warn_no_return = true
104
+ warn_unreachable = true
105
+ strict_equality = true
106
+
107
+ [tool.pytest.ini_options]
108
+ testpaths = ["tests"]
109
+ python_files = ["test_*.py", "*_test.py"]
110
+ python_classes = ["Test*"]
111
+ python_functions = ["test_*"]
112
+ addopts = [
113
+ "--strict-markers",
114
+ "--strict-config",
115
+ "--cov=src/basic_open_agent_tools",
116
+ "--cov-report=term-missing",
117
+ "--cov-report=html",
118
+ "--cov-report=xml",
119
+ ]
120
+
121
+ [tool.coverage.run]
122
+ source = ["src"]
123
+ branch = true
124
+
125
+ [tool.coverage.report]
126
+ exclude_lines = [
127
+ "pragma: no cover",
128
+ "def __repr__",
129
+ "if self.debug:",
130
+ "if settings.DEBUG",
131
+ "raise AssertionError",
132
+ "raise NotImplementedError",
133
+ "if 0:",
134
+ "if __name__ == .__main__.:",
135
+ "class .*\\bProtocol\\):",
136
+ "@(abc\\.)?abstractmethod",
137
+ ]
@@ -0,0 +1,39 @@
1
+ """Basic Open Agent Tools.
2
+
3
+ An open foundational toolkit providing essential components for building AI agents
4
+ with minimal dependencies for local (non-HTTP/API) actions.
5
+ """
6
+
7
+ __version__ = "0.1.0"
8
+
9
+ # Modular structure
10
+ from . import file_system
11
+
12
+ # Future modules (placeholder imports for when modules are implemented)
13
+ # from . import text
14
+ # from . import system
15
+ # from . import network
16
+ # from . import data
17
+ # from . import crypto
18
+ # from . import utilities
19
+
20
+ # Common infrastructure
21
+ from . import exceptions
22
+ from . import types
23
+
24
+ __all__ = [
25
+ # Modular structure
26
+ "file_system",
27
+
28
+ # Future modules (uncomment when implemented)
29
+ # "text",
30
+ # "system",
31
+ # "network",
32
+ # "data",
33
+ # "crypto",
34
+ # "utilities",
35
+
36
+ # Common infrastructure
37
+ "exceptions",
38
+ "types",
39
+ ]