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 text from file using the read from file flag

termuxc -f filename

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

Uninstall pip package

pip uninstall TermuxC

Flags

Flag Function
-f Read from file
-i Interactive mode
-h Show help menu
-V Show package version

Additional flag aliases

  • --file
  • --interactive
  • --help
  • --version

Requirements:

Python 3.10+

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

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

Create an issue here!
https://github.com/Ruizennis/TermuxC/issues

View changelog here!
https://github.com/Ruizennis/TermuxC/blob/main/CHANGELOG.md

View the documentation here!
https://Ruizennis.github.io/TermuxC/

Tmux support

To allow TermuxC to work inside of termux add "set -g allow-passthrough on" to your tmux configuration file.

License

This project is licensed under the MIT license, see LICENSE

Metadata

Release files for TermuxC 2.5.9

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.5.9
File Size Uploaded Provenance Actions
termuxc-2.5.9.tar.gz 5.0 kB Without provenance Details for termuxc-2.5.9.tar.gz

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / termuxc-2.5.9.tar.gz

Download URL termuxc-2.5.9.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1c3d044454da562cc4a4bcb47ed2d12e72be73d0f063e5f749f72522f3d693f4
BLAKE2b-256 checksum
How to use checksums
395676a7fc2169168cb90d86425f6a18cf4af8ad13116215f6a8e6b4f334eabd
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.5.9-py3-none-any.whl

Download URL termuxc-2.5.9-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b41eaebb17d9c96475048d261d9c589f365e78979655a69beadd6325594c271
BLAKE2b-256 checksum
How to use checksums
73c37e33f8edcf581c0af72ca29e0b5327def80e40cb3911b6a2f5daaf96e3a0
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.5.9

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