Rai-sdk

Latest version: v0.7.5

Safety actively analyzes 638773 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.6.8

* Added protobuf metadata support
* Deprecated json metadata
* `exec` and `exec_async` return `TransactionAsyncResponse`
* Added integration tests for asynchronous transaction
* Setup CI workflow

0.6.4

* Additional user APIs and examples:
- api.update_user
- api.enable_user
- fixed inputs for `exec_async`
- added `exec` and `exec_async` to run v2 transactions
- added `get_transaction` to get v2 transaction details
- added `get_transaction_metadata` to get v2 transaction metadata
- added `get_transaction_results_and_problems` to get v2 transaction results and problems

0.6.3

* Rename `source` to `model`
* Rename api.list_edb to api.list_edbs
* Implement create/list/get/delete oauth clients
* Implement create/disable users
* Implement delete database by name

0.6.2

* Add api.load_csv
* Add api.load_json
* Add inputs arg to api.query

0.6.1

* Automate publishing to PyPi

0.6.0

* Renamed `compute` to `engine`
* Ensure all modules have an __all__ definition
* Update api constants to use Python3 Enums
* Improve error handling in examples
* Fix api.get_user to match new endpoint signature
* Add state filter param to list_databases
* Fix config example in README.md


!/bin/bash

1. Run all examples
2. Update verison number in railib/__init__.py
3. Tag the repo with the version number:
$ git tag <version>
$ git push origin --tags
4. Run ./release-build, make sure no issues
5. Run this script
6. Verify that the expected version appears on https://pypi.org

In order to upload to PyPI you will need to login to https://pypi.org,
using credentials that IT can provide, and create an API Token in the
rai-sdk project. Then you need to create a $HOME/.pypirc file that looks
like the following:

~~~
[distutils]
index-servers =
pypi

[pypi]
username = __token__
password = <API Token>
[rai-sdk]
username = __token__
password = <API Token>
~~~

The upload script will error on the .egg file, you you can ignore, the error
is benign.

Note, the script requires twine: `pip install twine`

set -ex

./release-build

./release-upload

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.