Skip to content

Commit

Permalink
Make as a package
Browse files Browse the repository at this point in the history
  • Loading branch information
rlan committed Oct 26, 2018
1 parent 9826f1a commit be1df1e
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 17 deletions.
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@

# Created by https://www.gitignore.io/api/visualstudiocode
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history
# End of https://www.gitignore.io/api/visualstudiocode


# Created by https://www.gitignore.io/api/python
### Python ###
# Byte-compiled / optimized / DLL files
Expand Down
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ language: python
matrix:
include:
- python: "2.7"
- python: "3.5"
- python: "3.6"
- python: "3.7"
install:
- pip install -r requirements.txt
script:
- python BoundingBox.py
- python Patience.py
- python RunningMean.py
- python RunningVariance.py
- python pyml/BoundingBox.py
- python pyml/Patience.py
- python pyml/RunningMean.py
- python pyml/RunningVariance.py
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Machine Learning Utility Library in Python
# A Machine Learning Utility Library in Python

A collection of loosely organized code to assist machine learning research.

Expand All @@ -10,3 +10,15 @@ Branch | Status
--- | ---
[master](https://github.com/rlan/pyml/tree/master) | [![Test Status](https://travis-ci.org/rlan/pyml.svg?branch=master)](https://travis-ci.org/rlan/pyml)
[develop](https://github.com/rlan/pyml/tree/develop) | [![Test Status](https://travis-ci.org/rlan/pyml.svg?branch=develop)](https://travis-ci.org/rlan/pyml)

## Installation

```sh
pip install git+https://github.com/rlan/pyml.git
```

## Usage

```python
import pyml
```
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

with open("VERSION", "r") as fh:
version = fh.read()

setuptools.setup(
name="pyml",
version=version,
author="Rick Lan",
author_email="rlan@users.noreply.github.com",
description="A Machine Learning Utility Library",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT License",
url="https://github.com/rlan/pyml",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy >= 1.13.3",
]
)

0 comments on commit be1df1e

Please sign in to comment.