📰 WPInfo
WPInfo is a lightweight Python library that extracts publicly available information from any WordPress website.
It fetches metadata such as site title, theme name, plugin hints, RSS feed, sitemap, WordPress version (if visible), and more — all using clean and simple Python code.
🚀 Features
- Get site title and meta description
- Detect WordPress version (if disclosed)
- Extract active theme name
- Detect plugin paths
- Find RSS feed, sitemap, and robots.txt URLs
- Clean, simple interface with no dependencies other than
requestsandbeautifulsoup4
📦 Installation
You can install from PyPI:
pip install wpinfo
🧪 Example Usage
from wpinfo import WPInfo
site = WPInfo("https://example.wordpress.com")
info = site.get_info()
for key, value in info.items():
print(f"{key.capitalize()}: {value}")
🧠 Output Example
Title: Example WordPress Site
Meta_description: This is an example WordPress website.
Wordpress_version: WordPress 6.3.1
Theme: twentytwentythree
Plugins: contact-form-7, jetpack
Rss_feed: https://example.com/feed/
Sitemap: https://example.com/sitemap.xml
Robots_txt: https://example.com/robots.txt
🛠 Requirements
- Python 3.7+
requestsbeautifulsoup4
Install dependencies:
pip install -r requirements.txt
📃 License
This project is licensed under the MIT License.
✨ Author
Made with ❤️ by Deadpool2k
GitHub: @Deadpool2000
📬 Contributions & Feedback
Pull requests, feature ideas, and bug reports are welcome.
Feel free to open an issue or submit a PR.
Metadata
Release files for wpinfo 0.1.0
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 |
|---|---|---|---|---|
| wpinfo-0.1.0.tar.gz | 3.3 kB | Without provenance | Details for wpinfo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wpinfo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wpinfo-0.1.0-py3-none-any.whl |
Total release size: 6.5 kB
Release files / wpinfo-0.1.0.tar.gz
| Download URL | wpinfo-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43b6f07bba79f3e8903dfd4e10f3aeee2722f17b95cf612669e1787e79f52e25
|
|
BLAKE2b-256 checksum How to use checksums |
900694c675829a207e0055790aea53ae4935436bdd5b77a36d221ed75d69e544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / wpinfo-0.1.0-py3-none-any.whl
| Download URL | wpinfo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b2cbcbab195684751e1c188d1170c4b28611fb651542c625b75e7a10c2c03b7
|
|
BLAKE2b-256 checksum How to use checksums |
1277b4b21125cf36e780375cbc8f98d52d2691e4ee94b27baf903621f7ef81f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Security for wpinfo 0.1.0
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.