![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Python wrapper for GitHub's Gist API
.
|Latest Version| |Downloads|
.. |Latest Version| image:: https://img.shields.io/pypi/v/simplegist.svg :target: https://pypi.python.org/pypi/simplegist
.. |Downloads| image:: https://img.shields.io/pypi/dm/simplegist.svg :target: https://pypi.python.org/pypi/simplegist
.. code-block:: bash
$ pip install simplegist
Download here <https://github.com/softvar/simplegist/tarball/1.0.0>
_ and run python setup.py install
after changing directory to /simplegist
Go to Github's Account settings > Applications
Create a new token
and use it for making API requests instead of password
.. code-block:: python
from simplegist import Simplegist
ghGist = Simplegist(username='USERNAME', api_token='API_TOKEN')
# or provide USERNAME and API_TOKEN in config.py file, so just, ghGist = Gist()
# creating gist and getting url, script and clone link
ghGist.create(name='_GISTNAME', description='_ANY_DESCRIPTION', public=1, content='_CONTENT_GOES_HERE')
# List down all the names of authenticated user's Gists
ghGist.profile().listall()
# List down only the names of recent two Gists of user '_USERNAME'
ghGist.search('_USERNAME').list(2)
# List down all the comments on gist named '_GISTNAME' of user 'USERNAME'
ghGist.comments().listall(user='_USERNAME', name='_GISTNAME')
# ...and many more...
Visit here READTHEDOCS <https://simplegist.readthedocs.org/en/latest/>
_ or PYTHONHOSTED <http://pythonhosted.org/simplegist/>
_
.. code-block:: bash
$ git clone https://github.com/softvar/simplegist.git $ cd simplegist
FAQs
Python wrapper for Gist
We found that simplegist demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.