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:
checkto confirm your account credentials are up and runningclientsto get a list or JSON of your registered clientscompanyto get your organization details as a JSON objectprojectsto get a list or JSON of your projectsprojectgets details of an specific projecttasksgets the list of tasks associated to a projecttime-entriesreturn the timesheet entries added to a projecttime-entryreturns a single timesheetupdate-all-time-entrieswill update a set of time entriesupdate-time-entrywill update an specific time entryusersto 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
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58cf55a73cdfe3350c606436cee19d379532474fe5801544681f05ebae79104c
|
|
| MD5 |
fe1efd42eaa93a80b19a9c36e3288226
|
|
| BLAKE2b-256 |
19caaf87c2ad483a2d4356edcb7a81d056f368b6cfd23fda158b53fdca3007c6
|