Metadata-Version: 2.4
Name: permaculture
Version: 0.0.7
Summary: Permaculture design toolkit
Author-email: Marc Tardif <marc@taram.ca>
License-File: LICENSE.rst
Requires-Python: <4.0,>=3.13
Requires-Dist: appdirs<2.0.0,>=1.4.4
Requires-Dist: attrs>=23.1.0
Requires-Dist: beautifulsoup4<5.0.0,>=4.12.2
Requires-Dist: configargparse<2.0,>=1.7
Requires-Dist: defusedxml<1.0.0,>=0.7.1
Requires-Dist: more-itertools<11.0.0,>=10.1.0
Requires-Dist: pyyaml<7.0.0,>=6.0.1
Requires-Dist: requests<3.0.0,>=2.31.0
Requires-Dist: unidecode<2.0.0,>=1.3.6
Requires-Dist: xlrd<3.0.0,>=2.0.1
Requires-Dist: yarl<2.0.0,>=1.9.2
Provides-Extra: check
Requires-Dist: ruff<1.0.0,>=0.15.0; extra == 'check'
Provides-Extra: docs
Requires-Dist: sphinx-rtd-theme<2.0.0,>=1.2.0; extra == 'docs'
Requires-Dist: sphinx<7.0.0,>=6.1.3; extra == 'docs'
Requires-Dist: sphinxcontrib-log-cabinet<2.0.0,>=1.0.1; extra == 'docs'
Provides-Extra: test
Requires-Dist: coverage<8.0.0,>=7.2.3; extra == 'test'
Requires-Dist: pyhamcrest<3.0.0,>=2.0.4; extra == 'test'
Requires-Dist: pytest-asyncio<0.23.0,>=0.21.0; extra == 'test'
Requires-Dist: pytest-unique<1.0.0,>=0.1.1; extra == 'test'
Requires-Dist: pytest<8.0.0,>=7.2.2; extra == 'test'
Description-Content-Type: text/x-rst

Permaculture Design Toolkit
===========================

This is an experimental toolkit to assist in permaculture design.

Usage
-----

To ``search`` for the scientific name of a plant by common name:

.. code-block:: text

    > permaculture search consoude
    - symphytum officinale:
      - comfrey
      - consoude
    - symphytum x uplandicum:
      - consoude russe
      - rusian comfrey

To ``lookup`` the characteristics of a plant by scientific name:

.. code-block:: text

    > permaculture lookup "symphytum officinale"
    - animal damage: deer, gophers
      bloom period:
        max: summer
        min: spring
      chemical:
        allantoin: 12
        aluminum: 5
        ascorbic-acid: 112
        ash: 0
        asparagine: 2
    ...

To show the list of commands:

.. code-block:: text

    > permaculture --help
    usage: permaculture [-h] {help,ingest,iterate,list,lookup,search,store} ...

    positional arguments:
      {help,ingest,iterate,list,lookup,search,store}
                            permaculture command
        help                show configuration help
        iterate             iterate over all scientific names
        list                list available databases
        lookup              lookup characteristics by scientific name
        search              search for the scentific name by common name
        store               store a file for a storage key

    options:
      -h, --help            show this help message and exit

Configuration
-------------

The ``permaculture`` command can be configured with options on the
command-line or the same options in an INI configuration file: either
``.permaculture`` in your current working directory or ``~/.permaculture``
in your home directory. To configure logging:

.. code-block:: text

    log-level = debug
    log-file = permaculture.log

Project Information
-------------------

* `Documentation <https://cr3.github.io/permaculture/>`__
