Skip to main content

TermuxC

Termux copy to clipboard made easy.

Also known as TermuxCopy

License: MIT Python Version PyPI version PyPI downloads

This dual function pip package & cli tool was made to solve an issue with Termux, not allowing copying to device clipboard easily without their companion app; This package solves that.

Cli Tool Usage:

Copy text

termuxc text

Or

echo "test" | termuxc

Copy text from file

cat filename | termuxc

Copy current working directory

pwd | termuxc

Also compatible with

  • bat
  • grep
  • curl
  • head
  • tail

Pip package Usage:

Copy text

from TermuxC import Copy
Copy("Str") #works with strings,
Copy(1) # numbers
Copy(1.3) # and floats!

Copy text from file

from TermuxC import Copy
with open("TermuxC.py", "r") as f:
    content = f.read()
    Copy(content)

Copy current working directory

from TermuxC import Copy
import os
Copy(os.getcwd())

Installation

Install pip package

pip install TermuxC

Uninstallation

pip uninstall TermuxC

Flags

Flag Function
-f Force file read
-t Force Text copy
-h Show help menu

Aditional flag alliases

  • --file
  • --text
  • --help
  • -help

Requirements:

Python 3+

Get Python from https://www.python.org!

View Package here! https://pypi.org/project/TermuxC/

Tmux support

As of version 2.2.0 And above TermuxC has native tmux support!

Metadata

Release files for TermuxC 2.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TermuxC 2.2.6
File Size Uploaded Provenance Actions
termuxc-2.2.6.tar.gz 4.2 kB Without provenance Details for termuxc-2.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for TermuxC 2.2.6
File Interpreter ABI Platform Actions
termuxc-2.2.6-py3-none-any.whl Python 3 none any Details for termuxc-2.2.6-py3-none-any.whl

Total release size: 8.9 kB

Release files / termuxc-2.2.6.tar.gz

Download URL termuxc-2.2.6.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bc1b1c3adcbf1761bae3f0dfd9d3fb33662e0b2579d4d5cc08de075d0ae562fe
BLAKE2b-256 checksum
How to use checksums
c7c4542d41747e40a1c46c526fe98631277b74109dc5ca3965a615b13da9c34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / termuxc-2.2.6-py3-none-any.whl

Download URL termuxc-2.2.6-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3284f801c41d7a9a869754ecdcfab8e7a3bb544a1f8ce905e6bb16cfe53f189
BLAKE2b-256 checksum
How to use checksums
a7770a1f976ab7e8d71fd80e32135c45cbe85c58ec81836261b83cb2e3e944fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for TermuxC 2.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page