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.
.. image:: https://api.travis-ci.org/moremoban/httpfs.svg :target: http://travis-ci.org/moremoban/httpfs
.. image:: https://codecov.io/github/moremoban/httpfs/coverage.png :target: https://codecov.io/github/moremoban/httpfs .. image:: https://badge.fury.io/py/httpfs.svg :target: https://pypi.org/project/httpfs
.. image:: https://pepy.tech/badge/httpfs/month :target: https://pepy.tech/project/httpfs/month
.. image:: https://img.shields.io/github/stars/moremoban/httpfs.svg?style=social&maxAge=3600&label=Star :target: https://github.com/moremoban/httpfs/stargazers
With Python File System 2
_, you can do:
.. code::
import fs with fs.open_fs('https://www.google.com') as f: ... print(f.readbytes('index.html')) b'<!doctype ....'
Have fun!
It enables moban
_ to use any files over http(s) as its
template or data file:
.. code-block:: bash
$ moban -t 'https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/templates/_version.py.jj2'\
-c 'https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/config/data.yml'\
-o _version.py
.. _Python File System 2: https://docs.pyfilesystem.org/en/latest .. _moban: https://github.com/moremoban/moban
You can install httpfs via pip:
.. code-block:: bash
$ pip install httpfs
or clone it and install it:
.. code-block:: bash
$ git clone https://github.com/moremoban/httpfs.git
$ cd httpfs
$ python setup.py install
first release
#. what a feat!
FAQs
Read file over HTTP protocol via python file system 2 interface
We found that httpfs 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.