Make Python CLI tools blazing fast 🚀
Project description
Jump the Gun
Make Python CLI tools win the speed race, by cheating!
What?
Make Python CLI tools blazing fast, by entirely avoiding the time taken for Python interpreter startup and module imports.
Why?
CLI tools should be fast. Ideally, running them should be near-instant.
This is especially significant, for example, when running code linting and formatting tools on just a few files in SCM hooks, such as via pre-commit.
Installation
Install into the same Python env where you have tools like black or flake8 installed:
pip install git+https://github.com/taleinat/jumpthegun.git
Usage
Example:
jumpthegun start black
time jumpthegun run black --help
time black --check .
time jumpthegun run black --check .
jumpthegun stop black
Copyright & License
Copyright 2022-2023 Tal Einat.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Version 3.90 of the filelock library is included in this codebase as-is. It is made available under the terms of the Unlicense software license. See it's LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jumpthegun-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ea21d981974cbded1d28724e44b4d092db33291c9336941393677b61980cb3 |
|
MD5 | 141069cc3773c7e384b1857f68371168 |
|
BLAKE2b-256 | 47d2487dd71a22e4c0f7efee61face30a936659ca2b0ed0784f43015052caac8 |