#+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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Elysium-0.1.0.tar.gz | 10.3 kB | Without provenance | Details for Elysium-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Elysium-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for Elysium-0.1.0-py3-none-any.whl |
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
|
Security for elysium 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.