Common python functionalities aimed to be at least compatible with Python3.
Project description
# nr-common
[](https://travis-ci.org/nitred/nr-common)
Common python functionalities aimed to be at least compatible with Python3.
#### Current Stable Version
```
0.1.0
```
# Installation
### pip
```
pip install nr-common
```
### Development Installation
* Clone the project.
* Install in Anaconda3 environment
```
$ conda env create --force -f dev_environment.yml
$ source activate nr-common
$ pip install -e .
```
# Test
To run the tests:
```
make test
```
# Usage
```python
from nr_common.pickler import read_pickle, write_pickle
from nr_common.mproc import mproc_func, mproc_async
from nr_common.configreader import config_from_path, config_from_env
from nr_common.blueprints.job_status import job_status_handler, db
```
# Examples
```
$ python examples/simple.py
```
# License
MIT
[](https://travis-ci.org/nitred/nr-common)
Common python functionalities aimed to be at least compatible with Python3.
#### Current Stable Version
```
0.1.0
```
# Installation
### pip
```
pip install nr-common
```
### Development Installation
* Clone the project.
* Install in Anaconda3 environment
```
$ conda env create --force -f dev_environment.yml
$ source activate nr-common
$ pip install -e .
```
# Test
To run the tests:
```
make test
```
# Usage
```python
from nr_common.pickler import read_pickle, write_pickle
from nr_common.mproc import mproc_func, mproc_async
from nr_common.configreader import config_from_path, config_from_env
from nr_common.blueprints.job_status import job_status_handler, db
```
# Examples
```
$ python examples/simple.py
```
# License
MIT
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
nr-common-0.1.0.tar.gz
(9.8 kB
view details)
File details
Details for the file nr-common-0.1.0.tar.gz.
File metadata
- Download URL: nr-common-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
146f48e7cb32ff6beeee90951423188a768c1051273a75cd6540a51f60edc8ba
|
|
| MD5 |
f3d4e99770741ae79844971871769c9a
|
|
| BLAKE2b-256 |
132b28a99a66c4e677acfc119b1400714ea8bc04e54321665f63855005cc74ca
|