|
1 | 1 | from setuptools import setup, find_packages
|
2 | 2 |
|
3 |
| -VERSION = '0.1.0' |
4 |
| -DESCRIPTION = 'A Python library that can predict the next values in a list.' |
5 |
| -LONG_DESCRIPTION = 'A Python library that can predict the next values in a list. (long desc here)' |
| 3 | +VERSION = '0.1.1' |
| 4 | +DESCRIPTION = 'The Python library that makes AI predictions simple.' |
| 5 | +LONG_DESCRIPTION = """ |
| 6 | +<div align="center"> |
| 7 | + <picture> |
| 8 | + <source media="(prefers-color-scheme: dark)" srcset="https://github.com/hamdivazim/pypredictor/raw/main/logo_dark.png"> |
| 9 | + <img src="https://github.com/hamdivazim/pypredictor/raw/main/logo.png" alt="pypredictor logo"> |
| 10 | + </picture> |
| 11 | +</div> |
| 12 | +
|
| 13 | +# pypredictor |
| 14 | +<p> |
| 15 | + <img src="https://img.shields.io/badge/Python-3.8 | 3.9 | 3.10 | 3.11 -blue.svg" alt="py versions"> |
| 16 | + <img src="https://img.shields.io/badge/PyPi package-0.1.0-green.svg" alt="pypi version"> |
| 17 | + <img src="https://img.shields.io/badge/License-Apache License 2.0-green.svg" alt="license"> |
| 18 | + <img src="https://img.shields.io/badge/Libraries-tensorflow | numpy | seaborn | pandas-green.svg" alt="libs"> |
| 19 | +</p> |
| 20 | +
|
| 21 | +The Python library that makes AI predictions simple. |
| 22 | +
|
| 23 | +### View the [GitHub Page](https://github.com/hamdivazim/pypredictor) |
| 24 | +
|
| 25 | +## What can it do? |
| 26 | +pypredictor uses an RNN (Recurrent Neural Network) to predict the next n numbers in a sequence. As an example, using this code: |
| 27 | +```python |
| 28 | +pred = NumPredictor(500) |
| 29 | +print(pred.predict([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 5, 3)) |
| 30 | +``` |
| 31 | +pypredictor generated the following output, which is quite accurate: |
| 32 | +``` |
| 33 | +[10.969043, 11.950292, 12.920968, 13.859894, 14.789316] |
| 34 | +``` |
| 35 | +pypredictor also has the ability to generate a pandas DataFrame and a seaborn line graph, from an initial sequence/DataFrame which you provide. |
| 36 | +### |
| 37 | +Plus, there are examples in the `examples/` directory, so you can take a look for yourself :) |
| 38 | +
|
| 39 | +## How to install |
| 40 | +Install via pip: |
| 41 | +``` |
| 42 | +$ pip install pypredictor |
| 43 | +``` |
| 44 | +To get examples, clone this repository and enter `pypredictor/examples`: |
| 45 | +``` |
| 46 | +$ git clone https://github.com/hamdivazim/pypredictor.git |
| 47 | +$ cd pypredictor/examples |
| 48 | +``` |
| 49 | +anaconda support hopefully coming soon! |
| 50 | +
|
| 51 | +## License |
| 52 | +pypredictor is licensed by Hamd Waseem (codingboy_CW) under [the Apache License 2.0](https://github.com/hamdivazim/pypredictor/blob/main/LICENSE). |
| 53 | +
|
| 54 | +""" |
6 | 55 |
|
7 | 56 | setup(
|
8 | 57 | name="pypredictor",
|
|
0 commit comments