A comprehensive Python project demonstrating backend development, database management, virtual Android system simulation, and networking concepts.
This project consists of four main components:
-
Backend API (Flask)
- RESTful API endpoints for app management
- SQLite database integration
- CRUD operations for app data
-
Database Management
- SQLite database with SQLAlchemy ORM
- Schema for app information storage
- Efficient data retrieval and management
-
Virtual Android System
- Android system simulation
- System information monitoring
- APK installation simulation
-
Networking Integration
- TCP/HTTP communication
- System information transmission
- Server-client interaction
- RESTful API endpoints:
- POST /add-app: Add new app details
- GET /get-app/{id}: Retrieve app information
- DELETE /delete-app/{id}: Remove app data
- SQLite database for data persistence
- Virtual Android system simulation
- Real-time system information monitoring
- Secure network communication
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
The API documentation is available at http://localhost:5000 when the server is running.
- Python 3.x
- Flask
- SQLAlchemy
- SQLite
- ADB Shell
- Requests
- psutil
Sahil
MIT License
.
├── app.py # Main Flask application
├── init_db.py # Database initialization script
├── android_simulator.py # Virtual Android system simulation
├── network_client.py # Networking integration
├── requirements.txt # Project dependencies
└── README.md # This file
Example curl commands:
- Add an app:
curl -X POST http://localhost:5000/add-app \
-H "Content-Type: application/json" \
-d '{"app_name": "TestApp", "version": "1.0.0", "description": "Test application"}'
- Get app details:
curl http://localhost:5000/get-app/1
- Delete an app:
curl -X DELETE http://localhost:5000/delete-app/1