Skip to content

indiek/indiek.core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Core logic Python module of IndieK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages