{"id":30066422,"url":"https://github.com/odiegosilva1/orm-db","last_synced_at":"2025-08-08T07:38:37.303Z","repository":{"id":306439088,"uuid":"1026172165","full_name":"odiegosilva1/ORM-DB","owner":"odiegosilva1","description":" Gerenciamento de Banco de Dados com Peewee e SQLite","archived":false,"fork":false,"pushed_at":"2025-07-25T14:18:28.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T20:14:42.041Z","etag":null,"topics":["peewee-orm","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odiegosilva1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-07-25T12:34:12.000Z","updated_at":"2025-07-25T14:17:07.000Z","dependencies_parsed_at":"2025-07-25T20:14:54.709Z","dependency_job_id":"886011be-1767-49bd-bf0c-63da06c14d12","html_url":"https://github.com/odiegosilva1/ORM-DB","commit_stats":null,"previous_names":["odiegosilva1/orm-db"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/odiegosilva1/ORM-DB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odiegosilva1%2FORM-DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odiegosilva1%2FORM-DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odiegosilva1%2FORM-DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odiegosilva1%2FORM-DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odiegosilva1","download_url":"https://codeload.github.com/odiegosilva1/ORM-DB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odiegosilva1%2FORM-DB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269385114,"owners_count":24408410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["peewee-orm","python3"],"created_at":"2025-08-08T07:38:31.072Z","updated_at":"2025-08-08T07:38:37.288Z","avatar_url":"https://github.com/odiegosilva1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📁 ORM-DB - Gerenciamento de Banco de Dados com Peewee e SQLite   \n\n🚀 **Descrição:**  \nUm projeto Python que utiliza o ORM **Peewee** para gerenciar um banco de dados **SQLite**, criando e manipulando tabelas de **usuários** e **anúncios** de forma eficiente e organizada.  \n\n🔧 **Tecnologias:**  \n- **Python 3** 🐍  \n- **Peewee (ORM)** 🗃️  \n- **SQLite** 💾  \n\n📂 **Estrutura Principal:**  \n- `database.py` → Define os **modelos** (`Usuario` e `Anuncio`) e configura o banco de dados.  \n- `main.py` → Conecta ao banco e cria as tabelas.  \n\n⚙️ **Funcionalidades:**  \n✔️ Criação automática de tabelas  \n✔️ Relacionamento entre `Usuario` e `Anuncio` (chave estrangeira)  \n✔️ Validação de campos únicos (ex: e-mail)  \n\n📌 **Como Usar:**  \n1. Instale o Peewee:  \n   ```sh\n   pip install peewee\n   ```  \n2. Execute `main.py` para criar o banco de dados e as tabelas.  \n\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodiegosilva1%2Form-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodiegosilva1%2Form-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodiegosilva1%2Form-db/lists"}