A command-line client for librarypaste. The client can paste code or attachments.
License
License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.
OS X App
This project also hosts, though no longer maintains, lpaste.app, an OS X Automator action to run lpaste -ab. Install lpaste and copy the app somewhere easy to use and drag and drop files onto it.