2022-05-09 17:39:52 +02:00
2022-05-09 17:39:52 +02:00
2022-05-09 14:49:15 +02:00
2022-05-03 08:33:18 +02:00
2022-05-06 12:14:25 +02:00
2022-05-09 06:22:32 +02:00

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:

.. code-block:: python

   from earthsnake import Identity

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

Then you can load it back from the mnemonic:

.. code-block:: python

   identity = Identity.from_mnemonic(mnemonic)

Development
===========

Type checking:

.. code-block:: sh

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

Static linting:

.. code-block:: sh

   poetry run pylint earthsnake tests

Code style check:

.. code-block:: sh

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

Tests:

.. code-block:: sh

   poetry run pytest -vv --cov=. tests
Description
Python implementation of [Earthstar](https://earthstar-project.org/)
Readme 918 KiB
Languages
Python 100%