Skip to main content

Macaron is a small object-relational mapper (ORM) for SQLite on Python. It is distributed as a single file module which has no dependencies other than the Python Standard Library.

Macaron provides easy access way to SQLite database as standalone. And also it can work in Bottle web framework through the plugin mechanism.

Example:

>>> import macaron
>>> macaron.macaronage("members.db")
>>> team = Team.create(name="Houkago Tea Time")
>>> team.members.append(name="Ritsu", part="Dr")
<Member object 1>
>>> mio = team.members.append(name="Mio", part="Ba")
>>> print mio
<Member 'Mio : Ba'>
>>> for member in team.members: print member
...
<Member 'Ritsu : Dr'>
<Member 'Mio : Ba'>
>>> macaron.bake()
>>> macaron.cleanup()

Release files for macaron 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for macaron 0.3.1
File Size Uploaded
macaron-0.3.1.tar.gz 15.2 kB Details

Release files / macaron-0.3.1.tar.gz

Download URL macaron-0.3.1.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c8d4c6b3a9217f7fd3c0f2c404eb0a9a207aea83a91370cf5cfdf192e38c5c1c
BLAKE2b-256 checksum
How to use checksums
4ef7b1a604969b58813351bd79bf2f2eed9e022269e4ff2a16397d3ef0a72a99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page