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.
Metadata
Release files for harvest-cropper 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| harvest-cropper-0.0.4.tar.gz | 7.0 kB | Details |
Release files / harvest-cropper-0.0.4.tar.gz
| Download URL | harvest-cropper-0.0.4.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58cf55a73cdfe3350c606436cee19d379532474fe5801544681f05ebae79104c
|
|
BLAKE2b-256 checksum How to use checksums |
19caaf87c2ad483a2d4356edcb7a81d056f368b6cfd23fda158b53fdca3007c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|