$npx skillfedfor your agent

py-automapper

Library for automatically mapping one object to another

With conditionsPyPI Python ModulesReleased Mar 2025193.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_automapper-2.2.0-py3-none-any.whl
v2.2.0 · released 2025-03-09 · Python >=3.8

Yes, with conditions. Install if you need straightforward object-to-object mapping in a layered architecture and work with Pydantic, SQLAlchemy, or TortoiseORM. The library is stable and dependency-free, but maintenance was recently renewed after a long pause—monitor the repository for follow-through on the maintainer's commitment to resume active development before relying on it for critical systems.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Maintenance recently renewed after a pause; last release was 523 days ago but the maintainer has committed to resuming active development.
  • Supports Python 3.8 through 3.13.

License · maintenance · safety

permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2025-03-09 (523 days) · last repo commit 2025-03-29 · 77 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 193,171 downloads/mo, #9,853 on PyPI

Verify before relying

pip install py-automapper

from automapper import mapper

class Source:
    def __init__(self, name: str, age: int):
        self.name = name
        self.age = age

class Target:
    def __init__(self, name: str):
        self.name = name

source = Source("John", age)
target = mapper.to(Target).map(source)
print(vars(target))
  • Whether the maintainer's commitment to resume active development will result in regular releases and timely bug fixes.
  • Performance characteristics when mapping deeply nested object hierarchies or large collections.
  • Compatibility details with the latest versions of Pydantic v2, SQLAlchemy 2.x, and TortoiseORM.
Same gist for agents: .md · .json

What it is and what it does

py-automapper is a field-mapping library designed for layered architectures where objects need to be converted between different representations—such as mapping domain models to API DTOs or database models to presentation objects. It automatically copies matching fields from a source object to a target class instance, with support for field name remapping, value overrides, and optional deep copying to control object reference sharing.

The library includes built-in extensions for popular frameworks: Pydantic/FastAPI models, TortoiseORM, and SQLAlchemy. You can register mappings once and reuse them, or map on-demand by specifying the target class. It handles dictionaries as source objects and allows customization through field mappings and extension points for advanced use cases.

Use it for

  • Convert domain model objects to API response DTOs while selectively exposing only public fields.
  • Map database ORM models to Pydantic models for API endpoints.
  • Transform data between layers in a multilayer architecture without manual field-by-field assignment.
  • Remap dictionary data into typed Python objects with field name translation.
  • Create read-only API representations by filtering sensitive fields during object mapping.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need straightforward object-to-object mapping in a layered architecture and work with Pydantic, SQLAlchemy, or TortoiseORM. The library is stable and dependency-free, but maintenance was recently renewed after a long pause—monitor the repository for follow-through on the maintainer's commitment to resume active development before relying on it for critical systems.

Install

py-automapper on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance recently renewed after a pause; last release was 523 days ago but the maintainer has committed to resuming active development. Supports Python 3.8 through 3.13.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install py-automapper

from automapper import mapper

class Source:
    def __init__(self, name: str, age: int):
        self.name = name
        self.age = age

class Target:
    def __init__(self, name: str):
        self.name = name

source = Source("John", age)
target = mapper.to(Target).map(source)
print(vars(target))

Verify before relying

  • Whether the maintainer's commitment to resume active development will result in regular releases and timely bug fixes.
  • Performance characteristics when mapping deeply nested object hierarchies or large collections.
  • Compatibility details with the latest versions of Pydantic v2, SQLAlchemy 2.x, and TortoiseORM.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 523 days since the last release
Last repo commit
First released
Downloads193,171 / month, #9,853 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Build ToolsTopic :: Software Development :: Libraries :: Python Modules

Evidence: py_automapper-2.2.0-py3-none-any.whl

Tags

Capabilities
object mapping between classesdto conversion pythonautomatic field mappingpydantic model mappingsqlalchemy to dtodata transfer object mappercross-layer object conversion
Topics
dto-mappingorm-integrationlayered-architecture
PyPI keywords
utilsdtoobject-mappermappingdevelopment

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “object mapping between classes”

  • py-automapperAutomatically maps object fields from one class to another, handling…
  • YORMYORM maps Python object attributes bidirectionally to YAML files,…
  • mongoengineMongoEngine provides an Object-Document Mapper (ODM) layer on top of…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also sqlmodel · jsonschema-pydantic-converter · sparkdantic · dydantic · SQLAlchemy · jambo · tortoise-orm · jsonschema-pydantic · dataclasses-avroschema · pydantic-to-typescript2