Skip to content

Repository files navigation

fsspec-pydantic

Pydantic wrappers of fsspec types

Build Status codecov License PyPI

Overview

This library contains Pydantic validators for fsspec.

  • FileSystem = Annotated[AbstractFileSystem, FSSpecFilesystemType]: Annotation for filesystem class
  • FilePath = Annotated[Path, FSSpecPathType(path_type="file")]: Annotation for a file
  • DirectoryPath = Annotated[Path, FSSpecPathType(path_type="dir")]: Annotation for a directory

This library can be used to include fsspec types in other Pydantic models.

Note

This library was generated using copier from the Base Python Project Template repository.

About

Pydantic wrappers for fsspec types

Topics

Resources

Code of conduct

Stars

8 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages