XF makes repeated python commands faster through import preloading
Project description
XF
XF stands for extra fast. XF imports your key packages on first call, so you don't pay a recurring tax for imports. Usually saves 1-10 seconds per invocation after startup.
Key features
- Comes with two modes: ipython mode and shell mode. Ipython feels like an ipython console; shell operates like a terminal.
- Extensible: we will accept PRs for additional commands. See the
commandsdirectory for examples. - Easily profile any command using the
profprefix. - Can use your own environment or run in an isolated environment using the
--isolatedflag.
Who would benefit from this:
- You are a non-python developer using a python cli
- You are a python developer
Who would not benefit from this:
- Production use cases
- Long-running commands where a few seconds of savings don't make a difference
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
xf_cli-0.0.6.tar.gz
(30.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
xf_cli-0.0.6-py3-none-any.whl
(41.8 kB
view details)
File details
Details for the file xf_cli-0.0.6.tar.gz.
File metadata
- Download URL: xf_cli-0.0.6.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
829252f53223ee1795319aa6c5df8459975a36417f0e236259a58401377ecb26
|
|
| MD5 |
9cef3e2b8e0071c2a2d45f3286c2fca5
|
|
| BLAKE2b-256 |
944d382d40cc8389574f3c3632b2985e206854ebab9a16c5a0e1d1bed0abe66f
|
File details
Details for the file xf_cli-0.0.6-py3-none-any.whl.
File metadata
- Download URL: xf_cli-0.0.6-py3-none-any.whl
- Upload date:
- Size: 41.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ba77408413022724ce03c132eab8c1174f9a98026adabb900c44185c2cc5293
|
|
| MD5 |
2fafd1521d22d4d8159c5b3cae33d658
|
|
| BLAKE2b-256 |
611017fd4eadbd4f6bfd08e78aaf7b40b62dc06402a64781f5865ebddce26716
|