Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install codepadr

How to install codepadr

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install codepadr
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.9 Available View build log
Windows (64-bit)
0.9 Available View build log
Mac OS X (10.5+)
0.9 Available View build log
Linux (32-bit)
0.9 Available View build log
Linux (64-bit)
0.9 Available View build log
 
Author
License
LITL
Dependencies
Imports
Lastest release
version 0.9 on Oct 18th, 2011

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.

Subscribe to package updates

Last updated Oct 18th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.