11 Commits

Author SHA1 Message Date
blackfly
3757c937b3 Bump version: 0.1.0-dev0 → 0.1.0-rc0 2020-04-06 21:49:52 +02:00
blackfly
38f637aaeb Add build status batch from travis 2020-04-06 21:38:47 +02:00
blackfly
6ddfe48a95 Use bionic distribution instead of trusty
Downloading archive: ...binaries/ubuntu/14.04/x86_64/python-3.8.tar.bz2
$ curl -sSf --retry 5 -o python-3.8.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 3.8 archive. The archive may not exist.
Please consider a different version.
2020-04-06 21:21:14 +02:00
blackfly
bf0e694321 Add missing torch dependency in travis.yml 2020-04-06 21:16:43 +02:00
blackfly
e2c9848120 Update tox.ini to use coverage 2020-04-06 21:05:57 +02:00
blackfly
dc60b7e5b5 Add .travis.yml 2020-04-06 21:05:20 +02:00
blackfly
c21913fdd4 Add tests/__init__.py
Adding the __init__.py file makes it possible to run `coverage run -m pytest`
from the project root.
2020-04-06 21:01:50 +02:00
blackfly
59e31f94ab Add more version badges and bibtex section to README.md 2020-04-06 19:59:52 +02:00
blackfly
cddefa9b0d Add RELEASE.md 2020-04-06 18:52:12 +02:00
blackfly
26d71fdd60 Add version badges to README.md 2020-04-06 18:48:02 +02:00
blackfly
ced8f532dd Update MANIFEST.in to include codecov and test scripts 2020-04-06 18:32:06 +02:00
9 changed files with 51 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.0-dev0
current_version = 0.1.0-rc0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
dist: bionic
sudo: false
language: python
python: 3.8
# cache:
# directories:
# - $HOME/.prototorch
install:
- pip install . --progress-bar off
- pip install codecov
- pip install pytest
script:
- coverage run -m pytest
# Push the results to codecov
after_success:
- codecov
# - bash <(curl -s https://codecov.io/bash)

View File

@@ -1,9 +1,11 @@
include .bumpversion.cfg
include LICENSE
include tox.ini
include *.yml
recursive-include docs *.bat
recursive-include docs *.png
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile
recursive-include examples *.py
recursive-include tests *.py

View File

@@ -3,8 +3,13 @@
ProtoTorch is a PyTorch-based Python toolbox for bleeding-edge research in
prototype-based machine learning algorithms.
[![Build Status](https://travis-ci.org/si-cim/prototorch.svg?branch=master)](https://travis-ci.org/si-cim/prototorch)
[![GitHub version](https://badge.fury.io/gh/si-cim%2Fprototorch.svg)](https://badge.fury.io/gh/si-cim%2Fprototorch)
[![PyPI version](https://badge.fury.io/py/prototorch.svg)](https://badge.fury.io/py/prototorch)
![Tests](https://github.com/si-cim/prototorch/workflows/Tests/badge.svg)
[![codecov](https://codecov.io/gh/si-cim/prototorch/branch/master/graph/badge.svg)](https://codecov.io/gh/si-cim/prototorch)
[![Downloads](https://pepy.tech/badge/prototorch)](https://pepy.tech/project/prototorch)
[![GitHub license](https://img.shields.io/github/license/si-cim/prototorch)](https://github.com/si-cim/prototorch/blob/master/LICENSE)
## Description
@@ -47,3 +52,16 @@ API, with more algorithms and techniques coming soon. If you would simply like
to be able to use those algorithms to train large ML models on a GPU, ProtoTorch
lets you do this without requiring a black-belt in high-performance Tensor
computation.
## Bibtex
If you would like to cite the package, please use this:
```bibtex
@misc{Ravichandran2020,
author = {Ravichandran, J},
title = {ProtoTorch},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/si-cim/prototorch}}
}

3
RELEASE.md Normal file
View File

@@ -0,0 +1,3 @@
# Release 0.1.0-dev0
Initial public release of ProtoTorch.

View File

@@ -1 +1 @@
__version__ = '0.1.0-dev0'
__version__ = '0.1.0-rc0'

View File

@@ -10,7 +10,7 @@ with open('README.md', 'r') as fh:
long_description = fh.read()
setup(name='prototorch',
version='0.1.0-dev0',
version='0.1.0-rc0',
description='Highly extensible, GPU-supported '
'Learning Vector Quantization (LVQ) toolbox '
'built using PyTorch and its nn API.',

0
tests/__init__.py Normal file
View File

10
tox.ini
View File

@@ -4,12 +4,12 @@
# and then run "tox" from this directory.
[tox]
envlist = py36
envlist = py36,py37,py38
[testenv]
deps =
numpy
unittest-xml-reporting
pytest
coverage
commands =
python -m xmlrunner -o reports
pip install -e .
coverage run -m pytest