{"id":16587596,"url":"https://github.com/optixal/pastebin-wrapper","last_synced_at":"2026-05-29T08:31:48.928Z","repository":{"id":50209386,"uuid":"101872032","full_name":"Optixal/pastebin-wrapper","owner":"Optixal","description":"A lightweight Pastebin wrapper written in Python using Requests","archived":false,"fork":false,"pushed_at":"2022-12-08T00:42:35.000Z","size":4,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T20:19:56.703Z","etag":null,"topics":["api","library","lightweight","pastebin","python","python3","requests","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Optixal.png","metadata":{"files":{"readme":"README.md","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":"2017-08-30T11:11:21.000Z","updated_at":"2022-08-25T17:53:25.000Z","dependencies_parsed_at":"2023-01-24T01:05:14.013Z","dependency_job_id":null,"html_url":"https://github.com/Optixal/pastebin-wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Optixal/pastebin-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2Fpastebin-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2Fpastebin-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2Fpastebin-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2Fpastebin-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optixal","download_url":"https://codeload.github.com/Optixal/pastebin-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2Fpastebin-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33644223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","library","lightweight","pastebin","python","python3","requests","wrapper"],"created_at":"2024-10-11T22:54:36.886Z","updated_at":"2026-05-29T08:31:48.912Z","avatar_url":"https://github.com/Optixal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pastebin Python Wrapper\n\nA lightweight Pastebin wrapper written in Python 3 using the Requests library.\n\nFunctions Available:\n  * paste (both anonymous and authenticated)\n  * login (for authenticated pastes)\n\nDependencies:\n  * requests\n\nA dev key is required to use Pastebin's API. Export your dev key as an environment variable, optionally you can pass it to pastebin.py's functions as an argument, or you can also hardcode it into pastebin.py.\n\n```sh\nexport PASTEBIN_DEV_KEY=abc123def456ghi789\n```\n\nCreate an anonymous paste:\n\n```python\n\u003e\u003e\u003e import pastebin\n\u003e\u003e\u003e url = pastebin.paste('Hello World!')\n\u003e\u003e\u003e url\n'https://pastebin.com/znMDYswm'\n```\n\nCreate a paste associated with your username:\n\n```sh\nexport PASTEBIN_USER_NAME=abc\nexport PASTEBIN_USER_PASSWORD=123\n```\n\n```python\n\u003e\u003e\u003e import pastebin\n\u003e\u003e\u003e user_key = pastebin.login()\n\u003e\u003e\u003e url = pastebin.paste('Hello World!', user_key=user_key)\n\u003e\u003e\u003e url\n'https://pastebin.com/abc123'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptixal%2Fpastebin-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptixal%2Fpastebin-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptixal%2Fpastebin-wrapper/lists"}