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
.
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.5.0.tar.gz
(34.9 kB
view details)
Built Distribution
pfio-2.5.0-py3-none-any.whl
(42.5 kB
view details)
File details
Details for the file pfio-2.5.0.tar.gz
.
File metadata
- Download URL: pfio-2.5.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35020ca35493110fc1ccbb03ff1b66ede1853dc545d73a4814ed3a1695c7b9b0 |
|
MD5 | ac6b37a727ddca75bafadd23fd721726 |
|
BLAKE2b-256 | 3d13bf8aecf6a73370ffa10366ebd9c842c7e293637380f1bedf3a436e6bb585 |
Provenance
File details
Details for the file pfio-2.5.0-py3-none-any.whl
.
File metadata
- Download URL: pfio-2.5.0-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfd669f7969a415bd613287823424ecbb30e92e89d8f78828998277b2d20ad7 |
|
MD5 | c8dc80a838d835a7c218bb5943d833b7 |
|
BLAKE2b-256 | 57f90862385512239559cdb7fdbdc98469e25d9efb7caf53c09932e32a89611f |