
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
hermes-orm
Advanced tools
A high-performance ORM for Python with support for migrations, relations, and caching.
Hermes ORM is a modern Python ORM designed for simplicity, flexibility, and performance. With support for relational mappings, migrations, and advanced querying, Hermes ORM is tailored for developers who need a powerful yet intuitive tool for managing database operations in their applications.
SELECT, INSERT, UPDATE, and DELETE statements.One-to-One, One-to-Many, Many-to-Many, and polymorphic Morph relationships.Install Hermes ORM via pip:
pip install hermes-orm
Define models that represent your database structure:
from hermes.model import BaseModel
from hermes.fields import IntegerField, StringField, ForeignKeyField
class User(BaseModel):
id = IntegerField(primary_key=True)
name = StringField(max_length=255, nullable=False)
class Post(BaseModel):
id = IntegerField(primary_key=True)
user_id = ForeignKeyField("User", nullable=False)
content = StringField(nullable=False)
Use the CLI to generate and apply migrations:
hermes make_migration create_users_table create
hermes migrate
Perform operations on your models:
# Create a user
user = User(name="Alice")
user.save(db_connection)
# Fetch all posts
posts = Post.all(db_connection)
# Add a post for a user
post = Post(user_id=user.id, content="Hello, Hermes!")
post.save(db_connection)
OneToOne fields.OneToMany.ManyToMany pivot tables.MorphOne and MorphMany for flexible, type-based relations.Each relationship is implemented with robust utilities for querying and manipulation.
Hermes ORM is under active development, with new features and improvements added regularly. Contributions and feedback are welcome!
Hermes ORM is free to use for both personal and commercial projects. However, Hermes ORM itself cannot be resold or distributed as a standalone product.
Developed and maintained by Altxria Inc. with contributions from a growing community of developers.
If you find Hermes ORM useful, consider supporting its development and ongoing maintenance:
FAQs
A high-performance ORM for Python with support for migrations, relations, and caching.
We found that hermes-orm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.