Skip to main content

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_at Field: Added automatic created_at as 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_at Automático: Adicionado o campo created_at como 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloey_orm-0.0.5.post1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for cloey_orm-0.0.5.post1.tar.gz
Algorithm Hash digest
SHA256 b2142d5791bcf7e390aab71c041e98f820ede8edd6bcb5534535767d775161fd
MD5 783ae03553463654eab4ddad279f6197
BLAKE2b-256 8322145771f7e26103f41c50713383d9b3decf14c478b9e384a8f15de8f583f7

See more details on using hashes here.

File details

Details for the file cloey_orm-0.0.5.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for cloey_orm-0.0.5.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 147575dc7bdbcc54c74b42eb3eee2b8758e83f80a17e19bb6416b864b38d0bdc
MD5 6a877a74ec2ea41606ecb4fca5b4d73d
BLAKE2b-256 7ac3c022f7894612afc52ddd5d18e8eac05ca16042578ecfe768d63792f00d8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page