January 31, 2024
Updates
- Modify the authentication process to conform to new API functionality.
- Add ds_get_dict - this function exports a data set from Domo and returns a list of dictionaries. The list contains one dictionary for each row in Domo.
September 20, 2023
Bug Fixes
- Remove an errant comma in the dataframe paging logic in ds_create and ds_update
March 20, 2023
Updates
- Include the name_like parameter for the ds_list method to allow filtering on datasource name
March 16, 2023
- Fix upsert upload through the ds_create method by using a list of key_column_names rather than a string
January 9, 2023
- Use request_timeout when renewing access token
October 21, 2022
Bug Fixes
- Now checks for invalid token before sending requests. If the token is invalid, the SDK now refreshes it automatically.
February 9, 2021
Bug Fixes
- ds_updated and ds_create did not upload the full dataframe when doing mult-part uploads
- pandas was not required in setup file
January 26, 2021
Updates
- Virtual user support added to PDP policy
- Pandas added to install.sh
January 21, 2021
Bug Fixes
- ds_query fixed to accept a data set id and a SQL query
- ds_delete now requires confirmation before deleting a data set
- use prompt_before_delete=False to force delete
- group functions modified to match rdomo, prior to this release these functions did not work correctly
- groups_add_users now adds multiple users at a time
- groups_create now takes a group name and a list of users
- groups_list now pages through all lists automatically
- groups_list_users now pages through all users automatically
- groups_remove_users now removes a list of users
- groups_delete now removes all users from the group and then deletes the group
January 8, 2021
The primary objective of this release is to make it easier to interact with Domo via Python and to sync functionality with the R SDK. The following changes have been made.
- Methods were added to the primary object so that the sub-objects don't need to be used.
- Method names sync'd with functions from the R SDK
- Method names follow a specific naming convention for ease of use
- Methods to download data from Domo now return a Pandas dataframe
- Methods to upload data to Domo now take a Pandas dataframe as an input
- Uploading data is now easier as interactions with the streams API are abstracted
- All methods prior to these updates are unchanged, existing code should continue to work w/o issue
- Apr 18, 2019
- Added GZIP support for Streams (Thank you @ldacey!)
- Added file support for Streams (Thank you @jonemi!)
- Added limit and offset support for listing Users in a Group
- Jan 11, 2018
- Circumventing issue in setup.py preventing installing via pip
- Jan 11, 2018
- Bug Fixes:
- Fixed unicode error when uploading unicode data via stream client
- Dataset client referenced log instead of logger
- Oct 16, 2017
- Improved csv downloading to disk, avoiding a potential python memory error
- Aug 17, 2017
- Added Pages:
- List, create, update, and delete pages
- List, create, update, and delete collections
- Improvements:
- All endpoints now accept and return dictionaries. This will likely break existing code, but it allows for returned objects to be accepted as parameters.
- Removed dependency on jsonpickle library
- Eliminated an extra API call that was previously being used to check if access token is valid
- Enable appending to datasets
- Bug Fixes:
- Fixed unicode error when uploading/downloading unicode data
- Jul 6, 2017
- Improvements:
- Better error descriptions, http request/response dumps on exception (requires requests_toolbelt)
- Bug Fixes:
- Fixed Stream search (aldifahrezi)
- Fixed DataSet export authentication renewal
- May 1, 2017
- Added functionality to the Group Client:
- Add a User to a Group
- List Users in a Group
- Remove a User from a Group
- Added the "api host" as a parameter to the SDK initialization
- April 26, 2017
- Minor improvements for PyPI publishing
- Published the SDK to PyPI for easy Pip installation:
pip3 install pydomo
- April 21, 2017
- Initial release