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.1.tar.gz (199.0 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.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fxutil-2.1.tar.gz
  • Upload date:
  • Size: 199.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for fxutil-2.1.tar.gz
Algorithm Hash digest
SHA256 cd8654b884d1d53ac9ed5b131dd465730462fc6be752ac343d5123c6b992ed6b
MD5 14e38ee84c23391cfda7c83aef6501f8
BLAKE2b-256 4cafc83218bd87023f5ed8dd9ab1274b6f6aa3093fcedcce354df7ce14e23b62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fxutil-2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for fxutil-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa74d139336c3bd9302ddf086e4b1356e761f95552780ac5a4e665e2e45b9070
MD5 7a92700ea3315838df7f21c0058a7075
BLAKE2b-256 178e397d712aa3f698eb2a6e2f693f4ec2fbb4a6af2df090bab0723fcb7be29a

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