Socket
Socket
Sign inDemoInstall

httpfs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpfs

Read file over HTTP protocol via python file system 2 interface


Maintainers
1

================================================================================ httpfs

.. 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

What can you do with it?

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!

Why

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

Installation

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

Change log

0.0.1 - 1.5.2020

first release

#. what a feat!

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc