Skip to content

Commit a08baef

Browse files
zeryxCI
andauthored
ALGO-904 Added built-in Algorithm Development Kit Integration (#80)
* initial content commit (without examples) * added the ADK to the project as a dependency, not version-pegged, testing first * added more tests, removed unnecssary assets * updated to move tests to the adk, added version pegging to setup.py, and updated readme * updated setup.py to track new minor version * ensuring that requirements.txt has the same version pegging as setup.py Co-authored-by: CI <ci@algorithmia.com>
1 parent 97d8fea commit a08baef

File tree

7 files changed

+9
-165
lines changed

7 files changed

+9
-165
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ pypirc
6565

6666
#Visual Studio Code
6767
.vscode
68-
68+
venv

Algorithmia/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from Algorithmia.client import Client
44
from Algorithmia.handler import Handler
5+
from adk import ADK
56
import os
67

78
apiKey = None

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ For API documentation, see the [PythonDocs](https://algorithmia.com/docs/lang/py
66

77
[![PyPI](https://img.shields.io/pypi/v/algorithmia.svg?maxAge=600)]()
88

9+
## Algorithm Development Kit
10+
This package contains the [algorithmia-adk](https://github.com/algorithmiaio/algorithmia-adk-python) development kit, simply add `from Algorithmia import ADK` into your workflow to access it.
11+
912
## Install from PyPi
1013

1114
The official Algorithmia python client is [available on PyPi](https://pypi.python.org/pypi/algorithmia).

Test/handler_algorithms.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

Test/handler_test.py

Lines changed: 0 additions & 130 deletions
This file was deleted.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ enum-compat
44
toml
55
argparse
66
algorithmia-api-client>=1.3,<1.4
7+
algorithmia-adk>=1.0,<1.1

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='algorithmia',
7-
version='1.7.10',
7+
version='1.8.0',
88
description='Algorithmia Python Client',
99
long_description='Algorithmia Python Client is a client library for accessing Algorithmia from python code. This library also gets bundled with any Python algorithms in Algorithmia.',
1010
url='http://github.com/algorithmiaio/algorithmia-python',
@@ -21,7 +21,8 @@
2121
'enum-compat',
2222
'toml',
2323
'argparse',
24-
'algorithmia-api-client==1.3.1'
24+
'algorithmia-api-client==1.3.1',
25+
'algorithmia-adk>=1.0,<1.1'
2526
],
2627
include_package_data=True,
2728
classifiers=[

0 commit comments

Comments
 (0)