PFN IO library
Project description
PFIO
PFIO is an IO abstraction library developed by PFN, optimized for deep learning training with batteries included. It supports
- Filesystem API abstraction with unified error semantics,
- Explicit user-land caching system,
- IO performance tracing and metrics stats, and
- Fileset container utilities to save metadata.
Dependency
- HDFS client and libhdfs for HDFS access
- CPython >= 3.6
Installation and Document build
Installation
$ git clone https://github.com/pfnet/pfio.git
$ cd pfio
$ pip install .
Documentation
$ cd pfio/docs
$ make html
$ open build/html/index.html
Test
$ cd pfio
$ pip install .[test]
$ pytest tests/
How to use
Please refer to the official document for more information about the usage.
Release
Check the official document for latest release procedure.
Run tests locally:
$ pip install --user -e .[test]
$ pytest
Bump version numbers in pfio/version.py
and in docs/source/conf.py
.
Push and open a pull request to invoke CI. Once CI passed and the pull request merged, tag a release:
$ git tag -s X.Y.Z
$ git push --tags
Build:
$ rm -rf dist
$ pip3 install --user build
$ python3 -m build
Release to PyPI:
$ python3 -m pip install --user --upgrade twine
$ python3 -m twine upload --repository testpypi dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pfio-2.0.0a3.tar.gz
(37.8 kB
view details)
Built Distribution
pfio-2.0.0a3-py3-none-any.whl
(49.2 kB
view details)
File details
Details for the file pfio-2.0.0a3.tar.gz
.
File metadata
- Download URL: pfio-2.0.0a3.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e7466cdbea1b9ebacb0c2a48984e6a41fe17438f45fa8b1d2ad735ed5d260c8 |
|
MD5 | ca6a6e1c023ec435e2f6dd6421698cb1 |
|
BLAKE2b-256 | 9aadfdbffa7f9e2f6f3ddfff85aeda4123abe31cace070b30173edee31c8581f |
File details
Details for the file pfio-2.0.0a3-py3-none-any.whl
.
File metadata
- Download URL: pfio-2.0.0a3-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8456309b5b803c80d73596e17ead8d11997debe893bb7e2b4b50675eba923e89 |
|
MD5 | f2444ba3bf09af1f6688430954319fd0 |
|
BLAKE2b-256 | efb8f1bf1dcb08f5572fc9c10e7095423e987eeab890ceb7e42d13833dfdea24 |