A Python client for Raster Foundry, a web platform for combining, analyzing, and publishing raster data.
Project description
A Python client for Raster Foundry, a web platform for combining, analyzing, and publishing raster data.
Usage
from rf.api import API
refresh_token = '<>'
api = API(refresh_token=refresh_token)
# List all projects
my_projects = api.projects
one_project = my_projects[0]
# Get TMS URl without token
one_project.tms()
Installation
$ pip install rasterfoundry
Testing
The test suite execution process is managed by tox:
$ tox
Releases
Releases are automatically published to PyPI through Travis CI when commits are tagged. The following git flow commands lead to a tagged commit that can be pushed to GitHub:
$ git flow release start X.Y.Z
$ vim CHANGELOG.rst
$ vim setup.py
$ git commit -m "X.Y.Z"
$ git flow release publish X.Y.Z
$ git flow release finish X.Y.Z
After you’ve completed the git flow steps above, you’ll need to push the changes from your local repository to the GitHub repository:
$ git checkout develop
$ git push origin develop
$ git checkout master
$ git push origin master
$ git push --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rasterfoundry-0.1.0.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for rasterfoundry-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd8e10bbbc7da68ce048b497245d2e907077a7acefdf8a95cc9aaac57ca66441 |
|
MD5 | 23cf8f012e066be9b346cd93a07b3a73 |
|
BLAKE2b-256 | e0f382e4ca25b1d5bfa6a7c4e7b8fd20773669530353826c577c52f92bb9491a |