Codepadr
codepadr is an interface to upload things to codepad.org.
Installation & Requirements
To install codepadr, simply:
$ pip install codepadr
or, if you must:
$ easy_install codepadr
codepadr requires:
python 2.6+
requests
Example usage
codepadr is quite flexible in how you pass it code to upload:
$ codepad file.txt $ codepad < file.txt $ cat file.txt | codepad
You can specify that the paste should be private:
$ echo "psst, this is private" | codepad -p
You can specify the language of the paste (defaults to plain text):
$ echo "print 'hello world'" | codepad -l py
If you pass in a file, the language will be inferred from the file extension:
$ codepad script.rb
You can ask codepad the run the code:
$ codepad script.py -r
And if you pass in -, it will read from stdin:
$ codepad -l py -r -
for i in xrange(25):
print i**i
^D
Credits
This project was inspired by Dalton Barreto’s codepad.
Metadata
Release files for codepadr 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codepadr-0.9.tar.gz | 3.2 kB | Without provenance | Details for codepadr-0.9.tar.gz |
Release files / codepadr-0.9.tar.gz
| Download URL | codepadr-0.9.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1644b6ccfd553af4a8214492a00aa01755365a1c6888bea84782578eb4319f1f
|
|
BLAKE2b-256 checksum How to use checksums |
124f0ef20bb7740bda9311d0ced51e6abb97edf1cd60cb62122c17b86aaa1bc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for codepadr 0.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.