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-0.1.4.tar.gz (15.5 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.4-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fxutil-0.1.4.tar.gz
  • Upload date:
  • Size: 15.5 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.4.tar.gz
Algorithm Hash digest
SHA256 1c8af81c1599f927533c4c447373d3ec5cdebba8bcbe800d446015e14d16a833
MD5 ba2a09d59c9a0aef76eaaa5b244f5339
BLAKE2b-256 1c9118891c7f2379ace673d93a1b7a3132f9e1422c2ab0fcc12cd5f73bc6ce08

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fxutil-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e4d4339869167007fe067a86cdb2f90ce3869b97a0b0e62bf432af5e87edbae
MD5 69b8fa02e87e647715dc411675787c87
BLAKE2b-256 97c19a9c4526bbb657dec9e060167537dfe52aaf57ad91cc16bfc29a17556e1a

See more details on using hashes here.

Provenance

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