Skip to main content

An app to explore Harvest data

Project description

Harvest cropper

cropper is a tool to explore your Harvest account and rewrite entries from one project task to another in harvest.

Installation

You can install cropper by cloning this repository or by using Pip:

$ pip install harvest-cropper

If you want to use the development version, you can install directly from github:

$ pip install -e git+git://github.com/CartoDB/harvest-cropper.git#egg=harvest-cropper

If using, the development version, you might want to install dependencies as well:

$ pip install -r requirements.txt

NOTE: Only tested in Python 3.6.7

Usage

Just run cropper to see the different commands available, you can also run cropper [command] --help to check further details and options for every command.

The list of commands available are:

  • check to confirm your account credentials are up and running
  • clients to get a list or JSON of your registered clients
  • company to get your organization details as a JSON object
  • projects to get a list or JSON of your projects
  • project gets details of an specific project
  • tasks gets the list of tasks associated to a project
  • time-entries return the timesheet entries added to a project
  • time-entry returns a single timesheet
  • update-all-time-entries will update a set of time entries
  • update-time-entry will update an specific time entry
  • users to get a list of your account users

You can check each command specific options just calling them with the --help option.

To authenticate against your Harvest account you need to specify your token and account_id as parameters on every execution you you can set up the environment variables HARVEST_TOKEN and HARVEST_ID that will be read automatically.

Finally, most of the commands can output both as text (CSV) or raw JSON formats as returned by the Harvest API, check their docs for details.

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

harvest-cropper-0.0.4.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file harvest-cropper-0.0.4.tar.gz.

File metadata

  • Download URL: harvest-cropper-0.0.4.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for harvest-cropper-0.0.4.tar.gz
Algorithm Hash digest
SHA256 58cf55a73cdfe3350c606436cee19d379532474fe5801544681f05ebae79104c
MD5 fe1efd42eaa93a80b19a9c36e3288226
BLAKE2b-256 19caaf87c2ad483a2d4356edcb7a81d056f368b6cfd23fda158b53fdca3007c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page