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.0.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.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parkerpy-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c28a33bc014ed6c0a6f040cb5fc47f89b55c202005c957e4df62c60c9b8ad021
MD5 2eaf9782ea7691854d7c2200c2e76520
BLAKE2b-256 776cef1ee3738dd0898116c38411ecde6071d4aa898efc9c733e5f3e16f16dff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: parkerpy-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb8b5141f7a4680d27f1eac20815055abb3f331414ce3841a68334457e4c11fc
MD5 7fd66caa6f7fa119cf3e25d5679896be
BLAKE2b-256 684e3fb2adf45ca4794744b0f348a3afcc92f8c57c0ea4abd82c3bf0c6c709cf

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