{"id":15971347,"url":"https://github.com/dolph/pasteraw-client","last_synced_at":"2025-03-26T19:34:00.522Z","repository":{"id":10061505,"uuid":"12113102","full_name":"dolph/pasteraw-client","owner":"dolph","description":"Pipe stdin to a raw pastebin.","archived":false,"fork":false,"pushed_at":"2016-03-03T19:58:04.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T08:01:43.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/pasteraw","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dolph.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-14T16:01:40.000Z","updated_at":"2016-08-31T22:07:28.000Z","dependencies_parsed_at":"2022-08-28T01:51:18.100Z","dependency_job_id":null,"html_url":"https://github.com/dolph/pasteraw-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fpasteraw-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fpasteraw-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fpasteraw-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fpasteraw-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolph","download_url":"https://codeload.github.com/dolph/pasteraw-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245722813,"owners_count":20661830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T20:21:05.663Z","updated_at":"2025-03-26T19:34:00.045Z","avatar_url":"https://github.com/dolph.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============\npasteraw-client\n===============\n\nPipe `stdin` directly to a raw pastebin. Get a URL back. Go be productive.\n\nBy default, `pasteraw` uses a hosted pastebin service, `pasteraw.com\n\u003chttp://pasteraw.com/\u003e`_. You can also deploy `your own instance\n\u003chttps://github.com/dolph/pasteraw\u003e`_ of the service and use it instead.\n\nInstallation\n------------\n\n.. image:: https://img.shields.io/pypi/v/pasteraw.svg\n   :target: https://pypi.python.org/pypi/pasteraw\n\nFrom PyPi::\n\n    $ pip install pasteraw\n\nCommand line usage\n------------------\n\nGiven a file::\n\n    $ cat somefile\n    Lorem ipsum.\n\nPipe the file to `pasteraw` and get back a URL to a raw paste of that file::\n\n    $ cat somefile | pasteraw\n    http://cdn.pasteraw.com/9lvwkwgrgji5gbhjygxgaqcfx3hefpb\n\nDo whatever you want with the URL. Curl it, email it, whatever::\n\n    $ curl http://cdn.pasteraw.com/9lvwkwgrgji5gbhjygxgaqcfx3hefpb\n    Lorem ipsum.\n\nPython library usage\n--------------------\n\nTo use `pasteraw.com \u003chttp://pasteraw.com/\u003e`_::\n\n    \u003e\u003e\u003e c = pasteraw.Client()\n    \u003e\u003e\u003e url = c.create_paste('Lorem ipsum.')\n    \u003e\u003e\u003e print(url)\n    http://cdn.pasteraw.com/9lvwkwgrgji5gbhjygxgaqcfx3hefpb\n\nAlternatively, if you're using your own deployment of `pasteraw\n\u003chttps://github.com/dolph/pasteraw\u003e`_, pass your own API endpoint to the\nclient::\n\n    \u003e\u003e\u003e c = pasteraw.Client('http://pasteraw.example.com/api/v1')\n\nUsage is otherwise identical to using `pasteraw.com \u003chttp://pasteraw.com/\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fpasteraw-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolph%2Fpasteraw-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fpasteraw-client/lists"}