What can you do with it?
With Python File System 2, you can do:
>>> 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:
$ 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
Installation
You can install httpfs via pip:
$ pip install httpfs
or clone it and install it:
$ 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!
Metadata
Release files for httpfs 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpfs-0.0.1.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpfs-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.7 kB
Release files / httpfs-0.0.1.tar.gz
| Download URL | httpfs-0.0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4748d727c65947ff13b74860b006c1f69d72b3c171c09f1118e4a1963383e2fd
|
|
BLAKE2b-256 checksum How to use checksums |
57856c75f7837bb48f8a4cfd44445ed2aae5b6c6e31a64c7d3f4fe387537df88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / httpfs-0.0.1-py2.py3-none-any.whl
| Download URL | httpfs-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a2c5e8f8772a48b12f50f5f6b8754494b72692ecebf73cee422a3b5a376e48a8
|
|
BLAKE2b-256 checksum How to use checksums |
b5beb0b2346554178630d4311a7ba1ea81dfc6380d577187333370346882bee2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|