Skip to main content

Some handy tools...

Project description

Tests PyPI release

f(x)util---A bunch of utilities to do things.

Scarcely documented.

Some hints

Getting started

Needs Python 3.10 or later.

pip install fxutil

Contributing

Happy to take pull requests!

git clone git@github.com:fxjung/fxutil.git
cd fxutil
pip install -e .
pre-commit install
pytest

Code style is ruff.

CLI commands

In general, try fxutil <cmd> --help to get more help.

  • fxutil manuscript package -- Package a scientfic manuscript into a journal-digestible zip file

SaveFigure

Use like:

from fxutil.imports.general import *

sf = SaveFigure()


def draw_plot():
    fig, ax = figax()
    ax.plot(*evf(np.r_[-1:1:100j], lambda x: x**2))


sf(draw_plot, "my cute figure")

Releasing a new version

git push
gh release create v<version> --generate-notes

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

fxutil-2.2.tar.gz (223.2 kB view details)

Uploaded Source

Built Distribution

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

fxutil-2.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file fxutil-2.2.tar.gz.

File metadata

  • Download URL: fxutil-2.2.tar.gz
  • Upload date:
  • Size: 223.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fxutil-2.2.tar.gz
Algorithm Hash digest
SHA256 8a829c1fe78c5d95dfbfea364dcac69baf67d72defe674d2d159c9e9f4561453
MD5 482f965edf1e312938a5c6dc4f67b918
BLAKE2b-256 14438b831145ada6eac9b43f1a197ad36cf3408bb41ba1093fcf3a73dd368014

See more details on using hashes here.

File details

Details for the file fxutil-2.2-py3-none-any.whl.

File metadata

  • Download URL: fxutil-2.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fxutil-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 420574ad2800d522ec1a58ce7e5afbe04bd336c7f7bb281ca6adac3ef1cebc38
MD5 e8ce5a27e37e9fa7e6f5bc9cfbdc00e8
BLAKE2b-256 b1e4836537b0eca01cb2adfde6bdfc26f56c7f07f651ec993563afa0e559b224

See more details on using hashes here.

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