Skip to main content

A demo for localvariables

Project description

This is just a demo for a Local Variables talk about publishing python packages.

Given a search string as the first argument, it’ll search Giphy for a gif, and if you pass the -o flag, it’ll automatically open your default browser up to the url.

Usage

usage: demo.py [-h] [-v] [-o] [search_string]

Search through Giphy for whatever you want!

positional arguments:
  search_string  The search string

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  Display the current version
  -o, --open     Open the returned url in the webbrowser

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

localvariables-demo-giphy-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

localvariables_demo_giphy-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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