Skip to main content

A lightweight utility to open urls with python or with the cli that requires Zero extra dependencys

Project description

TermuxUO

Aka TermuxUrlOpener

License: MIT Python Version PyPI version PyPI downloads

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
open_url('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 open_url, 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termuxuo-0.2.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

termuxuo-0.2.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file termuxuo-0.2.2.tar.gz.

File metadata

  • Download URL: termuxuo-0.2.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for termuxuo-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9d8d2db6fa214c24ef5f3dcf2275ed27ca51fcba60c133e630866f5a7e179231
MD5 333ca3267b18082c2ca83c82bc8535fd
BLAKE2b-256 16d24d7712fda7c1b1a461504c2f0ebbf7df6e391e3d5dbf8045a6f6f69e8641

See more details on using hashes here.

File details

Details for the file termuxuo-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: termuxuo-0.2.2-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

Hashes for termuxuo-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c57002ec719a4953a32ef26053dd7c4ddace5dbf3edb6b873ba684cfafbf9b8
MD5 6a7815e7e7a3495eb9ddbed0cbe8851f
BLAKE2b-256 4f3f43f658e7c46141cbedcb23a496074552a1f8dfca8caa661280dc86703177

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page