- Python 3.10+
- Poetry
-Install from the source, following the :ref:`installation` instructions.
+Install from the source, following the :ref:`installation_from_source` instructions.
Brief explanation about the code under the Wayback Tweets directory:
-.. _installation:
-
Installation
================
+**It is compatible with Python versions 3.10 and above.**
Using pip
------------
pip install waybacktweets
+Using Poetry
+------------
+
+ .. code-block:: shell
+
+ poetry add waybacktweets
+
+.. _installation_from_source:
+
From source
-------------
- Clone the repository:
+ **Clone the repository:**
.. code-block:: shell
git clone git@github.com:claromes/waybacktweets.git
- Change directory:
+ **Change directory:**
.. code-block:: shell
cd waybacktweets
- Install poetry, if you haven't already:
+ **Install Poetry, if you haven't already:**
.. code-block:: shell
pip install poetry
- Install the dependencies:
+ **Install the dependencies:**
.. code-block:: shell
poetry install
- Run the CLI:
+ **Install the pre-commit:**
+
+ .. code-block:: shell
+
+ poetry run pre-commit install
+
+ **Run the CLI:**
.. code-block:: shell
poetry run waybacktweets [SUBCOMMANDS]
- Run the Streamlit App:
+ **Starts a new shell and activates the virtual environment:**
+
+ .. code-block:: shell
+
+ poetry shell
+
+ **Run the Streamlit App:**
.. code-block:: shell
streamlit run app/app.py
- Build the docs:
+ **Build the docs:**
.. code-block:: shell