Scrape wikipedia to get to psychology
Project description
WikiPsy
Provides multiple functionalities for scraping wikipedia, the centerpoint being getting to psychology.
Installation
Use pip:
pip install wikipsy
And then run
❯ wikipsy --help
Usage: wikipsy [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ graph-multiple Given multiple wikipedia pages, scrapes and generated a directed graphviz source file showing the those articles' path to Psychology. For ease of use, direct the │
│ output of this command into a graphviz dot file. │
│ psychology Scrapes the leading hyperlink of Wikipedia pages recursively until the page "Psychology" is reached. │
│ scrape Scrape a Wikipedia page for its hyperlinks. Ignores the topmost note section and links in parenthetical sentences. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
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
wikipsy-1.1.3.tar.gz
(6.1 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 wikipsy-1.1.3.tar.gz.
File metadata
- Download URL: wikipsy-1.1.3.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d023e8a4b20f30bec5eca9abc1d39ef8ea36a82b45668364ddd11cbc6f129d6
|
|
| MD5 |
8f8fa52f20d94bcb13247774271f32f2
|
|
| BLAKE2b-256 |
d0db2ddde90e0cc01abb106e093de342ee0c5414e2bbd9f0fb3e95aab8502feb
|
File details
Details for the file wikipsy-1.1.3-py3-none-any.whl.
File metadata
- Download URL: wikipsy-1.1.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c3b2c78a6122f7cb03af975966ba1ee4f4ef43a9375d697d47f60100cdac3ad
|
|
| MD5 |
3dfc2439f28324a7e864d7ddf01c1e60
|
|
| BLAKE2b-256 |
3993fa4749b977a2970d0e84dd9c3c525bc7a8eb9a8d8d7559c40977ddeda052
|