Skip to main content

A fast, user friendly ORM which supports asyncio.

Project description

Piccolo

Build Status

Coverage Status

Documentation Status

A fast, user friendly ORM and query builder which supports asyncio. Read the docs.

Some of it’s stand out features are:

  • Support for sync and async.
  • A builtin playground, which makes learning a breeze.
  • Tab completion support - works great with iPython and VSCode.
  • Batteries included - a User model, authentication, migrations, an admin, and more.
  • Modern Python - fully type annotated.

The syntax is clean and expressive.

# Select:
await Band.select().columns(
    Band.name
).where(
    Band.popularity > 100
).run()

# Join:
await Band.select().columns(
    Band.name,
    Band.manager.name
).run()

# Delete:
await Band.delete().where(
    (Band.band_members == 0) | (Band.manager.status == 'disabled')
).run()

# Update:
await Band.update().values({Band.members: 5}).where(
    Band.name == 'Pythonistas'
).run()

Get started.

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

piccolo-0.7.7.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

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

piccolo-0.7.7-py3-none-any.whl (68.5 kB view details)

Uploaded Python 3

File details

Details for the file piccolo-0.7.7.tar.gz.

File metadata

  • Download URL: piccolo-0.7.7.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for piccolo-0.7.7.tar.gz
Algorithm Hash digest
SHA256 f93604b4a643149b47ef824f6457eabde86ab53a977ff132a99a576deeb52ccb
MD5 993ab49f4ba376bac6d02c8346f530ae
BLAKE2b-256 b22fbdbc3779b9a2c4f1ea7b2b14fab927013674a4b869e489aa96060cb03f08

See more details on using hashes here.

File details

Details for the file piccolo-0.7.7-py3-none-any.whl.

File metadata

  • Download URL: piccolo-0.7.7-py3-none-any.whl
  • Upload date:
  • Size: 68.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for piccolo-0.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 234bb28759d81a74901d9055427d611b71482dfcc6f5ac95c41863bd37e6e3a3
MD5 c3e1144988ee2e57d770c535280d7677
BLAKE2b-256 af88df00c37d94a6da3600dfb22865944a0e2ef4ac5fe61aad7012a8190e799d

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