
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
.. 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.