ENAMLCOMPILE(1)

πŸ“¦ version 0.19.0, in ubuntu resolute, ubuntu stonking

✨ ENAMLCOMPILE(1) ✨

okay bestie, welcome to the enamlcompile page from the Enaml documentation πŸ’– this is the manual for the command, and yes it's giving main character energy, let's go πŸ¦‹


🌸 NAME 🌸

enamlcompile β€” byte compile Enaml source files πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

enamlcompile [-V VERSION_RANGE] [-p PACKAGE] [DIR_OF_FILE]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically it's a wrapper around the enaml.compile module, and its whole job is byte-compiling Enaml files. That's it, that's the vibe ✨


πŸ’œ OPTIONS πŸ’œ

  • -h, --help β€” prints a help message and dips. very demure, very mindful πŸ™ˆ
  • -v, --verbose β€” turns on verbose mode, so it tells you everything it's doing, no cap πŸ—£οΈ
  • -q, --quiet β€” be quiet 🀫 like, shhh
  • -f, --force β€” forces the rebuild of the byte-code files, even if the files already exist. it does not care, it will rebuild anyway πŸ’€
  • -p PACKAGE, --package=PACKAGE β€” specify the Debian package name whose files should be bytecompiled πŸ“
  • -V VERSION_RANGE β€” forces Enaml source files from private module directories to be bytecompiled with the Python 3 versions matching the given range, regardless of the default Python 3 version on the system πŸ‘‘

And if there are no other options, it bytecompiles all Enaml source files from public module directories for the installed Python 3 versions that match the given range. periodt πŸ’…

VERSION_RANGE examples:

  • 3.1 β€” version 3.1 only
  • "3.1-" β€” version 3.1 or newer
  • "3.1-3.3" β€” version 3.1 or 3.2
  • -4.0 β€” all supported 3.X versions

🌈 EXAMPLES 🌈

enamlcompile -p python3-foo

Byte-compile enaml files from package's public files. The Python version is automatically detected from the file path ✨

enamlcompile -p python3-foo /usr/share/foo

Byte-compile enaml files form package's private files for all installed Python versions 🫢

enamlcompile -V 3.11 /usr/lib/python3/

Byte-compile all enaml files for Python 3.11 ⭐

enamlcompile -V 3.9-3.11 /usr/lib/foo/bar.enaml

Byte-compile the given enaml file for Python 3.9 and Python 3.10 only πŸ’–

enamlcompile -V 3.9- /usr/lib/python3/

Byte-compile all enaml files for all installed Python version greater then 3.9 πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Alexander Sulfrian, 2025 πŸ’œ


and that's the whole page bestie, you ate it πŸŽ€

signing off from Enaml 0.19.0, dated 2026-03-20 β€” same energy as the ENAMLCOMPILE(1) header up top, iykyk πŸŒΈπŸ’…

πŸ“¦ where this page comes from