This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Calcupy is a simple Python 3 math expression evaluation (calculator) module. It evaluates complicated expressions given as python strings, and supports operations and math functions listed below.

You can easily add your own operators, functions, or specials to your own copy of the code just by adding it to the respective dictionary at the top of the source, following the syntax of already existing operators, functions, and specials.

The provided file is a very basic but working console calculator utilizing all of calcupy’s features, see it for an implmentation example.

Operators: + : Addition - : Subtraction * : Multiplication / : Division % : Modulo ^ : Exponent

Functions: sqrt(x) : Square Root sin(x) : Sine asin(x) : Inverse Sine (Arcsine) cos(x) : Cosine acos(x) : Inverse Cosine (Arccosine) tan(x) : Tangent atan(x) : Inverse Tangent (Arctangent) log(x) : Log Base 10 ln(x) : Natural Log pow(x,y) : Power Function (x^z)

Specials: pi : PI (3.141592653589793) e : Euler’s Number (2.718281828459045) ans : Previous Answer (Raises CalcSyntaxError if used on first call)

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
calcupy-1.0.tar.gz (4.0 kB) Copy SHA256 Checksum SHA256 Source Sep 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting