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.4.tar.gz (30.0 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.4-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xf_cli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 806dbd739c56830994d7e1fceabda51c0347b810f33d88a1e8ade160c3e7d3cf
MD5 f0c741f203db2750cd10853245bec5f1
BLAKE2b-256 9ffaef392183f4a3b1d6cbdc86d901ab20f612c0935a6fa0113d883e064fc418

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xf_cli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d373ac3e201f0efb8b766862cf45e162181630e5a07fe2ed0925be4c4cc0de16
MD5 4abec4ab9ceb7b0ad40dbdbc2b03caf1
BLAKE2b-256 3918a28fa6407807ed3c052c36d84b83607e938809059bd4b4bfb6b7db21f89a

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