openbucket-client 0.1.1__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,67 @@
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ /node_modules
5
+ /.pnp
6
+ .pnp.*
7
+ .yarn/*
8
+ !.yarn/patches
9
+ !.yarn/plugins
10
+ !.yarn/releases
11
+ !.yarn/versions
12
+
13
+ # testing
14
+ /coverage
15
+ /.tmp/
16
+ /tmp*/
17
+ /.openbucket-data/
18
+
19
+ # next.js
20
+ /.next/
21
+ /.vinext/
22
+ /out/
23
+
24
+ # misc
25
+ .DS_Store
26
+ *.pem
27
+
28
+ # debug
29
+ npm-debug.log*
30
+ yarn-debug.log*
31
+ yarn-error.log*
32
+ .pnpm-debug.log*
33
+
34
+ # env files (can opt-in for committing if needed)
35
+ .env*
36
+ !.env.example
37
+
38
+ # vercel
39
+ .vercel
40
+
41
+ # typescript
42
+ next-env.d.ts
43
+ /dist/
44
+ /vercel-dist/
45
+ /.wrangler/
46
+ /outputs/
47
+ /work/
48
+ *.tsbuildinfo
49
+
50
+ # Python build/test environments
51
+ **/__pycache__/
52
+ *.py[cod]
53
+ /.venv/
54
+ /python/.venv/
55
+ /python/.pytest_cache/
56
+ /python/.mypy_cache/
57
+ /python/.ruff_cache/
58
+ **/.tox/
59
+ **/.coverage
60
+ /python/build/
61
+ /python/dist/
62
+ **/*.egg-info/
63
+ coverage.xml
64
+
65
+ # release artifacts
66
+ /.release/
67
+ /openbucket-*.tgz
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 OpenBucket contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,176 @@
1
+ Metadata-Version: 2.4
2
+ Name: openbucket-client
3
+ Version: 0.1.1
4
+ Summary: Typed, dependency-free Python client for the OpenBucket management API
5
+ Project-URL: Homepage, https://github.com/Razin-developer/openbucket
6
+ Project-URL: Source, https://github.com/Razin-developer/openbucket
7
+ Project-URL: Documentation, https://github.com/Razin-developer/openbucket/tree/main/docs
8
+ Project-URL: Issues, https://github.com/Razin-developer/openbucket/issues
9
+ Author: OpenBucket contributors
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ Keywords: api-client,object-storage,openbucket,s3,storage
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: System Administrators
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.10
26
+ Provides-Extra: dev
27
+ Requires-Dist: build<2,>=1.2; extra == 'dev'
28
+ Requires-Dist: mypy<2,>=1.10; extra == 'dev'
29
+ Requires-Dist: ruff<1,>=0.9; extra == 'dev'
30
+ Requires-Dist: tox<5,>=4.20; extra == 'dev'
31
+ Requires-Dist: twine<7,>=6; extra == 'dev'
32
+ Description-Content-Type: text/markdown
33
+
34
+ # OpenBucket Python client
35
+
36
+ `openbucket-client` is the typed, dependency-free Python client for a running
37
+ [OpenBucket](https://github.com/Razin-developer/openbucket) management API. It supports Python 3.10+
38
+ and uses only the standard library at runtime.
39
+
40
+ This package is a client, not a Python implementation of the OpenBucket daemon.
41
+ Start the OpenBucket daemon separately, then point this client at its management
42
+ URL. Object data is stored and served by that daemon.
43
+
44
+ ## Install
45
+
46
+ `openbucket-client` is not on PyPI yet. Install it from a checked-out OpenBucket repository:
47
+
48
+ ```bash
49
+ python -m pip install ./python
50
+ ```
51
+
52
+ After the first unified `0.1.1` release is visible on PyPI:
53
+
54
+ ```bash
55
+ python -m pip install openbucket-client==0.1.1
56
+ pipx install openbucket-client==0.1.1
57
+ # or
58
+ uv tool install openbucket-client==0.1.1
59
+ ```
60
+
61
+ The distribution is named `openbucket-client`; the import package is
62
+ `openbucket`.
63
+
64
+ ## Python API
65
+
66
+ ```python
67
+ import os
68
+
69
+ from openbucket import OpenBucketClient
70
+
71
+ client = OpenBucketClient(
72
+ os.environ.get("OPENBUCKET_API_URL", "http://127.0.0.1:7272"),
73
+ os.environ["OPENBUCKET_ADMIN_TOKEN"],
74
+ )
75
+
76
+ print(client.status().storage.free_bytes)
77
+
78
+ bucket = client.create_bucket("project-assets")
79
+ uploaded = client.upload_file(
80
+ bucket.name,
81
+ "images/logo.svg",
82
+ "logo.svg",
83
+ content_type="image/svg+xml",
84
+ )
85
+ print(uploaded.etag)
86
+
87
+ share = client.create_share(bucket.name, uploaded.key, expires_in=3600)
88
+ print(share.url)
89
+ ```
90
+
91
+ The client exposes immutable typed models and methods for:
92
+
93
+ - daemon health, status, endpoints, and client configuration;
94
+ - bucket creation, visibility, listing, and deletion;
95
+ - object listing, streaming upload, download, metadata, and deletion;
96
+ - S3 access-key creation, listing, and revocation;
97
+ - expiring share URL creation;
98
+ - request logs, analytics, and graceful daemon stop.
99
+
100
+ `upload_file()` streams from disk. `download_to()` streams to disk, uses an
101
+ exclusive create by default, and can atomically replace a destination with
102
+ `overwrite=True`. `download_object()` returns bytes and accepts `max_bytes` when
103
+ the caller needs a memory safety bound.
104
+
105
+ ## Error handling
106
+
107
+ ```python
108
+ from openbucket import OpenBucketHTTPError
109
+
110
+ try:
111
+ client.create_bucket("already-present")
112
+ except OpenBucketHTTPError as error:
113
+ print(error.status) # 409
114
+ print(error.code) # BucketAlreadyExists
115
+ print(error.request_id) # request correlation ID, when provided
116
+ ```
117
+
118
+ Transport, protocol, configuration, and HTTP failures have separate exception
119
+ types. The client does not follow redirects, preventing a management bearer
120
+ token from being forwarded to another origin.
121
+
122
+ ## Command line
123
+
124
+ Set credentials in the environment so the token does not appear in shell
125
+ history or the process list:
126
+
127
+ ```bash
128
+ export OPENBUCKET_API_URL=http://127.0.0.1:7272
129
+ export OPENBUCKET_ADMIN_TOKEN='replace-with-the-daemon-token'
130
+
131
+ openbucket-client status
132
+ openbucket-client buckets list
133
+ openbucket-client buckets create project-assets
134
+ openbucket-client objects upload project-assets images/logo.svg ./logo.svg
135
+ openbucket-client objects download project-assets images/logo.svg ./downloaded.svg
136
+ openbucket-client share project-assets images/logo.svg --expires-in 3600
137
+ openbucket-client --json analytics
138
+ ```
139
+
140
+ Use `openbucket-client --help` for the complete command tree. `--token` exists
141
+ for automation environments that cannot inject variables, but the environment
142
+ variable is safer for interactive use.
143
+
144
+ ## TLS and remote use
145
+
146
+ Use an HTTPS management URL for any connection that leaves localhost or a
147
+ trusted private network. The bearer token grants full management access. Do not
148
+ embed it in browser code, logs, container images, or source control. Python uses
149
+ the platform/default CA trust store and honors the standard proxy environment
150
+ variables.
151
+
152
+ ## Development and verification
153
+
154
+ The test suite performs real loopback HTTP requests against a threaded local
155
+ HTTP server; it does not patch or mock `urllib`.
156
+
157
+ ```bash
158
+ cd python
159
+ python -m unittest discover -s tests -v
160
+ python -m pip install -e '.[dev]'
161
+ ruff check .
162
+ mypy src/openbucket
163
+ python -m build
164
+ twine check dist/*
165
+ python -m pip install --force-reinstall dist/openbucket_client-0.1.1-py3-none-any.whl
166
+ openbucket-client --version
167
+ ```
168
+
169
+ `tox` verifies the built wheel on every locally installed Python version from
170
+ 3.10 through 3.14:
171
+
172
+ ```bash
173
+ tox
174
+ ```
175
+
176
+ Licensed under Apache-2.0. See [LICENSE](LICENSE).
@@ -0,0 +1,143 @@
1
+ # OpenBucket Python client
2
+
3
+ `openbucket-client` is the typed, dependency-free Python client for a running
4
+ [OpenBucket](https://github.com/Razin-developer/openbucket) management API. It supports Python 3.10+
5
+ and uses only the standard library at runtime.
6
+
7
+ This package is a client, not a Python implementation of the OpenBucket daemon.
8
+ Start the OpenBucket daemon separately, then point this client at its management
9
+ URL. Object data is stored and served by that daemon.
10
+
11
+ ## Install
12
+
13
+ `openbucket-client` is not on PyPI yet. Install it from a checked-out OpenBucket repository:
14
+
15
+ ```bash
16
+ python -m pip install ./python
17
+ ```
18
+
19
+ After the first unified `0.1.1` release is visible on PyPI:
20
+
21
+ ```bash
22
+ python -m pip install openbucket-client==0.1.1
23
+ pipx install openbucket-client==0.1.1
24
+ # or
25
+ uv tool install openbucket-client==0.1.1
26
+ ```
27
+
28
+ The distribution is named `openbucket-client`; the import package is
29
+ `openbucket`.
30
+
31
+ ## Python API
32
+
33
+ ```python
34
+ import os
35
+
36
+ from openbucket import OpenBucketClient
37
+
38
+ client = OpenBucketClient(
39
+ os.environ.get("OPENBUCKET_API_URL", "http://127.0.0.1:7272"),
40
+ os.environ["OPENBUCKET_ADMIN_TOKEN"],
41
+ )
42
+
43
+ print(client.status().storage.free_bytes)
44
+
45
+ bucket = client.create_bucket("project-assets")
46
+ uploaded = client.upload_file(
47
+ bucket.name,
48
+ "images/logo.svg",
49
+ "logo.svg",
50
+ content_type="image/svg+xml",
51
+ )
52
+ print(uploaded.etag)
53
+
54
+ share = client.create_share(bucket.name, uploaded.key, expires_in=3600)
55
+ print(share.url)
56
+ ```
57
+
58
+ The client exposes immutable typed models and methods for:
59
+
60
+ - daemon health, status, endpoints, and client configuration;
61
+ - bucket creation, visibility, listing, and deletion;
62
+ - object listing, streaming upload, download, metadata, and deletion;
63
+ - S3 access-key creation, listing, and revocation;
64
+ - expiring share URL creation;
65
+ - request logs, analytics, and graceful daemon stop.
66
+
67
+ `upload_file()` streams from disk. `download_to()` streams to disk, uses an
68
+ exclusive create by default, and can atomically replace a destination with
69
+ `overwrite=True`. `download_object()` returns bytes and accepts `max_bytes` when
70
+ the caller needs a memory safety bound.
71
+
72
+ ## Error handling
73
+
74
+ ```python
75
+ from openbucket import OpenBucketHTTPError
76
+
77
+ try:
78
+ client.create_bucket("already-present")
79
+ except OpenBucketHTTPError as error:
80
+ print(error.status) # 409
81
+ print(error.code) # BucketAlreadyExists
82
+ print(error.request_id) # request correlation ID, when provided
83
+ ```
84
+
85
+ Transport, protocol, configuration, and HTTP failures have separate exception
86
+ types. The client does not follow redirects, preventing a management bearer
87
+ token from being forwarded to another origin.
88
+
89
+ ## Command line
90
+
91
+ Set credentials in the environment so the token does not appear in shell
92
+ history or the process list:
93
+
94
+ ```bash
95
+ export OPENBUCKET_API_URL=http://127.0.0.1:7272
96
+ export OPENBUCKET_ADMIN_TOKEN='replace-with-the-daemon-token'
97
+
98
+ openbucket-client status
99
+ openbucket-client buckets list
100
+ openbucket-client buckets create project-assets
101
+ openbucket-client objects upload project-assets images/logo.svg ./logo.svg
102
+ openbucket-client objects download project-assets images/logo.svg ./downloaded.svg
103
+ openbucket-client share project-assets images/logo.svg --expires-in 3600
104
+ openbucket-client --json analytics
105
+ ```
106
+
107
+ Use `openbucket-client --help` for the complete command tree. `--token` exists
108
+ for automation environments that cannot inject variables, but the environment
109
+ variable is safer for interactive use.
110
+
111
+ ## TLS and remote use
112
+
113
+ Use an HTTPS management URL for any connection that leaves localhost or a
114
+ trusted private network. The bearer token grants full management access. Do not
115
+ embed it in browser code, logs, container images, or source control. Python uses
116
+ the platform/default CA trust store and honors the standard proxy environment
117
+ variables.
118
+
119
+ ## Development and verification
120
+
121
+ The test suite performs real loopback HTTP requests against a threaded local
122
+ HTTP server; it does not patch or mock `urllib`.
123
+
124
+ ```bash
125
+ cd python
126
+ python -m unittest discover -s tests -v
127
+ python -m pip install -e '.[dev]'
128
+ ruff check .
129
+ mypy src/openbucket
130
+ python -m build
131
+ twine check dist/*
132
+ python -m pip install --force-reinstall dist/openbucket_client-0.1.1-py3-none-any.whl
133
+ openbucket-client --version
134
+ ```
135
+
136
+ `tox` verifies the built wheel on every locally installed Python version from
137
+ 3.10 through 3.14:
138
+
139
+ ```bash
140
+ tox
141
+ ```
142
+
143
+ Licensed under Apache-2.0. See [LICENSE](LICENSE).
@@ -0,0 +1,73 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27,<2"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "openbucket-client"
7
+ version = "0.1.1"
8
+ description = "Typed, dependency-free Python client for the OpenBucket management API"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "Apache-2.0"
12
+ license-files = ["LICENSE"]
13
+ authors = [{ name = "OpenBucket contributors" }]
14
+ keywords = ["openbucket", "object-storage", "s3", "storage", "api-client"]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "Intended Audience :: System Administrators",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3 :: Only",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Programming Language :: Python :: 3.14",
27
+ "Typing :: Typed",
28
+ ]
29
+ dependencies = []
30
+
31
+ [project.optional-dependencies]
32
+ dev = [
33
+ "build>=1.2,<2",
34
+ "mypy>=1.10,<2",
35
+ "ruff>=0.9,<1",
36
+ "tox>=4.20,<5",
37
+ "twine>=6,<7",
38
+ ]
39
+
40
+ [project.scripts]
41
+ openbucket-client = "openbucket.cli:main"
42
+
43
+ [project.urls]
44
+ Homepage = "https://github.com/Razin-developer/openbucket"
45
+ Source = "https://github.com/Razin-developer/openbucket"
46
+ Documentation = "https://github.com/Razin-developer/openbucket/tree/main/docs"
47
+ Issues = "https://github.com/Razin-developer/openbucket/issues"
48
+
49
+ [tool.hatch.build.targets.wheel]
50
+ packages = ["src/openbucket"]
51
+
52
+ [tool.hatch.build.targets.sdist]
53
+ include = [
54
+ "/src/openbucket",
55
+ "/tests",
56
+ "/README.md",
57
+ "/LICENSE",
58
+ "/pyproject.toml",
59
+ "/tox.ini",
60
+ ]
61
+
62
+ [tool.ruff]
63
+ target-version = "py310"
64
+ line-length = 120
65
+ src = ["src", "tests"]
66
+
67
+ [tool.ruff.lint]
68
+ select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
69
+
70
+ [tool.mypy]
71
+ python_version = "3.10"
72
+ strict = true
73
+ files = ["src/openbucket"]