jetsetter
Jetsetter is a tool for managing PyCharm interpreter settings. It allows you to quickly add an interpreter to PyCharm.
Rationale
PyCharm has the abiltiy to add an interpreter to a project, but it is a multi-step process. This tool aims to make it
simple to do from the command line. It does so by adding the file to the jdk.table.xml file in your PyCharm's config directory.
Installation
pipx install jetsetter
Usage
jetsetter interpreter add /path/to/interpreter --name "My Interpreter"
Will add in a new interpreter to PyCharm with the name "My Interpreter" and the path /path/to/interpreter.
jetsetter interpreter add
Will look for an interpreter in the current directory and add it to PyCharm. Currently it looks for a .venv, venv, or virtual environment in the current directory. If no name it will use the name of the directory and the Python version.
Note: You'll have to restart PyCharm for the changes to take effect.
Development
This project uses Rye for development. To get started, install Rye and run the following commands:
rye sync
If you have direnv installed, you can run direnv allow to activate the environment.
To run the tests, run the following command:
nox
Also you'll need to install the pre-commit hooks:
pre-commit install --hook-type pre-commit --hook-type pre-push
Metadata
Release files for jetsetter 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jetsetter-0.1.3.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jetsetter-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / jetsetter-0.1.3.tar.gz
| Download URL | jetsetter-0.1.3.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57cd7c0685c064c938c4ec45f4413a46933293fcdadd26f0b2b577379b099b01
|
|
BLAKE2b-256 checksum How to use checksums |
09e1731c828bf6115eda1f16e2da3541733944f5d86a0b013954cc3b8d31f355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / jetsetter-0.1.3-py3-none-any.whl
| Download URL | jetsetter-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec1af869723ce4d1551367c7fdb7d2ba657460697f6d7fe6171aa1003f43c030
|
|
BLAKE2b-256 checksum How to use checksums |
6ffd79a34ee75407b9317e0a12895d64e4242bff3759337a6cd584657d94df87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|