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.8 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 black.

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")

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-1.1.tar.gz (16.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-1.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fxutil-1.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fxutil-1.1.tar.gz
Algorithm Hash digest
SHA256 a43d28c676946b9033f56667299dae6be94f577229fea9e1467cd12474d55416
MD5 f78dc822aeff67a4e4bc660d4fc1b043
BLAKE2b-256 ccf04042fe79327475ffd56b87555329f03a57a34bb1eb3e0e6808bc7cdf976f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fxutil-1.1.tar.gz:

Publisher: release.yml on fxjung/fxutil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: fxutil-1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fxutil-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 862ed93655795f3b3ef331305e0451b092d5ecff42ec5f897d483500074a17db
MD5 93739e13424aeec732d86899e0bbe74d
BLAKE2b-256 60faf6c3aae3d357cb96b48bf69c4843ef2b3200fa7f40068d84ca22dcc23781

See more details on using hashes here.

Provenance

The following attestation bundles were made for fxutil-1.1-py3-none-any.whl:

Publisher: release.yml on fxjung/fxutil

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