Installation
$ pip install standup-shows
Basic Usage
"Search for shows in a 50-mile radius from zipcode 75201 for comics listed in ./comics.txt"
$ standup 75201 50 comics.txt
Ms. Pat:
Arlington Improv - Thursday, December 01 at 08:00 PM - https://www.dead-frog.com/live-comedy/event/881867
Arlington Improv - Friday, December 02 at 07:30 PM - https://www.dead-frog.com/live-comedy/event/881868
Arlington Improv - Friday, December 02 at 09:45 PM - https://www.dead-frog.com/live-comedy/event/881869
Arlington Improv - Saturday, December 03 at 07:00 PM - https://www.dead-frog.com/live-comedy/event/881870
Arlington Improv - Saturday, December 03 at 09:30 PM - https://www.dead-frog.com/live-comedy/event/881871
Arlington Improv - Sunday, December 04 at 07:00 PM - https://www.dead-frog.com/live-comedy/event/881872
Mark Normand:
Dallas Comedy Club - Wednesday, July 13 at 10:00 PM - https://www.dead-frog.com/live-comedy/event/123455
Dallas Comedy Club - Wednesday, July 13 at 11:00 PM - https://www.dead-frog.com/live-comedy/event/123456
The script takes a few seconds to execute because it scrapes events from the web. You can specify the number of threads to create with the --max_threads flag.
$ standup --help
NAME
standup.py - Find stand-up comedy shows that your favorite comedians are scheduled to perform near you.
SYNOPSIS
standup.py COMEDIANS ZIPCODE <flags>
DESCRIPTION
Find stand-up comedy shows that your favorite comedians are scheduled to perform near you.
POSITIONAL ARGUMENTS
COMEDIANS
Type: str
A filepath containing a newline-delimited list of comedians in the form of <firstname lastname>.
ZIPCODE
Type: int
The zipcode to search near.
FLAGS
--radius=RADIUS
Type: int
Default: 25
The radius in miles around the zipcode to search.
--max_threads=MAX_THREADS
Type: int
Default: 100
The maximum number of threads to create. A new thread is created for each URL to scrape.
NOTES
You can also use flags syntax for POSITIONAL ARGUMENTS
Further Development
- Output to email
- Find a dataset to add support for musical artists
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
standup-shows-1.0.1.tar.gz
(16.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file standup-shows-1.0.1.tar.gz.
File metadata
- Download URL: standup-shows-1.0.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.1.14 CPython/3.9.13 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33f08a9fef782770cbc81b824d44f6202ee1a28368670c559b1f1f602cda8b9
|
|
| MD5 |
f3b17ddc8089bb836b3a7a78d18ab916
|
|
| BLAKE2b-256 |
4c7291b77fa81d23f72403a82855ffc78f0be8d3589a1400cafdabc6383057ae
|
File details
Details for the file standup_shows-1.0.1-py3-none-any.whl.
File metadata
- Download URL: standup_shows-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.1.14 CPython/3.9.13 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f073a6d9d4c4df6f4d16f579062999ca0d26da32eb4f5f84c4bab11131ead679
|
|
| MD5 |
caa14f147b18b8a477fab874ccb96bda
|
|
| BLAKE2b-256 |
3de8b9b0c26114d32b46344c94365b90e1ecbfecf0ee1c67d00b1beffd0952fe
|