Skip to main content

A Python package for calculating factorials

Project description

PyFactorial

This is a simple Python package for calculating factorials.

Installation

You can install PyFactorial using pip:

pip install pyfactorial

Usage

To use the factorial function in your Python code, first import it:

from pyfactorial.module import factorial

Then, you can calculate the factorial of a non-negative integer:

result = factorial(5)
print(f"The factorial of 5 is {result}")

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

pyfactorial-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

pyfactorial-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfactorial-0.0.1.tar.gz.

File metadata

  • Download URL: pyfactorial-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for pyfactorial-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d9c7eea9170e369f440a9ea3f58390a4cf9c90c6381a1277b18092f546c4d6ec
MD5 b2275a1816255df8a65b599e0fbdd477
BLAKE2b-256 948a2cd69e6fa1d111c6bb9edaeaa07814e9e3bfb68395755ee310c5662cb8d6

See more details on using hashes here.

File details

Details for the file pyfactorial-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyfactorial-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for pyfactorial-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32cfd0cd1bb9b8471b6af2b37555f2d42ef075807b0cda661607d05e2671799f
MD5 2b05dbb8b97468cbfd870c3c20a852fb
BLAKE2b-256 0b23410a4e4e46432ed57efc152c2895e9e390958a3e509276fdbc75c779a002

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