Spaces:
Sleeping
Sleeping
File size: 2,334 Bytes
0591e45 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | ---
license: mit
sdk: docker
emoji: π
colorFrom: blue
colorTo: yellow
title: python_org_api_toolkit
pinned: true
short_description: π This repo features a WebAPI fetching data from Python.org
---
# python_org_api_toolkit
- π This repo features a Web API for fetching data from Python.org.
- π It uses FastAPI to serve data about the latest Python releases, community news, and job listings.
- π Perfect for staying updated with the Python ecosystem without manual checking!
## **Disclaimer**
- This project is an **unofficial** community tool. It is not affiliated with, maintained by, or endorsed by the **Python Software Foundation (PSF)** or the official **Python.org** team.
## Hosted API
- Home : `https://manu11pro-python-org-api-toolkit.hf.space`
- Docs : `https://manu11pro-python-org-api-toolkit.hf.space/docs`
- Py Latest Version : `https://manu11pro-python-org-api-toolkit.hf.space/py_latest_version`
- Py News and Blogs : `https://manu11pro-python-org-api-toolkit.hf.space/py_news_and_blogs`
- Py Jobs : `https://manu11pro-python-org-api-toolkit.hf.space/py_jobs`
- Py Feedback : `https://manu11pro-python-org-api-toolkit.hf.space/feedback`
## Install and Use
1. **Clone the repository**:
```bash
git clone https://github.com/Manu11-Pro/python_org_api_toolkit.git
```
2. **Install dependencies**:
- Open a clean Terminal and Type:
```bash
cd python_org_api_toolkit
```
```bash
pip install .
```
3. **Run the API**:
- Type: `uvicorn src.api_toolkit.main:app --reload --port 7860`
- Open `http://127.0.0.1:7860` in your browser to see the interactive API UI!
## API Endpoints
### π οΈ Latest Version
- **Endpoint**: `/py_latest_version`
- Method: GET
- Returns the current stable release.
### π° News and Blogs
- **Endpoint**: `/py_news_and_blogs`
- Method: GET
- Returns most recent posts from the official Python blog.
### πΌ Jobs
- **Endpoint**: `/py_jobs`
- Method: GET
- Returns a list of active job listings from the Python.org job board.
### π¬ Feedback
- **Endpoint**: `/feedback`
- Method: POST
- Allows users to send a username and a message to the API.
## Requirements
- Please use **Python 3.14** as it was built and tested with this version.
- External dependencies: `fastapi`, `uvicorn`, `requests`, and `beautifulsoup4`. |