Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 5c4334f

Browse files
committed
Release 0.0.19b0
1 parent f89b787 commit 5c4334f

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Paperspace Python
22
=================
33

4-
Release 0.0.19a
4+
Release 0.0.19b0
55

66
See [releasenotes.md](https://github.com/Paperspace/paperspace-python/blob/master/releasenotes.md) for details on the current release, as well as release history.
77

@@ -12,7 +12,7 @@ Getting Started
1212

1313
2. Use pip, pipenv, or conda to install the paperspace-python package, e.g.:
1414

15-
`pip install paperspace`
15+
`pip install -U paperspace`
1616

1717
3. Download your api key by executing the following:
1818

paperspace/method.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
import json
21
import subprocess
32
import sys
43
import tempfile
54
import zipfile
65

76
import requests
87

9-
from paperspace.version import version
10-
from .version import version
8+
from paperspace import logger
119
from .config import *
10+
from .version import version
1211

1312

1413
def zip_to_tmp(files, ignore_files=[]):
@@ -134,11 +133,12 @@ def method(category, method, params):
134133
if category == 'machines' and method == 'createSingleMachinePublic':
135134
data = params
136135
params = None
137-
r = requests.request(http_method, config.CONFIG_HOST + path,
138-
headers={'x-api-key': config.PAPERSPACE_API_KEY, 'ps_client_name': 'paperspace-python',
139-
'ps_client_version' : version},
140-
params=params, data=data, files=files)
141-
#pprint(vars(r.request))
136+
url = config.CONFIG_HOST + path
137+
headers = {'x-api-key': config.PAPERSPACE_API_KEY, 'ps_client_name': 'paperspace-python',
138+
'ps_client_version': version}
139+
r = requests.request(http_method, url, headers=headers, params=params, data=data, files=files)
140+
logger.debug("{} request sent to: {} with headers: {} params: {} data: {} files: {}"
141+
.format(http_method, url, headers, params, data, files))
142142
except requests.exceptions.RequestException as e:
143143
return requests_exception_to_error_obj(e)
144144

paperspace/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.0.19a"
1+
version = "0.0.19b"

releasenotes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Paperspace Python Release Notes
22

3+
## Release Notes for v0.0.19b
4+
### New features
5+
* filtering experiments list with `--projectHandle`
6+
* paginating experiments list when does not fit the terminal width
7+
* added `--modelType` and `--modelPath` to `experiments create`
8+
### Fixes
9+
* some minor bug fixes
10+
311
## Release Notes for v0.0.19a
412
### New features
513
* support for experiments API - creating, starting, listing, etc.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
author='Paperspace Co.',
2929
author_email='info@paperspace.com',
3030
classifiers=[
31-
'Development Status :: 3 - Alpha',
31+
'Development Status :: 4 - Beta',
3232
'Intended Audience :: Developers',
3333
'Topic :: Software Development :: Libraries',
3434
'License :: OSI Approved :: ISC License (ISCL)',

0 commit comments

Comments
 (0)