core logic for indiek
Project description
Library that stores the core logic for the IndieK software suite.
Installation
To install from PyPI: pip install indiek-core
To develop, use the [dev] dependency specification, e.g.: pip install indiek-core[dev]
Or from the cloned repo’s top-level in editable mode: pip install -e .[dev]
Quickstart
from indiek.core.items import Item
from indiek.mockdb.items import Item as DBitem
item1 = Item(name='item1', content='example item 1').to_db()
item1.save()
item2 = DBitem.load(item1.ikid)
print(item2.name, item2.content)
Tests
To run the full test suite, type the following from the top level of this repo: pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
indiek-core-0.1.1.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for indiek_core-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebd3a0bc704427892ae462a6ffe683fc18d6eccd4803c848d7f595625cfde5b |
|
MD5 | 636a43f92d109f5b2d9d67e144277a75 |
|
BLAKE2b-256 | e9920d1ec1104ce769569255d721ccb7d7a0edbfde85cbbe6e56a8d1b0854fae |