{"repo":"Genaker/PyGento","free":true,"listed":false,"github":"https://github.com/Genaker/PyGento","clone":"git clone https://github.com/Genaker/PyGento.git","description":"Python module to work with Magneto Database directly without using broken Magento 2 core","language":"Python","stars":31,"topics":["mysql","database","orm","activerecord","python","magento","magento2","microservices"],"license":null,"category":"databases-storage","readme_excerpt":"PyGento FastAPI HTTP API Usage PyGento provides a FastAPI-based HTTP API for product and attribute queries (see test fastapi.py ). Installation: Fixing bash: uvicorn: command not found If you see this error when starting the server: You need to install uvicorn : Or, if you use Python 3: Running the FastAPI Server (Development) Start the server with: - The --reload flag enables auto-reload on code changes (development only). - By default, the server runs on http://127.0.0.1:8000 . Accessing the API Visit: - http://127.0.0.1:8000/products for product listing - http://127.0.0.1:8000/docs for interactive Swagger UI Example Query: --- FastAPI Production Settings For production deployments: - Never use --reload in production. - Use a process manager (e.g., systemd , supervisord , or Docker). - Run with multiple workers for concurrency: - Consider using a reverse proxy (e.g., Nginx) in front of Uvicorn for SSL, compression, and security. - Set environment variables for DB and app secrets securely. - Monitor logs and set up error reporting for production stability. See FastAPI deployment docs for more details. Python module to work with Magento Database directly without using the Magento 2 core PyGento is built on top of SQLAlchemy, providing a clean, Pythonic interface to Magento's database. Features - Unified Interface : Works with both Magento Community and Enterprise editions - Type Annotations : Full type hints for better IDE support and code reliability - Modern Python : Built ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Genaker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Genaker/PyGento/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}