Installation¶
Python Version¶
Injectify is compatible with Python 3.5 and newer.
Dependencies¶
These packages will be installed automatically with Injectify.
- astunparse is an AST unparser for Python.
Pipenv¶
The recommended way to install the injectify
package is to simply use pipenv.
$ pipenv install injectify
Pipenv is a tool that automatically creates and manages a virtual environment for your project.
Virtual Environment¶
If you prefer, pip
and virtualenv
can be used separately. Python comes bundled
with the venv
module to create virtual environments, which you can use.
Create an Environment¶
Create a project folder and a venv
folder within:
$ mkdir myproject
$ cd myproject
$ python3 -m venv venv
Activate the environment¶
Before you work on your project, activate the corresponding environment:
$ . venv/bin/activate
On Windows:
> venv\Scripts\activate
Your shell prompt will change to show the name of the activated environment.
Install Injectify¶
Within the activated environment, use the following command to install Injectify:
$ pip install Injectify
Injectify is now installed. Check out the Quickstart or go to the Documentation Overview.