A lightweight utility to open urls with python or with the cli that requires Zero extra dependencys
Project description
TermuxUO
Aka TermuxUrlOpener
Zero Dependencys Required.
This dual function pip package & cli tool was made to solve an issue with Termux, not allowing opening urls in browser easily without their companion app; This package solves that.
Required packages: None
Yeah thats right, this requires Zero extra packages to work it only needs access to ActivityManager and some python packages that are auto installed when getting python on 3.10+
Cli Usage
Its dead simple.
All you have to do is type the command and then the url
termuxuo <url>
Package Usage
Simply import the library and your good to go, just use the open_url function to open whatever url you passed in
import TermuxUO
TermuxUO.openurl('https://example.com')
Allow verbose output in python enviornment
To allow verbose in a python script import the varible and set it to True
from TermuxUO import openurl, python_verbose_allowed
python_verbose_allowed = True
openurl('https://example.com', verbose=True)
Installation
pip install TermuxUO
Uninstallation
pip uninstall TermuxUO
Flags
| Flag | Function |
|---|---|
| -v | Verbose output |
| -V | Show version information |
| -h | Show help menu |
Aditional flag alliases
- --verbose
- --version
- --help
Links!
View the pypi package here!
Open an issue here!
View Android Developer docs on activity manager here
License information
This project is licensed under the Mit license, see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termuxuo-0.3.1.tar.gz.
File metadata
- Download URL: termuxuo-0.3.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b1a54cf50bbeed1aa99f6a4bf1ecbcc1c0a34bb4eb08b1e75b9b685fbbd81a
|
|
| MD5 |
8a892f4e9a386319d4a49587584706b6
|
|
| BLAKE2b-256 |
82967ae3e6d52bedca54b396f8f11a1b34db626995976feddd65882e930e0fb4
|
File details
Details for the file termuxuo-0.3.1-py3-none-any.whl.
File metadata
- Download URL: termuxuo-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd7848f7364cf3a0f2e7baf60d38307cec11216747c76bb05ddbc296d58142a1
|
|
| MD5 |
ce0abfa18e08d8c1e64c6f623f9439ef
|
|
| BLAKE2b-256 |
55ba824b02086adfcea269d525db1cac24839ce6b2a2dac3308736c76667cc3c
|