Skip to main content

A CLI for working with PyCharm intepreters.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetsetter-0.1.3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

jetsetter-0.1.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file jetsetter-0.1.3.tar.gz.

File metadata

  • Download URL: jetsetter-0.1.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for jetsetter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 57cd7c0685c064c938c4ec45f4413a46933293fcdadd26f0b2b577379b099b01
MD5 f76ac70a0b2bf6fb26ca842813205dc2
BLAKE2b-256 09e1731c828bf6115eda1f16e2da3541733944f5d86a0b013954cc3b8d31f355

See more details on using hashes here.

File details

Details for the file jetsetter-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: jetsetter-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for jetsetter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec1af869723ce4d1551367c7fdb7d2ba657460697f6d7fe6171aa1003f43c030
MD5 bb6f0bfe0e2f330c0b94b39cf7b927a5
BLAKE2b-256 6ffd79a34ee75407b9317e0a12895d64e4242bff3759337a6cd584657d94df87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page