Common python functionalities aimed to be at least compatible with Python3.
Project description
# nr-common
[![Build Status](https://travis-ci.org/nitred/nr-common.svg?branch=master)](https://travis-ci.org/nitred/nr-common)
Common python functionalities aimed to be at least compatible with Python3.
#### Current Stable Version
```
0.1.7
```
#### Dependency Installation
This package is expected to contain common utility function covering a wide range of topics such as file system, web development, data science etc. This package is expected to be used with virtually any sized project. It may be unwise for this package to install all the dependencies in case the user wants to use this package for a small subset of the functionalities. Therefore this package does not install all the dependencies it requires and expects the user to install the dependencies manually wherever necessary.
Some dependencies that are not included but expects the user to install when necessary are:
* Flask
* Flask-SQLAlchemy
* opencv-python
* numpy
* Pillow
All the missing dependencies can be installed using:
```
pip install -r requirements_missing.txt
```
# 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
```
# Examples
```
$ python examples/simple.py
```
# License
MIT
[![Build Status](https://travis-ci.org/nitred/nr-common.svg?branch=master)](https://travis-ci.org/nitred/nr-common)
Common python functionalities aimed to be at least compatible with Python3.
#### Current Stable Version
```
0.1.7
```
#### Dependency Installation
This package is expected to contain common utility function covering a wide range of topics such as file system, web development, data science etc. This package is expected to be used with virtually any sized project. It may be unwise for this package to install all the dependencies in case the user wants to use this package for a small subset of the functionalities. Therefore this package does not install all the dependencies it requires and expects the user to install the dependencies manually wherever necessary.
Some dependencies that are not included but expects the user to install when necessary are:
* Flask
* Flask-SQLAlchemy
* opencv-python
* numpy
* Pillow
All the missing dependencies can be installed using:
```
pip install -r requirements_missing.txt
```
# 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
```
# 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.7.tar.gz
(15.9 kB
view details)
File details
Details for the file nr-common-0.1.7.tar.gz
.
File metadata
- Download URL: nr-common-0.1.7.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845e7fd8c4eaa5aa6e82ba066e7f9bcfbaa183cb3b0fe4d5e76dbf86ea2ce37d |
|
MD5 | b3c4ddc4eb44c1ea6a2db7220aecd927 |
|
BLAKE2b-256 | 4eccd395e6ec7841623648ab49fced178c422c773c2b2d47ed6a18def3c9d123 |