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-2.0.0.tar.gz (8.0 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-2.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fs_pyutils-2.0.0.tar.gz
Algorithm Hash digest
SHA256 dcde1b28885aa7a19376ae09d8f4fda909aed28dd69216f0ea46f260218e0bce
MD5 89df7bcd1411efcd2cfa325af46c7d50
BLAKE2b-256 4ecb52e48ab21f6b3167aaae58512e238fbd19d7c84c993c69703b05d6bef29d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fs_pyutils-2.0.0.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-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: fs_pyutils-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab875ca19bfac5278318d8e67bb49a6e1c6f8d5963b2d349b82384aa82b01ba
MD5 cff9b94bef619db61e1a3a9790de03f2
BLAKE2b-256 6b6f45376827a15240c587c80c1a53cab0f455d63d0e7554a50330050c91e671

See more details on using hashes here.

Provenance

The following attestation bundles were made for fs_pyutils-2.0.0-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