Skip to content

1kbgz/fsspec-pydantic

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

License

Code of conduct

Stars

Watchers

Forks

Contributors

Languages