Skip to content

Commit b36437d

Browse files
author
Robert Watts
committed
Updated changelog, readme, and setup info
1 parent ab3cc59 commit b36437d

File tree

4 files changed

+44
-19
lines changed

4 files changed

+44
-19
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
# PyDomo Changelog
2+
### v0.2.0
3+
- Aug 17, 2017
4+
- Added Pages:
5+
- List, create, update, and delete pages
6+
- List, create, update, and delete collections
7+
- Improvements:
8+
- All endpoints now accept and return dictionaries. This will
9+
likely break existing code, but it allows for returned objects
10+
to be accepted as parameters.
11+
- Removed dependency on jsonpickle library
12+
- Eliminated an extra API call that was previously being used to
13+
check if access token is valid
14+
- Enable appending to datasets
15+
- Bug Fixes:
16+
- Fixed unicode error when uploading/downloading unicode data
17+
218
### v0.1.3
319
- Jul 6, 2017
420
- Improvements:
@@ -22,4 +38,4 @@
2238

2339
### v0.1.0
2440
- April 21, 2017
25-
- Initial release
41+
- Initial release

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Include the license file
2+
include LICENSE.txt

README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
# Python3 - Domo API SDK (pydomo)
66
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://www.opensource.org/licenses/MIT)
77

8-
Current Release: 0.1.3
8+
Current Release: 0.2.0
99

1010
### About
1111

1212
* The Domo API SDK is the simplest way to automate your Domo instance
1313
* The SDK streamlines the API programming experience, allowing you to significantly reduce your written code
14-
* This has not yet been tested with Python2
15-
* PyDomo has been published to [PyPI](https://pypi.python.org/pypi/pydomo), and can be installed via `pip3 install pydomo requests requests_toolbelt`
14+
* This is not compatible with Python2
15+
* PyDomo has been published to [PyPI](https://pypi.org/project/pydomo/), and can be installed via `pip3 install pydomo`
1616

1717
### Features:
1818
- DataSet and Personalized Data Policy (PDP) Management
@@ -31,13 +31,16 @@ Current Release: 0.1.3
3131
- Group Management
3232
- Create, update, and remove groups of users
3333
- Docs: https://developer.domo.com/docs/domo-apis/group-apis
34+
- Page Management
35+
- Create, update, and delete pages
36+
- Docs: https://developer.domo.com/docs/page-api-reference/page
3437

3538
### Setup
3639
* Install Python3: https://www.python.org/downloads/
3740
* Linux: 'apt-get install python3'
3841
* MacOS: 'brew install python3'
3942
* Windows: direct download, or use Bash on Windows 10
40-
* Install PyDomo and its dependencies via `pip3 install pydomo requests requests_toolbelt`
43+
* Install PyDomo and its dependencies via `pip3 install pydomo`
4144

4245
### Updates
4346
* Update your PyDomo package via `pip3 install pydomo --upgrade`
@@ -58,12 +61,11 @@ from pydomo import Domo
5861
client_id = 'MY_CLIENT_ID'
5962
client_secret = 'MY_CLIENT_SECRET'
6063
api_host = 'api.domo.com'
61-
use_https = True
6264
logger_name = 'foo'
63-
logger_level = logging.INFO
65+
log_level = logging.INFO
6466

6567
# Create an instance of the SDK Client
66-
domo = Domo(client_id, client_secret, api_host, use_https, logger_name, logger_level)
68+
domo = Domo(client_id, client_secret, api_host=api_host, logger_name=logger_name, log_level=log_level)
6769

6870
# Manage DataSets
6971
domo.datasets.create()

setup.py

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
from distutils.core import setup
1+
from setuptools import setup, find_packages
2+
# To use a consistent encoding
3+
from codecs import open
4+
from os import path
25

6+
here = path.abspath(path.dirname(__file__))
7+
8+
# Get the long description from the README file
9+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
10+
long_description = f.read()
311

412
setup(
513
name='pydomo',
6-
version='0.1.3',
14+
version='0.2.0',
715
description='The official python3 Domo API SDK - Domo, Inc.',
16+
long_description=long_description,
817
author='Bobby Swingler',
918
author_email='bobby.swingler@domo.com',
1019
url='https://github.com/domoinc/domo-python-sdk',
11-
keywords=['domo', 'api', 'sdk'],
20+
keywords='domo api sdk',
1221
license='MIT',
13-
packages=['pydomo',
14-
'pydomo.datasets',
15-
'pydomo.groups',
16-
'pydomo.streams',
17-
'pydomo.users'],
18-
requires=[
22+
packages=find_packages(exclude=['examples']),
23+
install_requires=[
1924
'requests',
2025
'requests_toolbelt',
21-
'jsonpickle'
22-
]
26+
],
27+
python_requires='>=3',
2328
)

0 commit comments

Comments
 (0)