Skip to main content

Unification and collection of algorithms used in physics

Project description

[![PyPI version](https://badge.fury.io/py/uniphy.svg)](https://badge.fury.io/py/uniphy)
[![Build Status](https://travis-ci.org/Phynix/uniphy.svg?branch=master)](https://travis-ci.org/Phynix/uniphy)
[![Code Health](https://landscape.io/github/Phynix/uniphy/master/landscape.svg?style=flat)](https://landscape.io/github/Phynix/uniphy/master)
[![Dependency Status](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c)


# uniphy
Uniphy stands for "**Uni**versity **Phy**sics". The package focuses on specialised functionality for research and teaching on university level without a focus on a certain branch of physics or science. It is part of the Phynix project.

## Current projects

The package is still in its early stage of planning and first implementations. It is currently not usable for any production-like application.


### Output

What if "print" would simply save everything also into a file if I want to and not if I don't want to? Or if only those "prints" will be saved which I want to be saved?

The answer is **Output** which does exactly the above (and more). But most of all, it does not change anything if not wanted.

Simply replace **every** print with out.print. And everything works as usual. One line will let you save the output. If you like. And won't if you don't.

Minimal example:

```python
import uniphy as up

out = up.output()
out.print("Same as print", "\nBut I can be saved as well.")

OR

out = up.output("/my/path/to/folder")
out.print("Same as print again, but will be saved this time")
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for uniphy, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size uniphy-0.0.3-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size uniphy-0.0.3.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page