Skip to main content

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

Project details


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)

Uploaded Source

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

Hashes for nr-common-0.1.7.tar.gz
Algorithm Hash digest
SHA256 845e7fd8c4eaa5aa6e82ba066e7f9bcfbaa183cb3b0fe4d5e76dbf86ea2ce37d
MD5 b3c4ddc4eb44c1ea6a2db7220aecd927
BLAKE2b-256 4eccd395e6ec7841623648ab49fced178c422c773c2b2d47ed6a18def3c9d123

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page