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.0.0.tar.gz (16.2 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.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fxutil-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0d40ee11e7acdfbf169c61117f31505d506c65b91df18a9950529617136dcdd2
MD5 a08db8b345da9f52f399d90380f75c6d
BLAKE2b-256 4104f1cecd67c2c5028e5f53c5f18c6fc317d5ec1f0925a6d1c141e9dd98e561

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fxutil-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86b4d519d45ccef4128365ebee3926589f8dfdd93fe8c3fede2c7de4437d9b6e
MD5 d11e549e8fb87ff2935785ee0e678ec8
BLAKE2b-256 65760b19e826b11b4d5400cb78ab41e27d31b8b168337e13db4ae04c81ad55ed

See more details on using hashes here.

Provenance

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