{"id":23413336,"url":"https://github.com/forgineer/flask-pony-example","last_synced_at":"2026-02-02T06:34:26.776Z","repository":{"id":223602426,"uuid":"761002370","full_name":"forgineer/flask-pony-example","owner":"forgineer","description":"An example Flask app with Pony ORM integration.","archived":false,"fork":false,"pushed_at":"2024-11-30T06:34:07.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:29:02.602Z","etag":null,"topics":["blog","blueprints","example","flask","ponyorm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forgineer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-21T03:47:12.000Z","updated_at":"2024-11-30T06:34:11.000Z","dependencies_parsed_at":"2024-12-22T19:33:13.204Z","dependency_job_id":"1dd3fe7a-5208-4a29-acce-c7956c1b9c6f","html_url":"https://github.com/forgineer/flask-pony-example","commit_stats":null,"previous_names":["forgineer/flask-pony-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/forgineer/flask-pony-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forgineer%2Fflask-pony-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forgineer%2Fflask-pony-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forgineer%2Fflask-pony-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forgineer%2Fflask-pony-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forgineer","download_url":"https://codeload.github.com/forgineer/flask-pony-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forgineer%2Fflask-pony-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29007207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","blueprints","example","flask","ponyorm"],"created_at":"2024-12-22T19:32:18.556Z","updated_at":"2026-02-02T06:34:26.750Z","avatar_url":"https://github.com/forgineer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask-pony-example\nThis repository features a comprehensive example of a Flask application seamlessly integrated with [Pony ORM](https://ponyorm.org/) for database interactions. This project evolves from the foundational blog app tutorial found on the official [Flask documentation page](https://flask.palletsprojects.com/), enhancing it by substituting the traditional SQL/SQLite approach with Pony ORM entities. Recognizing the gap in Pony ORM's documentation—particularly its lack of detailed examples on managing a complete Flask application with additional blueprints—this repository aims to bridge that gap. This example not only demonstrates the fundamental integration of Flask with Pony ORM but also delves into the nuances of scaling the application with more complex structures and functionalities, providing a practical, in-depth guide for developers looking to leverage Pony ORM's capabilities within their Flask projects.\n\n## PonyBlog\n\"PonyBlog\" is an enhanced version of the 'flaskr' blogging application, originally introduced in the Flask official documentation as a tutorial for new developers.\n\n---\n\n### Installation Instructions for Pony Blog\n\nFollow these steps to get PonyBlog up and running on your local machine. This guide assumes you have Git and Python installed on your system.\n\n#### 1. Clone the Repository\n\nFirst, clone the Pony Blog repository from GitHub to your local machine using the following command:\n\n```bash\ngit clone https://github.com/forgineer/flask-pony-example.git\n```\n\n#### 2. Navigate to the Project Directory\n\nChange your current working directory to the `flask-pony-example` folder:\n\n```bash\ncd flask-pony-example\n```\n\n#### 3. Create and Activate a Python Virtual Environment\n\nCreate a virtual environment in the project directory. This isolates the project dependencies from your global Python environment.\n\nTo create a virtual environment, run:\n\n```bash\npython -m venv venv\n```\n\nActivate the virtual environment:\n\n- On Windows, use:\n\n  ```bash\n  .\\venv\\Scripts\\activate\n  ```\n\n- On Unix or MacOS, use:\n\n  ```bash\n  source venv/bin/activate\n  ```\n\n#### 4. Install the Application and Dependencies\n\nWith the virtual environment activated, install Pony Blog and its dependencies using pip:\n\n```bash\npip install .\n```\n\nThis command installs everything needed to run the application, including Flask and Pony ORM.\n\n#### 5. Run the Application\n\nStart the Pony Blog application with Flask’s development server:\n\n```bash\nflask --app PonyBlog run\n```\n\n#### 6. Access the Application\n\nOnce the application is running, open your web browser and navigate to:\n\n```\nhttp://localhost:5000\n```\n\nYou should now be able to interact with the Pony Blog application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforgineer%2Fflask-pony-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforgineer%2Fflask-pony-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforgineer%2Fflask-pony-example/lists"}