some readme updates
This commit is contained in:
parent
675d1b2aef
commit
aae542c8e5
1 changed files with 7 additions and 21 deletions
24
README.md
24
README.md
|
|
@ -15,18 +15,19 @@
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Dependencies:**
|
**Dependencies:**
|
||||||
* python 3.5 or newer
|
* python 3.6 or newer
|
||||||
* numpy
|
* numpy
|
||||||
|
* pytest (optional, testing)
|
||||||
|
* pytest-benchmark (optional, benchmarking)
|
||||||
|
|
||||||
Install with pip from PyPi (preferred):
|
Install with pip from PyPi (preferred):
|
||||||
```bash
|
```bash
|
||||||
pip install adze
|
pip3 install adze
|
||||||
```
|
```
|
||||||
|
|
||||||
Install directly from git repository:
|
Install directly from git repository:
|
||||||
```bash
|
```bash
|
||||||
pip install git+https://mpxd.net/code/jan/adze.git@release
|
pip3 install git+https://mpxd.net/code/jan/adze.git@release
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
@ -38,18 +39,3 @@ import adze
|
||||||
help(adze)
|
help(adze)
|
||||||
help(adze.split)
|
help(adze.split)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
TODO
|
|
||||||
Read an OASIS file and write it back out:
|
|
||||||
```python3
|
|
||||||
import fatamorgana
|
|
||||||
|
|
||||||
with open('test.oas', 'rb') as f:
|
|
||||||
layout = fatamorgana.OasisLayout.read(f)
|
|
||||||
|
|
||||||
with open('test_write.oas', 'wb') as f:
|
|
||||||
layout.write(f)
|
|
||||||
```
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue