About
A simple IPython extension to show the path and virtualenv in the prompt. The extension attempts to detect both venv and Anaconda environments, and shows it along with the path above the standard IPython input prompt.
Installation
Install as usual from PyPI:
pip install ipython-venv-path-prompt
or from git:
git clone https://github.com/javidcf/ipython_venv_path_prompt.git cd ipython_venv_path_prompt/ python setup.py install
The extension can be loaded from within an IPython session with %load_ext ipython_venv_path_prompt. To load the extension automatically, edit your IPython profile file. This file is located under your profile directory, which by default is ~/.ipython/profile_default, but you can check the exact location with the following command:
ipython -c "import IPython; print(IPython.get_ipython().profile_dir.location)"
If there is no ipython_config.py file in that directory, create one. Then, edit the file and add the extension name to the list of extensions to load on startup. Your configuration file could look like this:
c = get_config()
c.InteractiveShellApp.extensions = [
'ipython_venv_path_prompt'
]
For more information about IPython configuration, see Introduction to IPython documentation.
Metadata
Release files for ipython-venv-path-prompt 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipython_venv_path_prompt-0.1.4.tar.gz | 2.5 kB | Without provenance | Details for ipython_venv_path_prompt-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ipython_venv_path_prompt-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for ipython_venv_path_prompt-0.1.4-py3-none-any.whl |
Total release size: 6.4 kB
Release files / ipython_venv_path_prompt-0.1.4.tar.gz
| Download URL | ipython_venv_path_prompt-0.1.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bd553cb70265a44ab258e9e09c9714235509a279c0ec5d23d607d13a3bb6c87
|
|
BLAKE2b-256 checksum How to use checksums |
71929c325a23d720c8d6fa10a9ccc91def1c42cbd1d123aa954ad4df7aff736d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / ipython_venv_path_prompt-0.1.4-py3-none-any.whl
| Download URL | ipython_venv_path_prompt-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c83e4de4725ba2c5b399974c6cc79009bbf8adcb9d89628f2abffd0f218ea9e3
|
|
BLAKE2b-256 checksum How to use checksums |
a9bbeaaa997628a7503d523688cc3afb834fd281556746eb69a784b6b3639a0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for ipython-venv-path-prompt 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.