pynball
A command line tool to consolidate development with various versions of Python , pyenv and virtualenvwrapper
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A command line tool to consolidate development with various versions of Python , pyenv and virtualenvwrapper
Basic Info
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
- Releases: 19
Topics
Metadata Files
README.md
Pynball
Centralized management and utilization of all your Python versions, installations and virtual environments.

You may have a requirement for development on various versions of Python. Or you may have a mixture of installations including pyenv, custom installations, system installations etc. Pynball can make leveraging such environments a lot easier.
Features
- Consolidates all Python installations including pyenv versions into a single management system.
- Easily create Virtual Environments using any Python version.
- Track which virtual environments have which Python versions and tox versions.
- Quickly change the System interpreter
Pre Installation Requirements
Minimum Requirements
- Python 3.8+
- pipx
- Virtualenv (which has benefits over venv)
- Virtualenvwrapper
For Maximum Benefits additionally install the following:
Installation
OS X & Linux:
Will be supported in version 2
Windows:
sh
pipx install pynball
Usage example
View Available commands
```sh pynball Usage: pynball [OPTIONS] COMMAND [ARGS]...
Utility script to help manage development with various versions of Python in conjunction with Virtual Environments and optionally the pyenv module
Options: --help Show this message and exit.
Commands: add Adds a name / path of an installation of Python. addall Add all versions to the Pynball configuration. delete Deletes a name / path of an installation of Python. exportconf Creates a configuration file backup. importconf Creates a configuration from a file backup lsproject Displays all Virtual Environment projects (with versions: native, tox and pyenv) mkproject Creates a Virtual Environment from a specific Python version. mvproject Renames a Virtual Environment (optionally updates GitHub and git) pyenv Automatically include the pyenv versions in Pynball reset Deletes all names / paths rmproject Deletes a Virtual Environment. system Changes the system Python Interpreter version. version Display details about the system Python Interpreter. versions Lists the names / paths of the configured Python installations ```
Add a Python version to the config
sh
pynball versions
D:\PYTHON\3.9.10 : --> System Interpreter
WARNING: Pynball configuration is empty - use 'add' command
sh
pynball add 3.8.10 D:\PYTHON\3.8.10
'3.8.10' Successfully added to configuration
sh
pynball versions
D:\PYTHON\3.9.10 : --> System Interpreter
3.8.10 D:\PYTHON\3.8.10
WARNING: System Interpreter is not in Pynball Configuration
Add all manually installed Python versions to the config
sh
pynball addall
'3.10.4' Successfully added to configuration
'3.5.4' Successfully added to configuration
'3.6.8' Successfully added to configuration
'3.7.9' Successfully added to configuration
WARNING: '3.8.10' already added to configuration as '3.8.10'
'3.9.10' Successfully added to configuration
sh
pynball versions
3.10.4 D:\PYTHON\3.10.4
3.9.10 D:\PYTHON\3.9.10 : --> System Interpreter
3.8.10 D:\PYTHON\3.8.10
3.7.9 D:\PYTHON\3.7.9
3.6.8 D:\PYTHON\3.6.8
3.5.4 D:\PYTHON\3.5.4
Add pyenv Python versions (if any) to the config
sh
pynball pyenv -u
'3.10.2' Successfully added to configuration
'3.5.2' Successfully added to configuration
'3.8.0' Successfully added to configuration
3.10.4 D:\PYTHON\3.10.4
3.10.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.10.2
3.9.10 D:\PYTHON\3.9.10 : --> System Interpreter
3.8.10 D:\PYTHON\3.8.10
3.8.0 C:\Users\conta\.pyenv\pyenv-win\versions\3.8.0
3.7.9 D:\PYTHON\3.7.9
3.6.8 D:\PYTHON\3.6.8
3.5.4 D:\PYTHON\3.5.4
3.5.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.5.2
sh
pynball versions
3.10.4 D:\PYTHON\3.10.4
3.10.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.10.2
3.9.10 D:\PYTHON\3.9.10 : --> System Interpreter
3.8.10 D:\PYTHON\3.8.10
3.8.0 C:\Users\conta\.pyenv\pyenv-win\versions\3.8.0
3.7.9 D:\PYTHON\3.7.9
3.6.8 D:\PYTHON\3.6.8
3.5.4 D:\PYTHON\3.5.4
3.5.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.5.2
Create a virtual environment using a version in the config
sh
pynball mkproject 3.8.10 hobgoblin
List all the virtual environments
sh
pynball lsproject
Project Name Native Version Pyenv Versions Tox Versions
============ ============== ============== ============
hobgoblin 3.8.10 - 3.8, 3.9, 3.10
organizer 3.9.10 - -
pizazz 3.9.10 - -
template 3.9.10 - -
Change system interpreter
sh
pynball system 3.6.8
sh
pynball versions
3.10.4 D:\PYTHON\3.10.2
3.10.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.10.2
3.9.10 D:\PYTHON\3.9.10
3.8.10 D:\PYTHON\3.8.10
3.8.0 C:\Users\conta\.pyenv\pyenv-win\versions\3.8.0
3.7.9 D:\PYTHON\3.7.9
3.6.8 D:\PYTHON\3.6.8 : --> System Interpreter
3.5.4 D:\PYTHON\3.5.4
3.5.2 C:\Users\conta\.pyenv\pyenv-win\versions\3.5.2
For more information, please refer to the wiki
Documentation
Meta
Stephen R A King : sking.github@gmail.com
Distributed under the MIT license. See for more information.
Owner
- Name: Stephen King
- Login: Stephen-RA-King
- Kind: user
- Location: Exeter, Devon, England
- Website: justpython.tech
- Repositories: 16
- Profile: https://github.com/Stephen-RA-King
Software Engineer / Python Developer
Citation (CITATION.cff)
cff-version: 1.2.0
title: pynamer
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Stephen
family-names: King
email: sking.github@gmail.com
orcid: "https://orcid.org/0009-0001-1939-6012"
identifiers:
- type: doi
value: 10.5281/zenodo.7978982
GitHub Events
Total
- Push event: 21
Last Year
- Push event: 21
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Stephen-RA-King | 3****g | 215 |
| pre-commit-ci[bot] | 6****] | 5 |
| dependabot[bot] | 4****] | 3 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 34
- Average time to close issues: N/A
- Average time to close pull requests: about 1 month
- Total issue authors: 0
- Total pull request authors: 3
- Average comments per issue: 0
- Average comments per pull request: 0.76
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 33
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- pre-commit-ci[bot] (18)
- dependabot[bot] (18)
- Stephen-RA-King (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 76 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 21
- Total maintainers: 1
pypi.org: pynball
Utility command line tool to manage python versions and virtual environments
- Homepage: https://github.com/stephen-ra-king/pynball
- Documentation: https://pynball.readthedocs.io/
- License: MIT
-
Latest release: 1.5.7
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- myst-nb *
- sphinx-autoapi *
- sphinx-rtd-theme *
- click *
- click ==8.1.3
- colorama ==0.4.4
- bandit * development
- black * development
- build * development
- click * development
- colorama * development
- commitizen * development
- coverage * development
- coverage-conditional-plugin * development
- flake8 * development
- flake8-bandit * development
- flake8-bugbear * development
- flake8-comprehensions * development
- flake8-docstrings * development
- flake8-eradicate * development
- flake8-pytest-style * development
- flake8-simplify * development
- flakeheaven * development
- isort * development
- jupyter * development
- keyring * development
- lxml * development
- mypy * development
- myst-nb * development
- pep8-naming * development
- pre-commit * development
- pynacl * development
- pytest * development
- python-semantic-release * development
- pyyaml * development
- requests * development
- safety * development
- sphinx * development
- sphinx-autoapi * development
- sphinx-rtd-theme * development
- tox * development
- twine * development
- types-requests * development
- watchdog * development
- 183 dependencies
- click ==8.1.3
- colorama ==0.4.4
- black *
- click *
- flake8 *
- lxml *
- mypy *
- pytest *
- pyyaml *
- safety *
- pytest * test
- atomicwrites ==1.4.0 test
- attrs ==21.4.0 test
- colorama ==0.4.4 test
- iniconfig ==1.1.1 test
- packaging ==21.3 test
- pluggy ==1.0.0 test
- py ==1.11.0 test
- pyparsing ==3.0.9 test
- pytest ==7.1.2 test
- tomli ==2.0.1 test
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite




