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.4.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.4.tar.gz.
File metadata
- Download URL: wikipsy-1.1.4.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 |
42f5e0a92c7d6b093f0b4127041a1d92bbfebfade912c81f3ef3747f62a2ce18
|
|
| MD5 |
b25781030007efad04fc9dabff34d970
|
|
| BLAKE2b-256 |
a3d7480e3eab244308a8bfce958e62119a42b0f9696d80b01ab90509da9ab1cb
|
File details
Details for the file wikipsy-1.1.4-py3-none-any.whl.
File metadata
- Download URL: wikipsy-1.1.4-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 |
e859f3444325b0cffd68594c92cdbc6356604049358b7dc8e48f10eead9e358d
|
|
| MD5 |
a47f336bb2ea56a4c496738f7e9bf02e
|
|
| BLAKE2b-256 |
d2c9a08963016214be37adab0faba6f8b7982311374abf6f5a9bc3b5f9463f96
|