SDK for Cloud Elements
Project description
CLOUD ELEMENTS PYTHON SDK
==========================
This SDK is a basic wrapper around the HTTP/S calls needed to use CloudElements
Current Version: 0.1
------
* Mostly SalesForce and CRM Hub integration
##INSTALLATION
```shell
git clone git@github.com:MobileWorks/cloudelements.git cloudelements
cd cloudelements
pip install -e .
pip install -r test-requirements.txt
```
## SETUP
Instead of having set variables in the file, the tests rely on environment variables for your instances.
You can use a tool like [direnv](https://github.com/zimbatm/direnv/) or [autoenv](https://github.com/kennethreitz/autoenv)
Currently the tests use these:
```python
os.getenv('CLOUD_ELEMENTS_USER_SECRET')
os.getenv('CLOUD_ELEMENTS_ORG_SECRET')
os.getenv('SALES_FORCE_SECRET')
os.getenv('SALES_FORCE_ACCESS_KEY')
os.getenv('SALES_FORCE_CALLBACK_URL')
```
## RUN TESTS
``` py.test -v ```
OR
```shell
pip install tox
tox .
```
Version 0.1
-----------
- Initial version.
==========================
This SDK is a basic wrapper around the HTTP/S calls needed to use CloudElements
Current Version: 0.1
------
* Mostly SalesForce and CRM Hub integration
##INSTALLATION
```shell
git clone git@github.com:MobileWorks/cloudelements.git cloudelements
cd cloudelements
pip install -e .
pip install -r test-requirements.txt
```
## SETUP
Instead of having set variables in the file, the tests rely on environment variables for your instances.
You can use a tool like [direnv](https://github.com/zimbatm/direnv/) or [autoenv](https://github.com/kennethreitz/autoenv)
Currently the tests use these:
```python
os.getenv('CLOUD_ELEMENTS_USER_SECRET')
os.getenv('CLOUD_ELEMENTS_ORG_SECRET')
os.getenv('SALES_FORCE_SECRET')
os.getenv('SALES_FORCE_ACCESS_KEY')
os.getenv('SALES_FORCE_CALLBACK_URL')
```
## RUN TESTS
``` py.test -v ```
OR
```shell
pip install tox
tox .
```
Version 0.1
-----------
- Initial version.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudelements-0.1.2.tar.gz
(11.7 kB
view details)
File details
Details for the file cloudelements-0.1.2.tar.gz
.
File metadata
- Download URL: cloudelements-0.1.2.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb11268a1afb3e2f5972e546e1007196628b3f1b0459d29f61fbb426cd6b4fc6 |
|
MD5 | 32156009adec4e37655db21b9469299f |
|
BLAKE2b-256 | f4a99157169cfe92068eb954c714b952026cd5d34c848656b1ea528188fbe1cc |