The Python ORM for PostgreSQL
Project description
Cloey ORM
The Python ORM for PostgreSQL
Documentation: cloey.wolk.host
Installing
pip install cloey-orm
Changelog
Version 0.0.5 - 2025-05-02
New Features
Improvements
- Update Method Return:
.update()method now returns the updated record as an object of the class. - Delete Method Return:
.delete()method now returns a boolean indicating whether the deletion was successful.
Bug Fixes
- Database Migrations: Fixed an issue where schema changes could not be applied to the database in the previous version.
Version 0.0.4 - 2024-11-08
New Features
- Table name: Use class name as the table name.
- Tables in plural: create tables in plural, adding "s" at the end when the class name.
Improvements
- **tablename**: Use
__tablename__attribute as it is when provided as table name. - Return created row: on
.create()method return the created row as an object of the class.
Bug Fixes
Versão 0.0.5 - 2025-05-02
Novas Funcionalidades
Melhorias
- Retorno do Método
.update(): O método.update()agora retorna o registro atualizado como objeto da classe. - Retorno do Método
.delete(): O método.delete()agora retorna um valor booleano indicando se a exclusão foi bem-sucedida.
Correções de Bugs
- Migrações de Banco de Dados: Corrigido um problema que impedia a aplicação de alterações no esquema do banco de dados na versão anterior.
Version 0.0.3 - 2024-11-01
New Features
- ULID for PostgreSQL: Added support for using ULID (Universally Unique Lexicographically Sortable Identifier) for PostgreSQL database connections.
- Incremental ID for SQLite and PostgreSQL: Introduced the use of incremental IDs for SQLite and PostgreSQL connections.
- Automatic
created_atField: Added automaticcreated_atas a default field for all models.
Improvements
- Database Connection Check: Enhanced CRUD operations to include automatic checks for database connectivity before execution.
Bug Fixes
- Query Execution: Fixed an issue where queries were not being executed on the correct database connection.
Versão 0.0.4 - 2024-11-08
Novas Funcionalidades
- Table name: Usar a nome da classe como nome da tabela.
- Tabelas em plural: criar tabelas em plural adicionando 's' no final do nome da classe.
Melhorias
- **tablename**: Usar o atributo
__tablename__como nome da tabela exatamente como fornecido. - Returnar o registro criado: no método
.create()returnar o registro criado como objecto da classe em causa.
Correções de Bugs
Changelog
Versão 0.0.3 - 2024-11-01
Novas Funcionalidades
- ULID para PostgreSQL: Adicionado suporte para usar ULID (Identificador Lexicograficamente Ordenável Universalmente Único) nas conexões com bancos de dados PostgreSQL.
- ID Incremental para SQLite e PostgreSQL: Introduzido o uso de IDs incrementais para conexões com bancos de dados SQLite e PostgreSQL.
- Campo
created_atAutomático: Adicionado o campocreated_atcomo padrão para todos os modelos.
Melhorias
- Verificação de Conexão com o Banco de Dados: Melhoradas as operações CRUD para incluir verificações automáticas de conectividade com o banco de dados antes da execução.
Correções de Bugs
- Execução de Consultas: Corrigido um problema onde as consultas não estavam sendo executadas na conexão correta do banco de dados.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloey_orm-0.0.5.post1.tar.gz
(9.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloey_orm-0.0.5.post1.tar.gz.
File metadata
- Download URL: cloey_orm-0.0.5.post1.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2142d5791bcf7e390aab71c041e98f820ede8edd6bcb5534535767d775161fd
|
|
| MD5 |
783ae03553463654eab4ddad279f6197
|
|
| BLAKE2b-256 |
8322145771f7e26103f41c50713383d9b3decf14c478b9e384a8f15de8f583f7
|
File details
Details for the file cloey_orm-0.0.5.post1-py3-none-any.whl.
File metadata
- Download URL: cloey_orm-0.0.5.post1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
147575dc7bdbcc54c74b42eb3eee2b8758e83f80a17e19bb6416b864b38d0bdc
|
|
| MD5 |
6a877a74ec2ea41606ecb4fca5b4d73d
|
|
| BLAKE2b-256 |
7ac3c022f7894612afc52ddd5d18e8eac05ca16042578ecfe768d63792f00d8b
|