syf's work bench - common development utilities
Project description
syfwb (syf's work bench)
Common development utilities for Python projects.
Features
- IO: Easy read/write for JSON and JSONL files.
- Client: Wrapper for OpenAI API calls.
- Utils: Retry mechanisms for robust function execution.
Usage
from syfwb import io, client, utils
# JSON IO
data = io.read_json("data.json")
io.write_jsonl("output.jsonl", data)
# OpenAI
response = client.call_openai(messages=[...])
# Retry
@utils.retry(max_attempts=3)
def unstable_func():
...
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
syfwb-0.1.0.tar.gz
(3.8 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
syfwb-0.1.0-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file syfwb-0.1.0.tar.gz.
File metadata
- Download URL: syfwb-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a98f9d72b606b2a90540a2dd6aae19390453656fc03639fc02663c2973fdf821
|
|
| MD5 |
82f2399e025a22620b7914c2dbec1969
|
|
| BLAKE2b-256 |
fdedb861bd5340720b5376f4f5ff261592dc2260b992e22e4d538320856b0ffa
|
File details
Details for the file syfwb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: syfwb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5edf4f347176be28010f8d4edba959dd454ebad556d3532763db68b6d7cb130
|
|
| MD5 |
4f7ece703545ac84d0ce4205256abb53
|
|
| BLAKE2b-256 |
2dd59dcde3b9d3d59f85accac77036d86e7069e8e403047d1ebe097abc4918b2
|