SDK for Cloud Elements
Project description
CLOUD ELEMENTS PYTHON SDK
==========================
[![Build Status](https://travis-ci.org/MobileWorks/cloudelements.svg)](https://travis-ci.org/MobileWorks/cloudelements) [![Coverage Status](https://coveralls.io/repos/MobileWorks/cloudelements/badge.svg?branch=master)](https://coveralls.io/r/MobileWorks/cloudelements?branch=master) [![Join the chat at https://gitter.im/MobileWorks/cloudelements](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/MobileWorks/cloudelements?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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.
==========================
[![Build Status](https://travis-ci.org/MobileWorks/cloudelements.svg)](https://travis-ci.org/MobileWorks/cloudelements) [![Coverage Status](https://coveralls.io/repos/MobileWorks/cloudelements/badge.svg?branch=master)](https://coveralls.io/r/MobileWorks/cloudelements?branch=master) [![Join the chat at https://gitter.im/MobileWorks/cloudelements](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/MobileWorks/cloudelements?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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.2.tar.gz
(13.5 kB
view details)
File details
Details for the file cloudelements-0.2.tar.gz
.
File metadata
- Download URL: cloudelements-0.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e0ecac58da1540b93c0fd476b883f768b2d1ae864dde0de849bfc4902dbf37b |
|
MD5 | 706e31b55fb7734b1a8d83233d84f38d |
|
BLAKE2b-256 | aa0581bf4eac6353a19bb3162b3fdcef60265aec3bf7d6b5b33445d02fc12662 |