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.3.1.post3.tar.gz (130.6 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.3.1.post3-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file fxutil-2.3.1.post3.tar.gz.

File metadata

  • Download URL: fxutil-2.3.1.post3.tar.gz
  • Upload date:
  • Size: 130.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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.3.1.post3.tar.gz
Algorithm Hash digest
SHA256 eed7950ecf603ace0878b5984af1201b9da9aa0266325181759eae06be6e9d21
MD5 cd41414c105a8e62547212407a6dc5e3
BLAKE2b-256 35e81ef59c3dc8014b1e2fc9bb2d16d2601b6605265789fcb50c20dcbea43fa3

See more details on using hashes here.

File details

Details for the file fxutil-2.3.1.post3-py3-none-any.whl.

File metadata

  • Download URL: fxutil-2.3.1.post3-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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.3.1.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 f8e0dd9a2ef3bfcd4987b2aeaeb08f89cd41847b9c58feeefe3e26f489d35355
MD5 cebcc876842609c6fd4c5149d26e7885
BLAKE2b-256 a8b0e4c3aab7987ed4de2c7389bb5e71f7e62705f1c54599eb4d9f74034feae4

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