Installation
Prerequisites:
- Python 3.10 or higher
with pip recommended
PLUTUS is published as a python package and can be installed with
pip
, ideally by using a virtual environment. Open up a terminal and install
PLUTUS with:
-
PLUTUS uses semantic versioning.
This will make sure that you don't accidentally [upgrade to the next major version], which may include breaking changes that silently corrupt your site. Additionally, you can use
pip freeze
to create a lockfile, so builds are reproducible at all times:Now, the lockfile can be used for installation:
This will automatically install compatible versions of all dependencies. PLUTUS always strives to support the latest versions, so there's no need to install the dependencies separately. PLUTUS dependencies are listed below:
numpy | pandas | plotly | requests | matplotlib | yfinance | arch | seaborn
Tip
If you don't have prior experience with Python, we recommend reading Using Python's pip to Manage Your Projects' Dependencies, which is a really good introduction on the mechanics of Python package management and helps you troubleshoot if you run into errors.
with git
PLUTUS can be directly used from GitHub by cloning the repository into a subfolder of your project root which might be useful if you want to use the very latest version:
Next, install the theme and its dependencies with:
with poetry
Prerequisites:
Installing PLUTUS:
This command downloads and installs the package and its dependencies and adds the package as a dependency in your pyproject.toml
.
Using the Package:
After installation, you can start using the package in your project. If you need to enter the virtual environment managed by Poetry, run:
Verify the Installation:
Updating the Package:
Add packages to a group:
Install the dependencies from a group: