core logic for indiek
Project description
Library that stores the core logic for the IndieK software suite.
This library is not meant to be used directly. Rather, it should be used by GUIs or web apps that wish to comply with the IndieK API.
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 Definition
item1 = Definition(name='def1', content='example def 1')
item1_id = item1.save()
reloaded = Definition.load(item1_id)
assert item1 == reloaded
item1.delete()
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.5.tar.gz
(17.6 kB
view details)
File details
Details for the file indiek-core-0.1.5.tar.gz
.
File metadata
- Download URL: indiek-core-0.1.5.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b5edd04e7e6b19c6b0558c98d1bb725c905bf4f807be23813e5e602719084d6 |
|
MD5 | 29b450ba8a53914fefc4690a4d648acb |
|
BLAKE2b-256 | 9bdd07110edc20f6855385c6e362f4e24a6dd9d77f135cba79d2c8b472e65b7d |