Python implementation of [Earthstar](https://earthstar-project.org/)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gergely Polonkai 382449d6bb
Initial version with identity handling
1 year ago
earthsnake Initial version with identity handling 1 year ago
mypy-stubs/ed25519 Initial version with identity handling 1 year ago
tests Initial version with identity handling 1 year ago
.coveragerc Initial version with identity handling 1 year ago
.gitignore Initial version with identity handling 1 year ago
LICENSE Initial version with identity handling 1 year ago
README.rst Initial version with identity handling 1 year ago
poetry.lock Initial version with identity handling 1 year ago
pyproject.toml Initial version with identity handling 1 year ago

README.rst

Python implementation of Earthstar

WARNING!

This library is very limited in functionality, and is under active development. Be prepared for things to break.

Usage

Create an identity and save it as a mnemonic:

from earthsnake import Identity

identity = Identity('test')
mnemonic = identity.mnemonic

Then you can load it back from the mnemonic:

identity = Identity.from_mnemonic(mnemonic)

Development

Type checking:

env MYPYPATH=mypy-stubs poetry run mypy --strict earthsnake tests

Static linting:

poetry run pylint earthsnake tests

Tests:

poetry run pytest -vv --cov=. tests