Print sources from Wikipedia articles to stdout.
Project description
print-wp-sources
This program just prints the sources of the given Wikipedia article to standard output.
Installation
pipx install print-wp-sources
Usage
Use the Wikipedia article's name as the argument to print-wp-sources. For example, if the article's URL is https://en.wikipedia.org/wiki/Automatic_negative_thoughts, then the argument for print-wp-sources would be "Automatic_negative_thoughts".
print-wp-sources "Automatic_negative_thoughts"
Output:
https://pubmed.ncbi.nlm.nih.gov/26431418
https://www.theguardian.com/lifeandstyle/2014/aug/11/how-to-silence-negative-thinking
https://www.inc.com/chris-winfield/is-stomping-ants-the-key-to-living-a-happier-life.html
https://doi.org/10.1007%2Fbf01178214
https://api.semanticscholar.org/CorpusID:22915336
https://www.huffingtonpost.com/entry/how-to-stop-automatic-negative-thoughts_us_58330f18e4b0eaa5f14d4833
https://doi.org/10.1037%2F0022-006x.51.5.721
https://pubmed.ncbi.nlm.nih.gov/6630686
https://wikimediafoundation.org/
Note: make sure to use quotes around the article name in the argument to
print-wp-sources.
One can also easily pipe the output to a file.
print-wp-sources "Automatic_negative_thoughts" > sources.txt
print-wp-sources "Python_(programming_language)" | tee sources.txt
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
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 print_wp_sources-0.2.tar.gz.
File metadata
- Download URL: print_wp_sources-0.2.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
297862efabf8df7c6fb441ef951cf746671e983861666f6506076af9489a1cbe
|
|
| MD5 |
542b82c7433ea0c4913fea78449eaafb
|
|
| BLAKE2b-256 |
fdd1fb30f9bfd1d95b9613ef91661c15cdef2d12c49232dcbdba5e8594dc606b
|
File details
Details for the file print_wp_sources-0.2-py3-none-any.whl.
File metadata
- Download URL: print_wp_sources-0.2-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d11d6fba84aff4ed3248dfa515bf7f925bbf4ca1329063f19e91694d9e03b5f9
|
|
| MD5 |
5524c1a850da09425a125c96d59c98e5
|
|
| BLAKE2b-256 |
bf456642c9e011e207d25f703a146280a499e0af3134303bfd20c35928d74775
|