Skip to content

Commit

Permalink
Add installation instructions to the README and the docs (#113)
Browse files Browse the repository at this point in the history
* Added installation instruction to README and Installation section to the docs

* Added installation instruction to README and Installation section to the docs

* Update installation.rst

---------

Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
  • Loading branch information
thepapermen and vxgmichel authored Jun 17, 2024
1 parent 8220c00 commit b405eda
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ The following example demonstrates most of the streams capabilities:
More examples are available in the `example section`_ of the documentation.

Installation
-------

You can install aiostream from PyPI as the `aiostream package`_.

Contact
-------
Expand Down Expand Up @@ -166,6 +170,8 @@ Vincent Michel: vxgmichel@gmail.com
.. _action: http://aiostream.readthedocs.io/en/latest/operators.html#aiostream.stream.action
.. _print: http://aiostream.readthedocs.io/en/latest/operators.html#aiostream.stream.print

.. _aiostream package: https://pypi.org/project/aiostream/

.. |docs-badge| image:: https://readthedocs.org/projects/aiostream/badge/?version=latest
:target: http://aiostream.readthedocs.io/en/latest/?badge=latest
:alt:
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Generator-based operators for asynchronous iteration
.. toctree::
:maxdepth: 1

installation
presentation
operators
core
Expand Down
12 changes: 12 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Installation
============

aiostream_ is available on PyPi_ - to install it run:

.. code-block:: sh
python -m pip install -U 'aiostream'
.. _aiostream: https://github.com/vxgmichel/aiostream
.. _PyPi: https://pypi.org/project/aiostream/

0 comments on commit b405eda

Please sign in to comment.