Skip to main content

Some handy tools...

Project description

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

Scarcely documented.

Some hints

Getting started

Needs Python 3.8 or later.

Either do this:

pip install -U "fxutil @ git+https://github.com/fxjung/fxutil"

or clone the repository etc.:

git clone https://github.com/fxjung/fxutil.git
cd fxutil
pip install -e .

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-0.1.1.post1.tar.gz (15.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-0.1.1.post1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file fxutil-0.1.1.post1.tar.gz.

File metadata

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

File hashes

Hashes for fxutil-0.1.1.post1.tar.gz
Algorithm Hash digest
SHA256 299a3b0d383e41226a657174ab59aefa141014a3fb96dd1044148f21dc9426e9
MD5 e288d2b5e4c35eb9edd1837a015b9c83
BLAKE2b-256 ce1cfaa310e2c0546ff00888509ec64971e9a1e26f57343390aad69ff00cbf69

See more details on using hashes here.

Provenance

The following attestation bundles were made for fxutil-0.1.1.post1.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-0.1.1.post1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fxutil-0.1.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7e8cb9a43844d949aa11bd3810e67016327749f68e67fc924116a060aab1322
MD5 3a54d6b00947c6abadaa18424a0c19e2
BLAKE2b-256 ec44b6a99401957b32a6abd17108291efa256f9c7def9a3738f361798752494b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fxutil-0.1.1.post1-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