Skip to main content

A simple command line script to publish to iDoneThis

Project description

pydidit is a command line tool to post to iDoneThis service

Installation

to install just run:

sudo pip install pydidit

This will install didit script to your path.

Usage

pydidit uses environment variables to configure the default behaviour.

Environment variable

Command line parameter

Description

DIDIT_TEAM

--team

iDoneThis team to post to

DIDIT_API_TOKEN

--api-token

API token to use

You can add the following lines to your .bashrc or .zshrc shell initialization scripts:

export DIDIT_API_TOKEN=<my_idonethis_api_tag>
export DIDIT_TEAM=<my_team>

To post your progress you have several options:

  • putting your progress as an argument like:

    didit I can now post progress using a simple command line tool

    or like:

    didit 'I can now post progress! With simple command line tool!'
  • running didit without parameters will open an editor where you can enter your progress. This has an advantage, that it makes it much easier to enter multiline texts

TODO

  • Enable showing and/or editing the last post

  • Enable adding more then one progress point in one edit session

  • Allow getting a progress from STDIN

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

pydidit-0.1.7.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file pydidit-0.1.7.tar.gz.

File metadata

  • Download URL: pydidit-0.1.7.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydidit-0.1.7.tar.gz
Algorithm Hash digest
SHA256 69fe88288ce4a63b365cfb2be2f566a6c47f364a06a7ca5d04c96cd34a72ade6
MD5 2015cd9d47240786a8dbbc622638ba61
BLAKE2b-256 d90ac1369a90e7582fe1d37e030a07fcddb95d718d9336a8f0f2ee7d41e0af78

See more details on using hashes here.

Supported by

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