Skip to content

Installation

From PyPI

Install the latest stable version of CLI:

pipx install usenc

Or add the library to your project:

pip install usenc

From Source

Clone the repository and install in development mode:

git clone https://github.com/crashoz/usenc.git
cd usenc
pip install -e .

Development Installation

For development, install with dev dependencies:

pip install -e ".[dev]"

This includes:

  • pytest - for running tests
  • pytest-cov - for test coverage

Documentation Dependencies

To build the documentation locally:

pip install -e ".[docs]"
mkdocs serve

Then open http://127.0.0.1:8000 in your browser.

Requirements

  • Python 3.8 or higher

Verify Installation

Test that the installation worked:

# Check CLI is available
usenc --help

# Try encoding something
echo "hello world" | usenc url

You should see hello%20world as output.