ELPM — EasyLang Package Manager¶
ELPM (EasyLang Package Manager) is the official package manager for EasyLang.
It allows EasyLang developers to install and manage Python packages so they can be imported directly inside EasyLang using:
bring requests as req
bring math as m
ELPM is essentially a friendly wrapper around Python’s pip, but with:
- Progress bars
- Cleaner messages
- Beginner-friendly errors
- Consistent EasyLang-style output
ELPM is included with every EasyLang installation.
Why ELPM Exists¶
EasyLang programs can import Python libraries seamlessly, thanks to Python-module wrapping inside the interpreter. This means you can use powerful libraries like:
- requests
- numpy
- pillow
- flask
- rich
- beautifulsoup4
- etc.
But to make using these packages simple for beginners, ELPM provides:
elpm --install <pkg>elpm --uninstall <pkg>elpm --list- simple search
- clean install output
Key Features¶
| Feature | Description |
|---|---|
| Install packages | elpm --install <name> |
| Remove packages | elpm --uninstall <name> |
| Update packages | elpm --upgrade <name> |
| List installed libraries | elpm --list |
| Search PyPI | elpm --search <term> |
| Show package info | elpm --info <name> |
| Freeze dependency list | elpm --freeze |
| Get version | elpm --version |
| Help menu | elpm --help |
Where Packages Are Installed¶
ELPM installs packages into the same Python environment that runs EasyLang. This means EasyLang instantly gains access to the installed libraries.
Example:
elpm --install requests
bring requests as req
we let r = req.get("https://httpbin.org/get")
so print r.text
Next Steps¶
Continue to Getting Started