Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-sci-calc is a simple python app that just runs a ptpython REPL with some modules/utils that are useful for scientific calculations pre-configured.

Example:

$ mkdir calc
$ cd calc
$ uv venv
$ uv pip install py-sci-calc
$ uv run py-sci-calc
>>> print("hello world")
>>> x = Q_(15,'cm')
>>> t = Q_(200, 'ms')
>>> v = x/t
>>> v
<Quantity(0.075, 'centimeter / millisecond')>
>>> v.to("mph")
<Quantity(1.67770222, 'mile_per_hour')>

This app does not do anything you couldn't do with a ptpython init script. It just automates the process of installing all the dependencies and setting up the modules.

About

Replace your scientific calculator with python.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages