scmrepo 3.5.2


pip install scmrepo

  Latest version

Released: Aug 06, 2025

Project Links

Meta
Author: Iterative
Requires Python: >=3.9

Classifiers

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Development Status
  • 4 - Beta

PyPI Status Python Version License

Tests Codecov pre-commit Black

SCM wrapper and fsspec filesystem for Git for use in DVC.

Features

  • Works with multiple backends: pygit2, dulwich and gitpython.

  • Provides fsspec filesystem over Git: GitFileSystem.

See fsspec docs for full list of available fs methods.

Requirements

Installation

You can install scmrepo via pip from PyPI:

$ pip install scmrepo

Usage

Git File System

scmrepo provides fsspec based gitfs that provides fs-like API for your git repositories without having to git checkout them first. For example:

from scmrepo.fs import GitFileSystem

fs = GitFileSystem("path/to/my/repo", rev="mybranch")

for root, dnames, fnames in fs.walk("path/in/repo"):
    for dname in dnames:
        print(fs.path.join(root, dname))

    for fname in fnames:
        print(fs.path.join(root, fname))

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the Apache 2.0 license, scmrepo is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

3.5.2 Aug 06, 2025
3.5.1 Aug 02, 2025
3.5.0 Aug 01, 2025
3.4.0 Jul 21, 2025
3.3.12 Jul 18, 2025
3.3.11 Apr 30, 2025
3.3.10 Jan 31, 2025
3.3.9 Nov 25, 2024
3.3.8 Sep 29, 2024
3.3.7 Aug 05, 2024
3.3.6 Jul 08, 2024
3.3.5 May 20, 2024
3.3.4 May 20, 2024
3.3.3 May 12, 2024
3.3.2 Apr 24, 2024
3.3.1 Mar 22, 2024
3.3.0 Mar 15, 2024
3.2.0 Feb 29, 2024
3.1.0 Feb 06, 2024
3.0.0 Feb 05, 2024
2.1.1 Jan 29, 2024
2.1.0 Jan 28, 2024
2.0.4 Jan 23, 2024
2.0.3 Jan 11, 2024
2.0.2 Dec 15, 2023
2.0.1 Dec 15, 2023
2.0.0 Dec 15, 2023
1.6.0 Dec 13, 2023
1.5.0 Nov 22, 2023
1.4.1 Oct 30, 2023
1.4.0 Oct 17, 2023
1.3.1 Aug 22, 2023
1.3.0 Aug 22, 2023
1.2.1 Aug 10, 2023
1.2.0 Aug 10, 2023
1.1.0 Jul 25, 2023
1.0.4 Jun 20, 2023
1.0.3 May 04, 2023
1.0.2 Apr 18, 2023
1.0.1 Apr 13, 2023
1.0.0 Apr 10, 2023
0.2.1 Apr 05, 2023
0.2.0 Mar 31, 2023
0.1.17 Mar 24, 2023
0.1.16 Mar 23, 2023
0.1.15 Mar 06, 2023
0.1.14 Mar 03, 2023
0.1.13 Feb 27, 2023
0.1.12 Feb 20, 2023
0.1.11 Feb 16, 2023
0.1.10 Feb 14, 2023
0.1.9 Feb 06, 2023
0.1.8 Feb 03, 2023
0.1.7 Jan 15, 2023
0.1.6 Jan 06, 2023
0.1.5 Dec 29, 2022
0.1.4 Nov 29, 2022
0.1.3 Nov 03, 2022
0.1.2 Oct 20, 2022
0.1.1 Sep 07, 2022
0.1.0 Sep 07, 2022
0.0.25 Jun 17, 2022
0.0.24 Jun 01, 2022
0.0.23 May 31, 2022
0.0.22 May 09, 2022
0.0.21 May 09, 2022
0.0.20 May 02, 2022
0.0.19 Apr 27, 2022
0.0.18 Apr 08, 2022
0.0.17 Apr 07, 2022
0.0.16 Mar 30, 2022
0.0.15 Mar 30, 2022
0.0.14 Mar 29, 2022
0.0.13 Mar 21, 2022
0.0.12 Mar 18, 2022
0.0.11 Mar 16, 2022
0.0.10 Mar 07, 2022
0.0.9 Mar 04, 2022
0.0.8 Feb 07, 2022
0.0.7 Dec 22, 2021
0.0.6 Dec 14, 2021
0.0.5 Dec 14, 2021
0.0.4 Dec 08, 2021
0.0.3 Dec 06, 2021
0.0.2 Nov 26, 2021
0.0.1 Nov 25, 2021

Wheel compatibility matrix

Platform Python 3
any

Files in release