Skip to main content

A tool for keeping track of staff in multiple timezones

Project description

Note: As of 10/13 I asked in the snapcraft forum to have the ownership of the snap changed to joesecurity . Thanks for checking roadmr.

teamTime


teamTime is a tool to aid the problem of keeping track of time for a globally distributed team.

You will need to put the name of your teammates in staff.csv using the format name, timezone, city. Take a look at https://raw.githubusercontent.com/joemcmanus/teamTime/master/example.csv

Alice,US/Eastern,New York New York
Bob,US/Central,Chicago Illinois
Charlie,Africa/Abidjan, Abidjan
Doug,America/Tijuana, Tijuana Mexico
Ed,America/Winnipeg, Winnipeg
Frank,Asia/Dubai,Dubai

Questions/Feedback/Feature Requests? Please let me know.

Installation


Snap

To install teamTime as a snap, type:

sudo snap install teamtime

pip

To install teamTime with pip, type:

pip install teamtime

To install and run from source

Install the requirements:

pip install -r requirements.txt
python -m teamtime.teamtime

Note

To avoid typing the path to the CSV file you might want to make an alias:

alias teamtime='teamtime --src=/home/foo/staff.csv'

Usage


teamtime --help
usage: teamtime [-h] [--name NAME] [--src SRC] [--map]

Time Table

optional arguments:
  -h, --help   show this help message and exit
  --name NAME  Optional name to search for
  --comp COMP  Compare times, use --name and --comp together
  --src SRC    Optional src file, defaults to staff.csv
  --map        Draw map	

To simply print a table of your team run teamtime

+---------+------------------+
|  Person |    Local Time    |
+---------+------------------+
|  Alice  | 2019-09-25 12:16 |
|   Bob   | 2019-09-25 11:16 |
| Charlie | 2019-09-25 16:16 |
|   Doug  | 2019-09-25 09:17 |
|    Ed   | 2019-09-25 11:17 |
|  Frank  | 2019-09-25 20:17 |
|  now()  | 2019-09-25 10:16 |
+---------+------------------+

To search for just Bob run teamtime --name=Bob

+--------+------------------+
| Person |    Local Time    |
+--------+------------------+
| Bob    | 2019-10-02 15:37 |
+--------+------------------+

To convert a local time to another time in a person's time zone use --comp. This helps when you are trying to figure out when to schedule a call.

$ teamtime --name=andy --comp=15:00
+--------+------------------+---------------------+
| Person |    Their Time    |      Your Time      |
+--------+------------------+---------------------+
|  Andy  | 2019-10-18 07:30 | 2019-10-17 15:00:00 |
+--------+------------------+---------------------+

To create a map run teamtime --map

alt_tag

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

teamtime-2.0.0.post1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

teamtime-2.0.0.post1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file teamtime-2.0.0.post1.tar.gz.

File metadata

  • Download URL: teamtime-2.0.0.post1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-53-generic

File hashes

Hashes for teamtime-2.0.0.post1.tar.gz
Algorithm Hash digest
SHA256 35559168756405ef9b217be21fe7916be43f01dccaafcac64231c037ad03829d
MD5 ff1b6262fbe396db478f0dc9e945a986
BLAKE2b-256 6aa81f3ac6d17bd6ba9f1fd01e85d7138b3f60938cd7f8998e1b0bc3b0863e7f

See more details on using hashes here.

File details

Details for the file teamtime-2.0.0.post1-py3-none-any.whl.

File metadata

  • Download URL: teamtime-2.0.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-53-generic

File hashes

Hashes for teamtime-2.0.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b197cf9fce2fac9d31313600e2532995ad57ae8ee518a1bce7ca03dfdaeba0f9
MD5 ca0467c93749c129db7d3c3a33d11651
BLAKE2b-256 6e19e565d67fdc251cffdc1a2d091f4e8adfbdcf29fc6d104b18caa99fb1dd92

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