Unification and collection of algorithms used in physics
Project description
[](https://badge.fury.io/py/uniphy)
[](https://travis-ci.org/Phynix/uniphy)
[](https://landscape.io/github/Phynix/uniphy/master)
[](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")
```
[](https://travis-ci.org/Phynix/uniphy)
[](https://landscape.io/github/Phynix/uniphy/master)
[](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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uniphy-0.0.3.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uniphy-0.0.3.tar.gz.
File metadata
- Download URL: uniphy-0.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa48c0f52763b29643fe210e1f243b7e2d8dfd1f5e7b28c44d1001e339b9f994
|
|
| MD5 |
a162d52b829ac7cac66da30936256548
|
|
| BLAKE2b-256 |
5fea2c150975817b11e9b5090a5f30931cc5efd84f80f95d06447ae7486f5dfa
|
File details
Details for the file uniphy-0.0.3-py3-none-any.whl.
File metadata
- Download URL: uniphy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3a5c6df4a88c4c8e574402243103a1a7f19a2d3e8b57c91422c7d6b29de675b
|
|
| MD5 |
05a50e8f5f282dd2aad0e5e5a0a2b7a7
|
|
| BLAKE2b-256 |
4a424d5f30cce305c0d1951937dd5b78371bb52d1220bc43fb4b46645005a7f1
|