Skip to main content

Python utils for fseasy scope.

Project description

fs-pyutils

PyPI version Python PyPI status

Small Python utilities for the fseasy scope.

Installation

uv add fs-pyutils

Or with pip:

pip install fs-pyutils

What It Does

fs-pyutils provides lightweight reusable Python helpers that can be shared across projects.

Please note that we didn't install necessary dependencies for the utils as it should be installed in your main repo.

Features

  • Build structured logging helpers for syslog-based deployments.
  • Add Gunicorn logging helpers for JSON/syslog output.
  • Provide systemd notify helpers for FastAPI services and DB watchdog integration.
  • Import a Python module directly from a file path.
  • Convert audio bytes to MP3 bytes with ffmpeg.

Usage

from fs_pyutils.import import import_module_from_path

module = import_module_from_path("local_conf", "./conf.py")
from fs_pyutils.audio import audio_to_mp3_bytes

mp3_bytes = audio_to_mp3_bytes(audio_bytes)

PyPI

Project page: https://pypi.org/project/fs-pyutils/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fs_pyutils-1.1.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fs_pyutils-1.1.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file fs_pyutils-1.1.1.tar.gz.

File metadata

  • Download URL: fs_pyutils-1.1.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fs_pyutils-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ab35d5720da213228209a6e55b648650fb62e5cdd22b7ac90b34d405e0de850a
MD5 4adff572e7fad90e9f4ac3e52054cc2d
BLAKE2b-256 26df7e41e51e5787909ca9b39621bf8c79d56374c86731eeebb7b1ba4073fede

See more details on using hashes here.

Provenance

The following attestation bundles were made for fs_pyutils-1.1.1.tar.gz:

Publisher: release2pypi.yml on fseasy/fs-pyutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fs_pyutils-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: fs_pyutils-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fs_pyutils-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93826787acc000237233e17fa61eaa4c2dbf50297fb38490877f81d8d5ad59ea
MD5 db53a4d3b6da997177d055910ebb4e3e
BLAKE2b-256 b412405c382f8c51e14a91a763e3900904c8af2ac6eb341fed9cb017de642d92

See more details on using hashes here.

Provenance

The following attestation bundles were made for fs_pyutils-1.1.1-py3-none-any.whl:

Publisher: release2pypi.yml on fseasy/fs-pyutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page