apiverve-filesizeformatter 1.2.4__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,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 APIVerve and EvlarSoft LLC
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,331 @@
1
+ Metadata-Version: 2.4
2
+ Name: apiverve-filesizeformatter
3
+ Version: 1.2.4
4
+ Summary: File Size Formatter converts raw byte counts into human-readable file size strings. Send a byte count with optional precision and unit settings to receive formatted labels, unit names, and scaled numeric values.
5
+ Author-email: APIVerve <hello@apiverve.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://apiverve.com/marketplace/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=homepage
8
+ Project-URL: Documentation, https://docs.apiverve.com/ref/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=docs
9
+ Project-URL: Repository, https://github.com/apiverve/filesizeformatter-api
10
+ Project-URL: Twitter, https://twitter.com/apivervehq
11
+ Keywords: file size,bytes converter,kb mb gb,file size formatter,storage size
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Topic :: Internet :: WWW/HTTP
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Classifier: Natural Language :: English
19
+ Requires-Python: >=3.9
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: requests>=2.25.0
23
+ Dynamic: license-file
24
+
25
+ File Size Formatter API
26
+ ============
27
+
28
+ File Size Formatter converts raw byte counts into human-readable file size strings. Send a byte count with optional precision and unit settings to receive formatted labels, unit names, and scaled numeric values.
29
+
30
+
31
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-filesizeformatter.svg)](https://pypi.org/project/apiverve-filesizeformatter/)
32
+
33
+ This is a Python wrapper for the [File Size Formatter API](https://apiverve.com/marketplace/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=readme)
34
+
35
+ ---
36
+
37
+ ## Installation
38
+
39
+ Using `pip`:
40
+
41
+ ```bash
42
+ pip install apiverve-filesizeformatter
43
+ ```
44
+
45
+ Using `pip3`:
46
+
47
+ ```bash
48
+ pip3 install apiverve-filesizeformatter
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Configuration
54
+
55
+ Before using the File Size Formatter API client, you have to setup your account and obtain your API Key.
56
+ You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=pypi&utm_medium=referral&utm_content=readme)
57
+
58
+ ---
59
+
60
+ ## Quick Start
61
+
62
+ Here's a simple example to get you started quickly:
63
+
64
+ ```python
65
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
66
+
67
+ # Initialize the client with your APIVerve API key
68
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
69
+
70
+ query = {
71
+ "bytes": 1073741824,
72
+ "unit": "GB",
73
+ "precision": 2,
74
+ "standard": "binary"
75
+ }
76
+
77
+ try:
78
+ # Make the API call
79
+ result = api.execute(query)
80
+
81
+ # Print the result
82
+ print(result)
83
+ except Exception as e:
84
+ print(f"Error: {e}")
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Usage
90
+
91
+ The File Size Formatter API documentation is found here: [https://docs.apiverve.com/ref/filesizeformatter](https://docs.apiverve.com/ref/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=readme).
92
+ You can find parameters, example responses, and status codes documented here.
93
+
94
+ ### Setup
95
+
96
+ ```python
97
+ # Import the client module
98
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
99
+
100
+ # Initialize the client with your APIVerve API key
101
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Perform Request
107
+
108
+ Using the API client, you can perform requests to the API.
109
+
110
+ ###### Define Query
111
+
112
+ ```python
113
+ query = {
114
+ "bytes": 1073741824,
115
+ "unit": "GB",
116
+ "precision": 2,
117
+ "standard": "binary"
118
+ }
119
+ ```
120
+
121
+ ###### Simple Request
122
+
123
+ ```python
124
+ # Make a request to the API
125
+ result = api.execute(query)
126
+
127
+ # Print the result
128
+ print(result)
129
+ ```
130
+
131
+ ###### Example Response
132
+
133
+ ```json
134
+ {
135
+ "status": "ok",
136
+ "error": null,
137
+ "data": {
138
+ "bytes": 1073741824,
139
+ "formatted": "1 GiB",
140
+ "value": 1,
141
+ "unit": "GiB",
142
+ "standard": "binary",
143
+ "precision": 2,
144
+ "conversions": {
145
+ "B": 1073741824,
146
+ "KiB": 1048576,
147
+ "MiB": 1024,
148
+ "GiB": 1,
149
+ "TiB": 0,
150
+ "PiB": 0,
151
+ "EiB": 0,
152
+ "ZiB": 0,
153
+ "YiB": 0
154
+ }
155
+ }
156
+ }
157
+ ```
158
+
159
+ ---
160
+
161
+ ## Error Handling
162
+
163
+ The API client provides comprehensive error handling through the `FilesizeformatterAPIClientError` exception. Here are some examples:
164
+
165
+ ### Basic Error Handling
166
+
167
+ ```python
168
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
169
+
170
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
171
+
172
+ query = {
173
+ "bytes": 1073741824,
174
+ "unit": "GB",
175
+ "precision": 2,
176
+ "standard": "binary"
177
+ }
178
+
179
+ try:
180
+ result = api.execute(query)
181
+ print("Success!")
182
+ print(result)
183
+ except FilesizeformatterAPIClientError as e:
184
+ print(f"API Error: {e.message}")
185
+ if e.status_code:
186
+ print(f"Status Code: {e.status_code}")
187
+ if e.response:
188
+ print(f"Response: {e.response}")
189
+ ```
190
+
191
+ ### Handling Specific Error Types
192
+
193
+ ```python
194
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
195
+
196
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
197
+
198
+ query = {
199
+ "bytes": 1073741824,
200
+ "unit": "GB",
201
+ "precision": 2,
202
+ "standard": "binary"
203
+ }
204
+
205
+ try:
206
+ result = api.execute(query)
207
+
208
+ # Check for successful response
209
+ if result.get('status') == 'success':
210
+ print("Request successful!")
211
+ print(result.get('data'))
212
+ else:
213
+ print(f"API returned an error: {result.get('error')}")
214
+
215
+ except FilesizeformatterAPIClientError as e:
216
+ # Handle API client errors
217
+ if e.status_code == 401:
218
+ print("Unauthorized: Invalid API key")
219
+ elif e.status_code == 429:
220
+ print("Rate limit exceeded")
221
+ elif e.status_code >= 500:
222
+ print("Server error - please try again later")
223
+ else:
224
+ print(f"API error: {e.message}")
225
+ except Exception as e:
226
+ # Handle unexpected errors
227
+ print(f"Unexpected error: {str(e)}")
228
+ ```
229
+
230
+ ### Using Context Manager (Recommended)
231
+
232
+ The client supports the context manager protocol for automatic resource cleanup:
233
+
234
+ ```python
235
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
236
+
237
+ query = {
238
+ "bytes": 1073741824,
239
+ "unit": "GB",
240
+ "precision": 2,
241
+ "standard": "binary"
242
+ }
243
+
244
+ # Using context manager ensures proper cleanup
245
+ with FilesizeformatterAPIClient("[YOUR_API_KEY]") as api:
246
+ try:
247
+ result = api.execute(query)
248
+ print(result)
249
+ except FilesizeformatterAPIClientError as e:
250
+ print(f"Error: {e.message}")
251
+ # Session is automatically closed here
252
+ ```
253
+
254
+ ---
255
+
256
+ ## Advanced Features
257
+
258
+ ### Debug Mode
259
+
260
+ Enable debug logging to see detailed request and response information:
261
+
262
+ ```python
263
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
264
+
265
+ # Enable debug mode
266
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]", debug=True)
267
+
268
+ query = {
269
+ "bytes": 1073741824,
270
+ "unit": "GB",
271
+ "precision": 2,
272
+ "standard": "binary"
273
+ }
274
+
275
+ # Debug information will be printed to console
276
+ result = api.execute(query)
277
+ ```
278
+
279
+ ### Manual Session Management
280
+
281
+ If you need to manually manage the session lifecycle:
282
+
283
+ ```python
284
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
285
+
286
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
287
+
288
+ query = {
289
+ "bytes": 1073741824,
290
+ "unit": "GB",
291
+ "precision": 2,
292
+ "standard": "binary"
293
+ }
294
+
295
+ try:
296
+ result = api.execute(query)
297
+ print(result)
298
+ finally:
299
+ # Manually close the session when done
300
+ api.close()
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Customer Support
306
+
307
+ Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=pypi&utm_medium=referral&utm_content=readme).
308
+
309
+ ---
310
+
311
+ ## Updates
312
+ Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
313
+
314
+ ---
315
+
316
+ ## Legal
317
+
318
+ All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=pypi&utm_medium=referral&utm_content=readme) and all legal documents and agreements.
319
+
320
+ ---
321
+
322
+ ## License
323
+ Licensed under the MIT License (MIT)
324
+
325
+ Copyright (&copy;) 2026 APIVerve, and EvlarSoft LLC
326
+
327
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
328
+
329
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
330
+
331
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,307 @@
1
+ File Size Formatter API
2
+ ============
3
+
4
+ File Size Formatter converts raw byte counts into human-readable file size strings. Send a byte count with optional precision and unit settings to receive formatted labels, unit names, and scaled numeric values.
5
+
6
+
7
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-filesizeformatter.svg)](https://pypi.org/project/apiverve-filesizeformatter/)
8
+
9
+ This is a Python wrapper for the [File Size Formatter API](https://apiverve.com/marketplace/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=readme)
10
+
11
+ ---
12
+
13
+ ## Installation
14
+
15
+ Using `pip`:
16
+
17
+ ```bash
18
+ pip install apiverve-filesizeformatter
19
+ ```
20
+
21
+ Using `pip3`:
22
+
23
+ ```bash
24
+ pip3 install apiverve-filesizeformatter
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Configuration
30
+
31
+ Before using the File Size Formatter API client, you have to setup your account and obtain your API Key.
32
+ You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=pypi&utm_medium=referral&utm_content=readme)
33
+
34
+ ---
35
+
36
+ ## Quick Start
37
+
38
+ Here's a simple example to get you started quickly:
39
+
40
+ ```python
41
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
42
+
43
+ # Initialize the client with your APIVerve API key
44
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
45
+
46
+ query = {
47
+ "bytes": 1073741824,
48
+ "unit": "GB",
49
+ "precision": 2,
50
+ "standard": "binary"
51
+ }
52
+
53
+ try:
54
+ # Make the API call
55
+ result = api.execute(query)
56
+
57
+ # Print the result
58
+ print(result)
59
+ except Exception as e:
60
+ print(f"Error: {e}")
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Usage
66
+
67
+ The File Size Formatter API documentation is found here: [https://docs.apiverve.com/ref/filesizeformatter](https://docs.apiverve.com/ref/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=readme).
68
+ You can find parameters, example responses, and status codes documented here.
69
+
70
+ ### Setup
71
+
72
+ ```python
73
+ # Import the client module
74
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
75
+
76
+ # Initialize the client with your APIVerve API key
77
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Perform Request
83
+
84
+ Using the API client, you can perform requests to the API.
85
+
86
+ ###### Define Query
87
+
88
+ ```python
89
+ query = {
90
+ "bytes": 1073741824,
91
+ "unit": "GB",
92
+ "precision": 2,
93
+ "standard": "binary"
94
+ }
95
+ ```
96
+
97
+ ###### Simple Request
98
+
99
+ ```python
100
+ # Make a request to the API
101
+ result = api.execute(query)
102
+
103
+ # Print the result
104
+ print(result)
105
+ ```
106
+
107
+ ###### Example Response
108
+
109
+ ```json
110
+ {
111
+ "status": "ok",
112
+ "error": null,
113
+ "data": {
114
+ "bytes": 1073741824,
115
+ "formatted": "1 GiB",
116
+ "value": 1,
117
+ "unit": "GiB",
118
+ "standard": "binary",
119
+ "precision": 2,
120
+ "conversions": {
121
+ "B": 1073741824,
122
+ "KiB": 1048576,
123
+ "MiB": 1024,
124
+ "GiB": 1,
125
+ "TiB": 0,
126
+ "PiB": 0,
127
+ "EiB": 0,
128
+ "ZiB": 0,
129
+ "YiB": 0
130
+ }
131
+ }
132
+ }
133
+ ```
134
+
135
+ ---
136
+
137
+ ## Error Handling
138
+
139
+ The API client provides comprehensive error handling through the `FilesizeformatterAPIClientError` exception. Here are some examples:
140
+
141
+ ### Basic Error Handling
142
+
143
+ ```python
144
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
145
+
146
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
147
+
148
+ query = {
149
+ "bytes": 1073741824,
150
+ "unit": "GB",
151
+ "precision": 2,
152
+ "standard": "binary"
153
+ }
154
+
155
+ try:
156
+ result = api.execute(query)
157
+ print("Success!")
158
+ print(result)
159
+ except FilesizeformatterAPIClientError as e:
160
+ print(f"API Error: {e.message}")
161
+ if e.status_code:
162
+ print(f"Status Code: {e.status_code}")
163
+ if e.response:
164
+ print(f"Response: {e.response}")
165
+ ```
166
+
167
+ ### Handling Specific Error Types
168
+
169
+ ```python
170
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
171
+
172
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
173
+
174
+ query = {
175
+ "bytes": 1073741824,
176
+ "unit": "GB",
177
+ "precision": 2,
178
+ "standard": "binary"
179
+ }
180
+
181
+ try:
182
+ result = api.execute(query)
183
+
184
+ # Check for successful response
185
+ if result.get('status') == 'success':
186
+ print("Request successful!")
187
+ print(result.get('data'))
188
+ else:
189
+ print(f"API returned an error: {result.get('error')}")
190
+
191
+ except FilesizeformatterAPIClientError as e:
192
+ # Handle API client errors
193
+ if e.status_code == 401:
194
+ print("Unauthorized: Invalid API key")
195
+ elif e.status_code == 429:
196
+ print("Rate limit exceeded")
197
+ elif e.status_code >= 500:
198
+ print("Server error - please try again later")
199
+ else:
200
+ print(f"API error: {e.message}")
201
+ except Exception as e:
202
+ # Handle unexpected errors
203
+ print(f"Unexpected error: {str(e)}")
204
+ ```
205
+
206
+ ### Using Context Manager (Recommended)
207
+
208
+ The client supports the context manager protocol for automatic resource cleanup:
209
+
210
+ ```python
211
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
212
+
213
+ query = {
214
+ "bytes": 1073741824,
215
+ "unit": "GB",
216
+ "precision": 2,
217
+ "standard": "binary"
218
+ }
219
+
220
+ # Using context manager ensures proper cleanup
221
+ with FilesizeformatterAPIClient("[YOUR_API_KEY]") as api:
222
+ try:
223
+ result = api.execute(query)
224
+ print(result)
225
+ except FilesizeformatterAPIClientError as e:
226
+ print(f"Error: {e.message}")
227
+ # Session is automatically closed here
228
+ ```
229
+
230
+ ---
231
+
232
+ ## Advanced Features
233
+
234
+ ### Debug Mode
235
+
236
+ Enable debug logging to see detailed request and response information:
237
+
238
+ ```python
239
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
240
+
241
+ # Enable debug mode
242
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]", debug=True)
243
+
244
+ query = {
245
+ "bytes": 1073741824,
246
+ "unit": "GB",
247
+ "precision": 2,
248
+ "standard": "binary"
249
+ }
250
+
251
+ # Debug information will be printed to console
252
+ result = api.execute(query)
253
+ ```
254
+
255
+ ### Manual Session Management
256
+
257
+ If you need to manually manage the session lifecycle:
258
+
259
+ ```python
260
+ from apiverve_filesizeformatter.apiClient import FilesizeformatterAPIClient
261
+
262
+ api = FilesizeformatterAPIClient("[YOUR_API_KEY]")
263
+
264
+ query = {
265
+ "bytes": 1073741824,
266
+ "unit": "GB",
267
+ "precision": 2,
268
+ "standard": "binary"
269
+ }
270
+
271
+ try:
272
+ result = api.execute(query)
273
+ print(result)
274
+ finally:
275
+ # Manually close the session when done
276
+ api.close()
277
+ ```
278
+
279
+ ---
280
+
281
+ ## Customer Support
282
+
283
+ Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=pypi&utm_medium=referral&utm_content=readme).
284
+
285
+ ---
286
+
287
+ ## Updates
288
+ Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
289
+
290
+ ---
291
+
292
+ ## Legal
293
+
294
+ All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=pypi&utm_medium=referral&utm_content=readme) and all legal documents and agreements.
295
+
296
+ ---
297
+
298
+ ## License
299
+ Licensed under the MIT License (MIT)
300
+
301
+ Copyright (&copy;) 2026 APIVerve, and EvlarSoft LLC
302
+
303
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
304
+
305
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
306
+
307
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ [project]
2
+ name = "apiverve-filesizeformatter"
3
+ version = "1.2.4"
4
+ authors = [
5
+ { name="APIVerve", email="hello@apiverve.com" },
6
+ ]
7
+ description = "File Size Formatter converts raw byte counts into human-readable file size strings. Send a byte count with optional precision and unit settings to receive formatted labels, unit names, and scaled numeric values."
8
+ keywords = ["file size", "bytes converter", "kb mb gb", "file size formatter", "storage size"]
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = {text = "MIT"}
12
+ dependencies = [
13
+ "requests>=2.25.0"
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Programming Language :: Python :: 3",
18
+ "Operating System :: OS Independent",
19
+ "Intended Audience :: Developers",
20
+ "Topic :: Internet :: WWW/HTTP",
21
+ "Topic :: Software Development :: Libraries :: Python Modules",
22
+ "Natural Language :: English",
23
+ ]
24
+
25
+ [project.urls]
26
+ Homepage = "https://apiverve.com/marketplace/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=homepage"
27
+ Documentation = "https://docs.apiverve.com/ref/filesizeformatter?utm_source=pypi&utm_medium=referral&utm_content=docs"
28
+ Repository = "https://github.com/apiverve/filesizeformatter-api"
29
+ Twitter = "https://twitter.com/apivervehq"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from .apiClient import FilesizeformatterAPIClient, FilesizeformatterAPIClientError
2
+
3
+ __all__ = ['FilesizeformatterAPIClient', 'FilesizeformatterAPIClientError']