Skip to main content

Fractions implementation for Python

Project description

PyFract

A simple implementation of fraction numbers in Python. In some cases it is better than default Python library for fractions.

Instalation

pip install pyfract

Usage

from pyfract.fraction import Fraction

f = Fraction(1, 2)
print(f)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyfract-1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfract-1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyfract-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d000cdb35ec8d09356f5b78ec9f445b2005921030180328a7383eb31cb97040b
MD5 199ce9f29155bb32d3bdf640e317f50a
BLAKE2b-256 58ee9d9fe52de84b5564f22ab2583ab06cdb8bf4a6b956f59f985c85ade22408

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