Skip to main content

A python3 CLI utility to interface with pastething

Example: https://cpy.pt

Dependencies

  • python3
  • requests

Installation

Using uv is the easiest way run:

uvx capyt

Installing is also easy:

uv tool install capyt

Usage

capyt -h to see all available options.

Pasting

  • paste a single file: capyt somefile
  • create a single paste with many files concatenated: capyt file1 file2 file3
  • paste from stdin: somestdout | capyt -

Deleting a paste

  • capyt -d DELETE_TOKEN PASTE_ID
  • capyt -d DELETE_TOKEN https://cpy.pt/PASTE_ID

Extra Features

  • Transparently open gzip and bzip compressed files

Warning

The optional encoding flag only serves to open the file, internally everything is handled and converted to utf-8. Retrieved pastes are utf-8 encoded.

Developing

  • Clone the repo
  • uv sync to setup the environment

Metadata

Release files for capyt 1.2.2

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

Source distribution (sdist)

Source distribution for capyt 1.2.2
File Size Uploaded Provenance Actions
capyt-1.2.2.tar.gz 3.0 kB Without provenance Details for capyt-1.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / capyt-1.2.2.tar.gz

Download URL capyt-1.2.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4dcb4758643bf7a46c93a865a229d64d6e2d5f2df20f0112a1e9d9379facb279
BLAKE2b-256 checksum
How to use checksums
ad0d2b6f6983f559fa40d0cbee9d2b375ac59d8883967350ae8545f60a4250e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / capyt-1.2.2-py3-none-any.whl

Download URL capyt-1.2.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8beda80fb2e809c36920c7022d50635832c29a1ad898c27f417990c3719e7a74
BLAKE2b-256 checksum
How to use checksums
275d36010c8a78c359627a19df5d7671553b1cf63ba6df1756f87ce5f2591634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for capyt 1.2.2

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