This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Python Harvest Oauth

This is a fork from which is a fork of, but adapted to use Oauth2.
The changes are fairly significant, hence the different version and development status classifier.

Pull requests and issues are welcome!

Improving the unit tests is currently the main priority, but any help is welcome.
The tasks are managed by a public Taiga project you can access `here <>`_.


This package builds the URL and redirect needed for Harvest authentication, and
provides methods for initial retrieval and refresh of Oauth2 tokens. The Harvest
domain, client id and redirect URL are needed for instantiation like so::

HARVEST_DOMAIN = 'Harvest domain that access is needed'
HARVEST_CLIENT_ID = 'Harvest client id you get after creating Oauth2 app in Harvest.'
HARVEST_CLIENT_SECRET = 'Harvest client secret you get after creating Oauth2 app in Harvest.'
REDIRECT = 'Redirect URL for to redirect to after successful authentication.'

harvest_client = HarvestRestClient(

After instantiation, harvest_client.authorize_url will have the url needed authenticate with Harvest.
After successful authentication, Harvest will redirect to REDIRECT with a `code` query param.
The value for it is needed to request the access and refresh tokens.
The tokens need to be saved somewhere by your app.::

CODE = 'String submitted in query param'

ACCESS, REFRESH = harvest_client.get_tokens(CODE, HARVEST_CLIENT_SECRET)
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-harvest-oauth-0.0.1a0.tar.gz (6.0 kB) Copy SHA256 Checksum SHA256 Source May 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting