{"id":19150259,"url":"https://github.com/softvar/simplegist","last_synced_at":"2025-04-15T17:34:15.208Z","repository":{"id":57467441,"uuid":"11407921","full_name":"softvar/simplegist","owner":"softvar","description":"Advanced python wrapper for Github Gist API","archived":false,"fork":false,"pushed_at":"2020-04-09T01:43:27.000Z","size":40,"stargazers_count":64,"open_issues_count":7,"forks_count":24,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-02T00:02:18.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/simplegist","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/softvar.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-14T19:19:12.000Z","updated_at":"2024-02-25T16:07:08.000Z","dependencies_parsed_at":"2022-09-19T08:50:54.861Z","dependency_job_id":null,"html_url":"https://github.com/softvar/simplegist","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fsimplegist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fsimplegist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fsimplegist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fsimplegist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softvar","download_url":"https://codeload.github.com/softvar/simplegist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249119177,"owners_count":21215683,"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-11-09T08:11:16.260Z","updated_at":"2025-04-15T17:34:15.177Z","avatar_url":"https://github.com/softvar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Github-Gist Api - python wrapper\n================================\n\nPython wrapper for ``GitHub's Gist API``.\n\n|Latest Version| |Downloads|\n\n.. |Latest Version| image:: https://img.shields.io/pypi/v/simplegist.svg\n    :target: https://pypi.python.org/pypi/simplegist\n\n.. |Downloads| image:: https://img.shields.io/pypi/dm/simplegist.svg\n    :target: https://pypi.python.org/pypi/simplegist\n\nFeatures\n--------\n\n* Create Gists and get url, script and clone link on success (can be used for copy-paste purpose too)\n* View one's Gist(s) - name, description and it's content\n* Edit and Delete a gist\n* Search Gist(s) of any user; fork, star and unstar them\n* List all comments on any Gist, put/edit/delete a comment on a Gist\n\nInstallation\n-------------\n.. code-block:: bash\n\n    $ pip install simplegist\n\nDownload `here \u003chttps://github.com/softvar/simplegist/tarball/1.0.0\u003e`_ and run ``python setup.py install`` after changing directory to ``/simplegist``\n\nGenerating Github API Access Token\n----------------------------------\nGo to Github's Account settings \u003e Applications\n``Create a new token`` and use it for making API requests instead of password\n\nExample Usage\n-------------\n\n.. code-block:: python\n\n    from simplegist import Simplegist\n\n    ghGist = Simplegist(username='USERNAME', api_token='API_TOKEN')\n    # or provide USERNAME and API_TOKEN in config.py file, so just, ghGist = Gist()\n\n    # creating gist and getting url, script and clone link\n    ghGist.create(name='_GISTNAME', description='_ANY_DESCRIPTION', public=1, content='_CONTENT_GOES_HERE')\n\n    # List down all the names of authenticated user's Gists\n    ghGist.profile().listall()\n\n    # List down only the names of recent two Gists of user '_USERNAME'\n    ghGist.search('_USERNAME').list(2)\n\n    # List down all the comments on gist named '_GISTNAME' of user 'USERNAME'\n    ghGist.comments().listall(user='_USERNAME', name='_GISTNAME')\n\n    # ...and many more...\n\nFull Usage and Documentation\n----------------------------\n\nVisit here `READTHEDOCS \u003chttps://simplegist.readthedocs.org/en/latest/\u003e`_ or `PYTHONHOSTED \u003chttp://pythonhosted.org/simplegist/\u003e`_\n\nPatches and suggestions are welcome\n-----------------------------------\n\n.. code-block:: bash\n\n   $ git clone https://github.com/softvar/simplegist.git\n   $ cd simplegist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fsimplegist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftvar%2Fsimplegist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fsimplegist/lists"}