The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
Python implementation of [Earthstar](https://earthstar-project.org/)
You can not 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 5e57b24200
Add a __str__ and __repr__ method to Path
5 months ago
earthsnake Add a __str__ and __repr__ method to Path 5 months ago
mypy-stubs/ed25519 Initial version with identity handling 5 months ago
tests Add a __str__ and __repr__ method to Path 5 months ago
.gitignore Initial version with identity handling 5 months ago
LICENSE Initial version with identity handling 5 months ago
README.rst [Code Cleanup] Format source files with black 5 months ago
poetry.lock Initial version with identity handling 5 months ago
pyproject.toml Move coverage.py’s configuration into pyproject.toml 5 months 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

Code style check:

poetry run black --diff --skip-string-normalization earthsnake tests

Tests:

poetry run pytest -vv --cov=. tests