Skip to main content

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 commands directory for examples.
  • Easily profile any command using the prof prefix.
  • Can use your own environment or run in an isolated environment using the --isolated flag.

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.2.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xf_cli-0.0.2-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file xf_cli-0.0.2.tar.gz.

File metadata

  • Download URL: xf_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for xf_cli-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4067cb0c515ad528bec9e69a64afc5ec8075df9be11036aa87f33712559eab5e
MD5 26ffaf4a681454e9b76bf8872a73365c
BLAKE2b-256 2052ffea4887d7a43599b1f2447f92288e094c60b3935fb3830fab4d1f8b7fb0

See more details on using hashes here.

File details

Details for the file xf_cli-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: xf_cli-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for xf_cli-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1ab7c872bc168a569cee667a9d3bd1c879b13482c0f2f1d5aec0fd5f954c1c5
MD5 2808946e5964dc6c62511be5153d0e42
BLAKE2b-256 daf2cd478a98e80d2465ac2dbd12f1efba55bb9717ef54d2b873f0a5544c6eb9

See more details on using hashes here.

Supported by

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