Skip to content

ufpy package

Introduction

Ufpy (Useful Python) - is a package for simplifying Python programs using many useful features.

Now Ufpy has these features:

Installing

To install ufpy, you need python 3.12+ and pip. After installing, use this command in your cmd/bash terminal:

pip install ufpy

In Linux there isn't abillity to install packages globally (except Fedora, you can use pip3). But you can create venv!

# If you haven't venv package -> install it
sudo apt install python3.12-venv # On Debian, replace 3.12 with your version
sudo dnf install python3.12-venv # On Fedora

# Create venv
python3.12 -m venv venv # replace 3.12 with your version
Then activate it and install ufpy!
source venv/bin/activate
pip install ufpy

python -3.12 -m pip install ufpy
# or
py -3.12 -m pip install ufpy

Create venv with specific python version.

# If you haven't venv package -> install it
sudo apt install python3.12-venv # On Debian, replace 3.12 with your version
sudo dnf install python3.12-venv # On Fedora

# Create venv
python3.12 -m venv venv # replace 3.12 with your version
Then activate it and install ufpy!
source venv/bin/activate
pip install ufpy

Importing and writing some code

After installing, you can use ufpy package in all your projects with 3.12+ python version. Just import ufpy or import certain classes, functions and variables.

import ufpy
from ufpy import UDict

Enjoy!

About the site

Site was made using mkdocs with mkdocs material theme. You can use search: just click Search text input at the top of the page or use the S or F hotkeys. You can switch themes using the button on the left and access the ufpy repository using the button on the right.

Contribute

You can also contribute to ufpy package or ufpy docs site. Just go to ufpy repository using button in right-top of page. For contributing to site you can go to ufpy-website repository.