# Rubix API
A proprietary api for external python projects.
## Installation
You can install the Rubix API from [PyPI]():
pip install rubix_api
The api is tested only on Python 3.6.
## How to use
Rubix API is a toolkit of python modules to help interacting with rubix .NET projects, [Rubix](https://github.com/rubix-labs/Rubix).
### RubixAuth
Introduces custom Oauth2 authentication mechanism, it can be integrated with [requests](https://github.com/kennethreitz/requests) as described
in [new forms of authentication](http://docs.python-requests.org/en/master/user/authentication/#new-forms-of-authentication).
from rubix_api.auth import RubixAuth
rubix_auth = RubixAuth(
"https://hostname/connect/token",
"client_id",
"client-secret",
"grant_type",
"audience"
)
requests.get("https://api/endpoint", auth=rubix_auth)
A proprietary api for external python projects.
## Installation
You can install the Rubix API from [PyPI]():
pip install rubix_api
The api is tested only on Python 3.6.
## How to use
Rubix API is a toolkit of python modules to help interacting with rubix .NET projects, [Rubix](https://github.com/rubix-labs/Rubix).
### RubixAuth
Introduces custom Oauth2 authentication mechanism, it can be integrated with [requests](https://github.com/kennethreitz/requests) as described
in [new forms of authentication](http://docs.python-requests.org/en/master/user/authentication/#new-forms-of-authentication).
from rubix_api.auth import RubixAuth
rubix_auth = RubixAuth(
"https://hostname/connect/token",
"client_id",
"client-secret",
"grant_type",
"audience"
)
requests.get("https://api/endpoint", auth=rubix_auth)
Release files for rubix-api 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rubix_api-1.0.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rubix_api-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / rubix_api-1.0.0.tar.gz
| Download URL | rubix_api-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
197280aec00a522327911be13abff6cc6418f500e37e87c404705a98144151b1
|
|
BLAKE2b-256 checksum How to use checksums |
dc9952cbb368599415eb11137d3a36966d8af8a7da8f46065466c340633fdc1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.2
|
Release files / rubix_api-1.0.0-py3-none-any.whl
| Download URL | rubix_api-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31b7e92b011d387ac5e69133643b1dfa23613f61de94b93f6bca665e77dfc47c
|
|
BLAKE2b-256 checksum How to use checksums |
0ac8542e7d4faa92d9f521f6c4cd95617dbf6a6227ad2131c3e9c88028539fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.2
|