r/learnpython • u/A_Cool_Dude2 • 2h ago
Projects to Learn
I am an engineering student and I have a little exposure to python in my classes but I’d like to really hone my skills and learn how to use python for real. What are some good projects to build that will teach my the skills to code?
0
Upvotes
1
u/terletsky 45m ago
Create an API service that uses the Public VirusTotal API to upload a file or URL for malware scanning and collect the results.
Or a Weather API service that queries a public weather API and gives you results (simpler).
This will cover a real-world scenario. What will be learnt:
- OOP
- SOLID
- JSON structure
- REST API concepts: Routes, Methods, Status Codes
- Enums/StrEnums/IntEnums
- Constants concept with Final type
- Exceptions hierarchy
- Service-based approach of development (Service class instance that will use API class instance to make requests)
- Pydantic package as validation and DTO (data transfer objects and data validation models)
- API Workers
- Postman as a tool to query your API
Advanced topics:
- Relational database to save results, such as PostgreSQL and Alembic for schema migrations
- Async vs sync approach
- Docker / Docker Compose for bundling
- uv as a packaging tool
- Unit/integation tests using pytest
1
u/Outside_Complaint755 1h ago
www.automatetheboringstuff.com