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.1.0.tar.gz
(27.8 kB
view details)
Built Distribution
pfio-2.1.0-py3-none-any.whl
(33.9 kB
view details)
File details
Details for the file pfio-2.1.0.tar.gz
.
File metadata
- Download URL: pfio-2.1.0.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec2025eb4e89003993edffad5662d6b0b64ab3a19320c852b3b6104f326c64e |
|
MD5 | 4568f66edac66226574f886aff4ec864 |
|
BLAKE2b-256 | f3650a61bca2744c3527fd87f075dd16ca7e11e1dce0a3a0f5f4846ce3e7d93e |
Provenance
File details
Details for the file pfio-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: pfio-2.1.0-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abbd11a508d1fc877f80806323a67ba2626060f4d7beff21408e2f6550d51cb9 |
|
MD5 | 77cce66122feecc5f6e917a0c972e6d3 |
|
BLAKE2b-256 | 38792f6d9930139c4da414365b97fc5d71ac1ec8ed0ee79204653f9cb6b2db52 |