A collection of basic python utilities.
Project description
bsutils: Basic Python Utilities
A collection of basic python utilities.
Installation
# With pip.
pip install bsutils
# Or pipx.
pipx install bsutils
# Or uv
uv pip install bsutils
Features
Json Utilities
get_item_num: Get the number of items in a JSON or JSONL file.iter_json_file: Iterate over a JSON or a JSONL file.load_json_file: Load a JSON or JSONL file.jsonl_to_json: Convert a JSONL file to a JSON file.json_to_jsonl: Convert a JSON file to a JSONL file.write_json_file: Write a JSON or JSONL file.
File Utilities
pure_file_name: Get the pure file name from a path, e.g., "document" for "/path/to/ducumnet.pdf".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bsutils-0.0.2.post1.tar.gz
(10.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bsutils-0.0.2.post1.tar.gz.
File metadata
- Download URL: bsutils-0.0.2.post1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36cf2b06261a4a099c0ceb8a1b027d01e54da613b1cfd3b0cf3fd38a147ab619
|
|
| MD5 |
5b481c4b0be9cf0e1addfb1944ec3f95
|
|
| BLAKE2b-256 |
29c92846a0f7e1ce486e507b9509753aef3696c7c3a67dceb95fa198260f99ee
|
File details
Details for the file bsutils-0.0.2.post1-py3-none-any.whl.
File metadata
- Download URL: bsutils-0.0.2.post1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef917cd41d218a060d4a8b0f6b3e2409484260cfed51d6251984ff3e7eec22f8
|
|
| MD5 |
e72f1a1275cc7a8c4583be3e22832e96
|
|
| BLAKE2b-256 |
c9fc016c64320f142f4b268d9a69a510ada7d75f3faed882089780629da77eb4
|