Skip to content

fxjung/fxutil

Repository files navigation

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

About

some utils

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages