Skip to main content
#+title:🏰 Elysium
#+author: Ian Kollipara
#+date: <2022-05-15 Sun>

Elysium is a Python ODM built for [[https:deta.sh][Deta]]. The name comes from one of the mountains of Mars. The main perks being:
- Tight integration with Deta Base
- Lambda queries to search with
- Your choice off dataclasses or Pydantic for data modeling


To install simply type:
#+begin_src shell
pip install elysium
#+end_src

Elysium is in development software, but the API is stable.

** Roadmap
- [X] Use Lambdas to query the database
- [X] Allow use of Pydantic or dataclasses
- [ ] Create Testing Suite
- [ ] Implement Deta's updates on the backend
- [ ] Implement some sort of way to handle related data (maybe ad-hoc joins?)

** Usage

#+begin_src python
from elysium import Elysium
from dataclasses import dataclass

elysium = Elysium()

@dataclass
class Article(Elysium.Model):
title: str
author: str
body: str

elysium.generate_mappings()


a = Article("test", "ikollipara", "lorem ipsum")

elysium.insert(a)

Article.fetch(lambda a: a.title == "test") # Article("test", "ikollipara", "lorem ipsum")
#+end_src

Metadata

Release files for elysium 0.1.0

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

Source distribution (sdist)

Source distribution for elysium 0.1.0
File Size Uploaded
Elysium-0.1.0.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for elysium 0.1.0
File Interpreter ABI Platform
Elysium-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / Elysium-0.1.0.tar.gz

Download URL Elysium-0.1.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8f760ecac8deb9a562843adb901d50e6dd43cb2771efa544a5383596ff2e3af7
BLAKE2b-256 checksum
How to use checksums
2348d7609d65fb0fb4c05f844fe95b6b62be0814e80ee04b2a3072a2d33321b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.17.6-300.fc36.x86_64

Release files / Elysium-0.1.0-py3-none-any.whl

Download URL Elysium-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36c329e4be59fda3d8f7e5c9fc239484c18099da5e53da95be782707b8c3e3e5
BLAKE2b-256 checksum
How to use checksums
61826b641e4ed27331ae2c6466df57a58de74fac644635c2924178e9de62d8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.17.6-300.fc36.x86_64

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

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