Skip to main content

My personal Python shared package with lots of weird stuff.

Project description

LegLib

Leglib is just a bunch of utility modules that I wrote and like to use. One very handy one is a rounding function that rounds to significant digits: leglib.fmt.sigdig.

Source: https://github.com/joelegner/leglib

Installation

$ pipenv install leglib

Using

>>> from leglib.fmt import sigdig
>>> sigdig(3.843718473821748732184732)
'3.84'
>>> sigdig(3.843718473821748732184732, 5)
'3.84372'

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

leglib-0.0.4.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leglib-0.0.4-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

Details for the file leglib-0.0.4.tar.gz.

File metadata

  • Download URL: leglib-0.0.4.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for leglib-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b3ed2f8740f1ea0474794aec043c76281925d8eb7e35f880d97570650ee8f241
MD5 ebe1d25104b864bb2a313aa9dab07923
BLAKE2b-256 567284932090ab9189000179cb821c17a1e61c085f024035cd640805ff4f60d3

See more details on using hashes here.

File details

Details for the file leglib-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: leglib-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 81.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for leglib-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e966e1742d9fa1ae98a6c7e54ba4b7495320369b527c2928959dd2232c54b005
MD5 49f1aa89b60291468f01480bf1ff46a0
BLAKE2b-256 eff86f431b0281713d26c6fdfd91fbc13299b573c80a24dc6892406d433111c5

See more details on using hashes here.

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