schedule-data-loader

(★ 11)

A lightweight Python script that fetches data from a Google spreadsheet, transforms to JSON, then optionally commits a data file to a GitHub repo. Suitable for dropping into projects as a task for cron or Slackbot trigger.

File Explorer

  • LICENSE
  • README.md
  • requirements.txt
  • update_data.py

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

time

View Details ▼

Measure how long a command took to run.
Note: `time` can either exist as a shell builtin, a standalone program, or both.
See also: `times`.

time {{command}}

Run the `command` and print the time measurements to `stdout`:

time

Display the current system time and prompt to enter a new time (leave empty to keep unchanged):

time read

Create a very simple stopwatch (only works in Bash):

🔍

virtualenv

View Details ▼

Create virtual isolated Python environments.

virtualenv {{path/to/venv}}

Create a new environment:

virtualenv --prompt {{prompt_prefix}} {{path/to/venv}}

Customize the prompt prefix:

virtualenv {{[-p|--python]}} {{path/to/pythonbin}} {{path/to/venv}}

Use a different version of Python with virtualenv:

🔍

virtualenvwrapper

View Details ▼

Group of simple wrapper commands for Python's `virtualenv` tool.

mkvirtualenv {{virtualenv_name}}

Create a new Python `virtualenv` in `$WORKON_HOME`:

mkvirtualenv --python {{/usr/local/bin/python3.8}} {{virtualenv_name}}

Create a `virtualenv` for a specific Python version:

workon {{virtualenv_name}}

Activate or use a different `virtualenv`:

// repository documentation