print-wp-sources
This program just prints the sources of the given Wikipedia or Wikinews article to standard output.
Installation
pipx install print-wp-sources
Usage
Use the Wikipedia or WikiNews article's URL as the argument.
print-wp-sources "https://en.wikinews.org/wiki/Israel-Lebanon_ceasefire_faces_several_violations"
Output:
https://en.wikinews.org/w/index.php?title=Special:Log&type=review&page=Israel-Lebanon_ceasefire_faces_several_violations
https://en.wikinews.org/w/index.php?title=Israel-Lebanon_ceasefire_faces_several_violations&action=info#mw-flaggedrevs-action-info-pages-waiting-for-review
https://thedefensepost.com/2024/12/06/israel-strikes-hezbollah-smuggling-routes/
https://www.cbsnews.com/news/israel-war-palestinians-ceasefire-hezbollah-lebanon-strained-by-strikes/
https://www.cbsnews.com/news/israel-hezbollah-ceasefire-claims-of-violations-on-day-2-war-hamas-gaza/
https://theconversation.com/why-israel-and-hezbollah-reached-a-ceasefire-now-and-what-it-means-for-israel-lebanon-biden-and-trump-244700
https://www.abc.net.au/news/2024-11-25/lebanon-ceasefire-pending-israeli-response/104642856
https://www.aljazeera.com/news/liveblog/2024/11/25/live-destruction-in-tel-aviv-beirut-amid-hezbollah-israel-missile-fire
print-wp-sources "https://en.wikipedia.org/wiki/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 URL in the argument to
print-wp-sources.
One can also easily pipe the output to a file.
print-wp-sources "https://en.wikipedia.org/wiki/Automatic_negative_thoughts" > sources.txt
print-wp-sources "https://en.wikipedia.org/wiki/Python_(programming_language)" | tee sources.txt
Metadata
Release files for print-wp-sources 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| print_wp_sources-0.5.tar.gz | 14.3 kB | Without provenance | Details for print_wp_sources-0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| print_wp_sources-0.5-py3-none-any.whl | Python 3 | none | any | Details for print_wp_sources-0.5-py3-none-any.whl |
Total release size: 29.4 kB
Release files / print_wp_sources-0.5.tar.gz
| Download URL | print_wp_sources-0.5.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5acba531fdb446e74e657b04c96be4b4848303ac159c95a19e3745bd2fcd140
|
|
BLAKE2b-256 checksum How to use checksums |
5c2ea75478a3abbc47af51da8941582f59d42bdc3ccdd5bac0e341ad526bbc34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / print_wp_sources-0.5-py3-none-any.whl
| Download URL | print_wp_sources-0.5-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05c59a693bc8ba9b4c1b10fe6b45053d3ce1cfde56f8ef8db67393be9edc7a9c
|
|
BLAKE2b-256 checksum How to use checksums |
0526bd4f9990818369cac5d3457fb42fdaf112fb608c3c4e28dfbb8eac4e6a9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Security for print-wp-sources 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.