Skip to main content

With advancements in Pi accuracy it's hard to keep up to date with the latest versions of Pi. Additionally it can be useful to pin specific versions of Pi for consistency in projects. parkerpy solves this issue by providing versioned reference values for pi without requiring modifying existing code by patching math.pi.

Project description

ParkerPy

With advancements in Pi accuracy it's hard to keep up to date with the latest versions of Pi. Additionally it can be useful to pin specific versions of Pi for consistency in projects. parkerpy solves this issue by providing versioned reference values for pi without requiring modifying existing code by patching math.pi.

Usage

Pi Day 2013

from parkerpy import piday_2013
import math
math.pi
> 3.13834

Source

Pre Pi Day 2015

from parkerpy import pre_piday_2015
import math
math.pi
> 3.1512 

Source

Pi Day 2015

from parkerpy import piday_2015
import math
math.pi
>  3.128 

Source

Pi Day 2016

from parkerpy import piday_2016
import math
math.pi
>  3.04

Source

Pi Day 2017

from parkerpy import piday_2017
import math
math.pi
>  3.05238478336799

Source

Pi Day 2018 (First Term)

from parkerpy import piday_2018_first_term
import math
math.pi
>  3.1415927

Source

Pi Day 2018

from parkerpy import piday_2018
import math
math.pi
>  3.141592

Source

Pi Day 2019

from parkerpy import piday_2019
import math
math.pi
>  3.11791

Source

Pi Day 2020

from parkerpy import piday_2020
import math
math.pi
> 3.141592653589793238462

Source

Pi Day 2021

from parkerpy import piday_2021
import math
math.pi
> 3.875

Source

Pi Day 2022

from parkerpy import piday_2022
import math
math.pi
> 3.14159265358979523

Source

Pi Day 2023

from parkerpy import piday_2023
import math
math.pi
> 3.117

Source

Pi Day 2024

from parkerpy import piday_2024
import math
math.pi
> 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223176

Source

Pi Day 2025

from parkerpy import piday_list
import math
math.pi
> 3.125

Source

Pi Day 2026

from parkerpy import piday_2026
import math
math.pi
> 3.2265927137573907

Source

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

parkerpy-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

parkerpy-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file parkerpy-0.1.1.tar.gz.

File metadata

  • Download URL: parkerpy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.3 Darwin/25.2.0

File hashes

Hashes for parkerpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0d2f664e03e5b6dcf17b215b6eae1a477e35c99f638efa2b1557e91d22a94fda
MD5 d48d4d95824f2e59e9f96b4a4bf8fd26
BLAKE2b-256 1469e20eb0b1516e67541c73ee78d1c3a4907a96611f55336a160d229c1cba34

See more details on using hashes here.

File details

Details for the file parkerpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: parkerpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.3 Darwin/25.2.0

File hashes

Hashes for parkerpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ce047a68d58930b902e0db9a150fcb90f2cfe460c4e9d60a402a0f9fc70518b
MD5 8560ad2354c87bb5491af36993479d78
BLAKE2b-256 9ca75893fa7137b992931162345ff3c87f006ac31586ffa3e8019a54d30003d9

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