├── src └── checkoutmanager │ ├── __init__.py │ ├── tests │ ├── __init__.py │ ├── sample.txt │ ├── conftest.py │ ├── custom_actions.py │ ├── dirinfo.txt │ ├── testconfig.cfg │ ├── utils.txt │ ├── custom_actions.txt │ └── config.txt │ ├── sample.cfg │ ├── executors.py │ ├── utils.py │ ├── runner.py │ ├── config.py │ └── dirinfo.py ├── .github ├── dependabot.yml └── workflows │ └── test.yaml ├── .coveragerc ├── .editorconfig ├── CREDITS.rst ├── .gitignore ├── .pre-commit-config.yaml ├── pyproject.toml ├── README.rst ├── CHANGES.rst ├── LICENSE.GPL └── uv.lock /src/checkoutmanager/__init__.py: -------------------------------------------------------------------------------- 1 | # package 2 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # package 2 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/sample.txt: -------------------------------------------------------------------------------- 1 | """ 2 | .. :doctest: 3 | 4 | Sample test: 5 | 6 | >>> 4 + 3 7 | 7 8 | 9 | """ 10 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | 4 | - package-ecosystem: "github-actions" 5 | directory: "/" 6 | schedule: 7 | interval: "quarterly" 8 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | omit = 3 | */migrations/* 4 | */test* 5 | /Library/* 6 | *buildout/eggs/* 7 | /usr/* 8 | /var/lib/hudson/.buildout/* 9 | /var/lib/jenkins/.buildout/* 10 | eggs/* 11 | local_checkouts/* 12 | parts/* 13 | 14 | ignore_errors = true 15 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | trim_trailing_whitespace = true 7 | charset = utf-8 8 | indent_style = space 9 | indent_size = 4 10 | max_line_length = 88 11 | 12 | [*.{toml,yaml,yml}] 13 | indent_size = 2 14 | 15 | [Makefile] 16 | indent_style = tab 17 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/conftest.py: -------------------------------------------------------------------------------- 1 | import os 2 | from pathlib import Path 3 | 4 | import pytest 5 | 6 | 7 | @pytest.fixture() 8 | def homedir_in_tmp(tmp_path: Path): 9 | homedir = tmp_path / "homedir" 10 | homedir.mkdir() 11 | orig_home = os.environ["HOME"] 12 | os.environ["HOME"] = str(homedir) 13 | yield homedir 14 | os.environ["HOME"] = orig_home 15 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/custom_actions.py: -------------------------------------------------------------------------------- 1 | """Custom actions for testing.""" 2 | 3 | from checkoutmanager import utils 4 | 5 | 6 | def test_action(dirinfo, **kwargs): 7 | print("Test action") 8 | print("dirinfo: %s" % dirinfo) 9 | print( 10 | "arguments: %s" 11 | % ", ".join("%s: %s" % (k, v) for (k, v) in sorted(kwargs.items())) 12 | ) 13 | print(utils.system('echo "echo command executed."')) 14 | -------------------------------------------------------------------------------- /CREDITS.rst: -------------------------------------------------------------------------------- 1 | Credits 2 | ======= 3 | 4 | - Created by `Reinout van Rees `_. 5 | 6 | - "out" command by Dmitrii Miliaev. 7 | 8 | - Git support by Robert Kern. 9 | 10 | - Globbing support for the ignores by Patrick Gerken. 11 | 12 | - Custom commands support by Rafael Oliveira. 13 | 14 | - Parallelism code by Morten Lied Johansen. 15 | 16 | Source code is on github at https://github.com/reinout/checkoutmanager . 17 | 18 | Bugs and feature requests can be reported at 19 | https://github.com/reinout/checkoutmanager/issues . 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Pyc/pyo/backup files. 2 | *.py[co] 3 | *~ 4 | *.swp 5 | *.pyc 6 | .DS_Store 7 | 8 | # Packages/buildout/pip/pipenv 9 | *.egg 10 | *.egg-info 11 | sdist 12 | pip-log.txt 13 | bower_components/ 14 | node_modules/ 15 | doc/build/ 16 | ansible/*.retry 17 | .venv 18 | venv 19 | bin/ 20 | lib/ 21 | pyvenv.cfg 22 | dist/ 23 | var/ 24 | *.suggestion 25 | 26 | # Unit test / coverage reports 27 | .coverage 28 | .tox 29 | htmlcov 30 | .codeintel 31 | coverage.* 32 | .pytest_cache 33 | 34 | # Pycharm, visual studio 35 | .idea 36 | .vscode 37 | 38 | # Docker 39 | docker-compose.override.yml 40 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | # See https://nens-meta.readthedocs.io/en/latest/config-files.html 2 | default_language_version: 3 | python: python3 4 | 5 | repos: 6 | - repo: https://github.com/pre-commit/pre-commit-hooks 7 | rev: v6.0.0 8 | hooks: 9 | - id: trailing-whitespace 10 | - id: end-of-file-fixer 11 | - id: check-yaml 12 | args: [--allow-multiple-documents] 13 | - id: check-toml 14 | - id: check-added-large-files 15 | - repo: https://github.com/astral-sh/ruff-pre-commit 16 | # Ruff version. 17 | rev: v0.14.5 18 | hooks: 19 | # Run the linter. 20 | - id: ruff 21 | args: ["--fix"] 22 | # Run the formatter. 23 | - id: ruff-format 24 | 25 | ### Extra lines below are preserved ### 26 | -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- 1 | name: test 2 | 3 | # Run on pull requests and on the master branch itself. 4 | on: 5 | push: 6 | branches: 7 | - master 8 | pull_request: 9 | 10 | 11 | jobs: 12 | build_and_test: 13 | runs-on: ubuntu-latest 14 | strategy: 15 | matrix: 16 | python-version: ['3.10', '3.14'] 17 | steps: 18 | - uses: actions/checkout@v5 19 | - name: Set up Python ${{ matrix.python-version }} 20 | uses: actions/setup-python@v6 21 | with: 22 | python-version: ${{ matrix.python-version }} 23 | - uses: pre-commit/action@v3.0.1 24 | - name: Install uv 25 | uses: astral-sh/setup-uv@v7 26 | - name: Install python project 27 | run: uv sync 28 | - name: Test 29 | run: uv run pytest 30 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/dirinfo.txt: -------------------------------------------------------------------------------- 1 | .. :doctest: 2 | 3 | The dirinfo provides a wrapper for info on one directory: 4 | 5 | >>> from checkoutmanager import dirinfo 6 | 7 | Initialise the wrapper with a directory name: 8 | 9 | >>> info = dirinfo.DirInfo('/non/existing', 'some/url') 10 | 11 | Ask if it exists: 12 | 13 | >>> info.exists 14 | False 15 | 16 | Make an empty directory in the mock homedir and use that: 17 | 18 | >>> homedir = getfixture("homedir_in_tmp") 19 | >>> empty_dir = homedir / "exists" 20 | >>> empty_dir.mkdir() 21 | >>> info = dirinfo.DirInfo(empty_dir, 'some/url') 22 | >>> info.exists 23 | False 24 | 25 | We need one of the ``.git``, ``.hg``-like directories in there: 26 | 27 | >>> dot_dir = empty_dir / ".xxx" 28 | >>> dot_dir.mkdir() 29 | >>> info.exists 30 | True 31 | >>> str(info.directory).endswith("exists") 32 | True 33 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/testconfig.cfg: -------------------------------------------------------------------------------- 1 | # Sample config file. Should be placed as 2 | # .checkoutmanager.cfg in your home directory. 3 | # 4 | # Different sections per base location 5 | # and version control system. Splitting everything all over 6 | # the place in multiple directories is fine. 7 | 8 | [recipes] 9 | # Buildout recipes I work on. 10 | vcs = svn 11 | basedir = ~/svn/recipes 12 | checkouts = 13 | svn://svn/blablabla/trunk 14 | svn://svn/another/trunk differentname 15 | http://host/yetanother/trunk 16 | https://host/yetanother/branches/reinout-fix 17 | https://host/customername/buildout/trunk 18 | ignore = 19 | ignored* 20 | 21 | [dotfolders] 22 | # Advanced usage! 23 | # Folders that end up as dotted configfolders in my home dir. 24 | # Note that there's a directory name behind the repository 25 | # location, separated by a space. 26 | vcs = bzr 27 | basedir = ~ 28 | checkouts = 29 | lp:emacsconfig/trunk .emacs.d 30 | sftp://somwhere/subversion/trunk .subversion 31 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "checkoutmanager" 3 | version = "4.1.dev0" 4 | description = "Gives you overview and control over your git/hg/svn checkouts/clones" 5 | readme = "README.rst" 6 | requires-python = ">=3.10" 7 | license = "GPL-2.0-or-later" 8 | authors = [ 9 | { name = "Reinout van Rees", email = "reinout@vanrees.org" }, 10 | ] 11 | keywords = [] 12 | classifiers = ["Programming Language :: Python", 13 | "Development Status :: 6 - Mature"] 14 | dependencies = [ 15 | ] 16 | 17 | [project.urls] 18 | homepage = "https://github.com/nens/climatescan" 19 | 20 | [build-system] 21 | requires = ["setuptools>=80"] 22 | build-backend = "setuptools.build_meta" 23 | 24 | [tool.ruff] 25 | # See https://docs.astral.sh/ruff/configuration/ for defaults. 26 | target-version = "py310" 27 | 28 | [tool.ruff.lint] 29 | select = ["E4", "E7", "E9", "F", "I", "UP"] 30 | ignore = ["UP031"] 31 | 32 | [tool.ruff.lint.isort] 33 | known-first-party = ["checkoutmanager"] 34 | 35 | [tool.pytest.ini_options] 36 | doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS" 37 | addopts = "--doctest-glob=tests/*.txt --cov-report term --cov" 38 | 39 | [tool.zest-releaser] 40 | release = true 41 | 42 | [dependency-groups] 43 | dev = ["pytest>=8.4.2", "pytest-cov>=6.3.0", "pytest-sugar>=1.1.1"] 44 | 45 | [project.scripts] 46 | checkoutmanager = "checkoutmanager.runner:main" 47 | 48 | [project.entry-points."checkoutmanager.custom_actions"] 49 | test = "checkoutmanager.tests.custom_actions:test_action" 50 | -------------------------------------------------------------------------------- /src/checkoutmanager/sample.cfg: -------------------------------------------------------------------------------- 1 | # Sample config file. Should be placed as .checkoutmanager.cfg in your home 2 | # directory. 3 | # 4 | # There are different sections per base location and version control 5 | # system. 6 | # 7 | # ``checkoutmanager co`` checks them all out (or clones them). 8 | # ``checkoutmanager up`` updates them all. 9 | # ``checkoutmanager st`` to see if there are uncommitted changes. 10 | # ``checkoutmanager out`` to see if there are unpushed git/hg commits. 11 | 12 | 13 | [git-example] 14 | vcs = git 15 | basedir = ~/example/git 16 | checkouts = 17 | https://github.com/reinout/checkoutmanager 18 | git@github.com:django/django.git 19 | 20 | 21 | [recipes] 22 | # Buildout recipes I work on. 23 | vcs = svn 24 | basedir = ~/example/svn 25 | checkouts = 26 | http://svn.zope.org/repos/main/z3c.recipe.usercrontab/trunk 27 | 28 | 29 | [hg-example] 30 | vcs = hg 31 | basedir = ~/example/utilities 32 | checkouts = 33 | https://bitbucket.org/reinout/eolfixer 34 | https://bitbucket.org/reinout/createcoverage 35 | 36 | 37 | # [dotfolders] 38 | # # Advanced usage! 39 | # # Folders that end up as dotted configfolders in my home dir. 40 | # # Note that there's a directory name behind the repository 41 | # # location, separated by a space. 42 | # vcs = bzr 43 | # basedir = ~ 44 | # checkouts = 45 | # lp:emacsconfig/trunk .emacs.d 46 | # sftp://somewhere/subversion/trunk .subversion 47 | # # By ignoring everything, we do not find missing import files but also 48 | # # don't get warnings for every subdirectory in our home dir 49 | # ignore = 50 | # * 51 | # .* 52 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/utils.txt: -------------------------------------------------------------------------------- 1 | .. :doctest: 2 | 3 | Initial imports: 4 | 5 | >>> from __future__ import print_function 6 | >>> from __future__ import unicode_literals 7 | >>> from checkoutmanager import utils 8 | 9 | Very basic testing of utils.py: basically just a command line runner: 10 | 11 | >>> output = utils.system('echo "hello"') 12 | >>> 'hello' in str(output) 13 | True 14 | 15 | >>> try: 16 | ... utils.system('non_existing_command') 17 | ... print("Exception not raised") 18 | ... except utils.CommandError: 19 | ... print("Exception properly raised") 20 | Exception properly raised 21 | 22 | >>> try: 23 | ... utils.system('non_existing_command') 24 | ... except utils.CommandError as e: 25 | ... print(e.format_msg()) 26 | Something went wrong when executing: 27 | non_existing_command 28 | while in directory: 29 | /...checkoutmanager 30 | Returncode: 31 | 127 32 | Output: 33 | ... not found 34 | 35 | CommandError needs to be pickleable: 36 | 37 | >>> import pickle 38 | 39 | >>> e1 = utils.CommandError(1, "cmd", "out") 40 | >>> e2 = pickle.loads(pickle.dumps(e1)) 41 | >>> for attr in ("returncode", "command", "output", "working_dir"): 42 | ... print(getattr(e1, attr) == getattr(e2, attr)) 43 | True 44 | True 45 | True 46 | True 47 | 48 | More verbose output: 49 | 50 | >>> utils.VERBOSE = True 51 | >>> output = utils.system('echo "hello"') 52 | [...] echo "hello" 53 | >>> 'hello' in str(output) 54 | True 55 | 56 | Teardown: 57 | 58 | >>> utils.VERBOSE = False 59 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/custom_actions.txt: -------------------------------------------------------------------------------- 1 | .. :doctest: 2 | 3 | Initial imports: 4 | 5 | >>> from __future__ import print_function 6 | >>> from __future__ import unicode_literals 7 | >>> from checkoutmanager.runner import get_custom_actions, get_action 8 | >>> from checkoutmanager.dirinfo import DirInfo 9 | 10 | In our own ``setup.py``, we have registered an entry point called "test". It 11 | is registerd as a "custom action" entry point. 12 | 13 | Check if abovementioned entry point is recognized by the program runner: 14 | 15 | >>> custom_actions = get_custom_actions() 16 | >>> func = custom_actions['test'] 17 | >>> callable(func) 18 | True 19 | 20 | Check if this action is selected when we pass its name on the command line: 21 | 22 | >>> dirinfo = DirInfo('/some/directory', 'http://some.url') 23 | >>> (action, kwargs) = get_action(dirinfo, custom_actions, 'test') 24 | >>> callable(action) 25 | True 26 | >>> kwargs 27 | {} 28 | 29 | Call the action function: 30 | 31 | >>> action() 32 | Test action 33 | dirinfo: 34 | arguments: 35 | echo command executed. 36 | 37 | Check if arguments are parsed correctly: 38 | 39 | >>> (action, kwargs) = get_action(dirinfo, custom_actions, 'test:arg1=val1,arg2=val2') 40 | >>> callable(action) 41 | True 42 | >>> kwargs['arg1'] == 'val1' 43 | True 44 | >>> kwargs['arg2'] == 'val2' 45 | True 46 | 47 | Call the action function with the arguments: 48 | 49 | >>> action(**kwargs) 50 | Test action 51 | dirinfo: 52 | arguments: arg1: val1, arg2: val2 53 | echo command executed. 54 | 55 | Check if an exception is raised when an invalid action name is given: 56 | 57 | >>> get_action(dirinfo, custom_actions, 'invalid_action_name') 58 | Traceback (most recent call last): 59 | ... 60 | RuntimeError: Invalid action: invalid_action_name 61 | -------------------------------------------------------------------------------- /src/checkoutmanager/executors.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import time 4 | from multiprocessing.pool import Pool 5 | 6 | from checkoutmanager import utils 7 | 8 | 9 | def get_executor(single): 10 | """Return a suitable executor, based on the given flag""" 11 | if single: 12 | return _SingleExecutor() 13 | else: 14 | return _MultiExecutor() 15 | 16 | 17 | class _Executor: 18 | def __init__(self): 19 | self.errors = [] 20 | 21 | def _collector(self, result): 22 | """Collect a result. 23 | 24 | If the result is a CommandError, save it for later, and print it's 25 | message. else, just print the result directly. 26 | 27 | """ 28 | if isinstance(result, utils.CommandError): 29 | self.errors.append(result) 30 | result = result.format_msg() 31 | if not result: 32 | # Don't print empty lines 33 | return 34 | print(result) 35 | 36 | def _error(self, exception): 37 | self.errors.append(exception) 38 | utils.print_exception(exception) 39 | 40 | def execute(self, func, args): 41 | """Execute the given function""" 42 | raise NotImplementedError("Sub-classes must implement this") 43 | 44 | def wait_for_results(self): 45 | """Make sure all results have been collected""" 46 | pass 47 | 48 | 49 | class _SingleExecutor(_Executor): 50 | """Execute functions in the same thread and process (sync)""" 51 | 52 | def execute(self, func, args): 53 | try: 54 | self._collector(func(*args)) 55 | except Exception as e: 56 | self._error(e) 57 | 58 | 59 | class _MultiExecutor(_Executor): 60 | """Execute functions async in a process pool""" 61 | 62 | def __init__(self): 63 | super().__init__() 64 | self._async_results = [] 65 | self.pool = Pool() 66 | 67 | def execute(self, func, args): 68 | self._async_results.append( 69 | self.pool.apply_async( 70 | func, args, callback=self._collector, error_callback=self._error 71 | ) 72 | ) 73 | 74 | def wait_for_results(self): 75 | self.pool.close() 76 | # One would have hoped joining the pool would take care of this, but 77 | # apparently you need to first make sure that all your launched tasks 78 | # has returned their results properly, before calling join, or you 79 | # risk a deadlock. 80 | while any(not r.ready() for r in self._async_results): 81 | time.sleep(0.001) 82 | self.pool.join() 83 | -------------------------------------------------------------------------------- /src/checkoutmanager/utils.py: -------------------------------------------------------------------------------- 1 | import os 2 | import subprocess 3 | import sys 4 | import traceback 5 | from functools import wraps 6 | from io import StringIO 7 | 8 | # For zc.buildout's system() method: 9 | MUST_CLOSE_FDS = not sys.platform.startswith("win") 10 | # When you set '-v', this constant is changed. A bit hacky. 11 | VERBOSE = False 12 | 13 | 14 | class CommandError(Exception): 15 | def __init__(self, returncode=0, command="", output=""): 16 | self.returncode = returncode 17 | self.command = command 18 | self.output = output 19 | self.working_dir = os.getcwd() 20 | 21 | def format_msg(self): 22 | lines = [] 23 | lines.append("Something went wrong when executing:") 24 | lines.append(" %s" % self.command) 25 | lines.append("while in directory:") 26 | lines.append(" %s" % self.working_dir) 27 | lines.append("Returncode:") 28 | lines.append(" %s" % self.returncode) 29 | lines.append("Output:") 30 | lines.append(self.output) 31 | return "\n".join(lines) 32 | 33 | def print_msg(self): 34 | print(self.format_msg()) 35 | 36 | 37 | def system(command, input=None): 38 | """commands.getoutput() replacement that also works on windows 39 | 40 | Code copied from zc.buildout. 41 | 42 | """ 43 | if VERBOSE: 44 | print("[%s] %s" % (os.getcwd(), command)) 45 | p = subprocess.Popen( 46 | command, 47 | shell=True, 48 | stdin=subprocess.PIPE, 49 | stdout=subprocess.PIPE, 50 | stderr=subprocess.PIPE, 51 | close_fds=MUST_CLOSE_FDS, 52 | ) 53 | if input: 54 | input = input.encode() 55 | stdoutdata, stderrdata = p.communicate(input=input) 56 | result = stdoutdata + stderrdata 57 | result = result.decode() 58 | if p.returncode: 59 | raise CommandError(p.returncode, command, result) 60 | 61 | return result 62 | 63 | 64 | def capture_stdout(func): 65 | """Decorator to capture stdout and return it as a string. 66 | 67 | NOTE: The return value of the wrapped function is discarded. 68 | """ 69 | import sys 70 | 71 | @wraps(func) 72 | def newfunc(*args, **kwargs): 73 | sys.stdout = StringIO() 74 | try: 75 | func(*args, **kwargs) 76 | return sys.stdout.getvalue() 77 | finally: 78 | sys.stdout = sys.__stdout__ 79 | 80 | return newfunc 81 | 82 | 83 | def print_exception(exception): 84 | if isinstance(exception, CommandError): 85 | result = exception.format_msg() 86 | else: 87 | result = "".join(traceback.format_exception_only(type(exception), exception)) 88 | # Don't print empty lines 89 | if result: 90 | print(result) 91 | -------------------------------------------------------------------------------- /src/checkoutmanager/tests/config.txt: -------------------------------------------------------------------------------- 1 | .. :doctest: 2 | 3 | The config module reads a config file and massages the data. 4 | 5 | >>> from __future__ import print_function 6 | >>> from __future__ import unicode_literals 7 | >>> from checkoutmanager import config 8 | 9 | Instantiation with a non-exising config file raises and error: 10 | 11 | >>> config.Config('non/existing/configfile') 12 | Traceback (most recent call last): 13 | ... 14 | AssertionError 15 | 16 | Grab the sample config file: 17 | 18 | >>> sample_config = "src/checkoutmanager/tests/testconfig.cfg" 19 | >>> print(open(sample_config).read()) 20 | # Sample config file. Should be placed as 21 | ... 22 | 23 | Instantiate our config object with the config filename: 24 | 25 | >>> conf = config.Config(sample_config) 26 | 27 | The config file is loaded into a configparser instance: 28 | 29 | >>> conf.parser 30 | <...ConfigParser ...> 31 | 32 | Query for found sections (which we call groupings). Sorted, btw: 33 | 34 | >>> conf.groupings 35 | ['dotfolders', 'recipes'] 36 | 37 | 38 | Determine vcs url and directory name 39 | ------------------------------------ 40 | 41 | There's a helper method for extracting a vcs url and directory name from a 42 | spec. A spec is an url followed by an optional directory name: 43 | 44 | >>> config.extract_spec('aaa bbb') 45 | ('aaa', 'bbb') 46 | >>> config.extract_spec('aaa bbb') 47 | ('aaa', 'bbb') 48 | 49 | More than three parts raises an error: 50 | 51 | >>> config.extract_spec('aaa bbb ccc') 52 | Traceback (most recent call last): 53 | ... 54 | AssertionError: aaa bbb ccc 55 | 56 | If no second part is given, a directory name is extracted from the last path 57 | part of the spec: 58 | 59 | >>> config.extract_spec('aaa') == ('aaa', 'aaa') 60 | True 61 | >>> config.extract_spec('aaa/bbb') == ('aaa/bbb', 'bbb') 62 | True 63 | >>> config.extract_spec('aaa/bbb/') == ('aaa/bbb/', 'bbb') 64 | True 65 | 66 | /trunk is splitted off: 67 | 68 | >>> config.extract_spec('aaa/bbb/trunk') == ('aaa/bbb/trunk', 'bbb') 69 | True 70 | 71 | Unless we specify a directory ourselves: 72 | 73 | >>> config.extract_spec('aaa/bbb/trunk somewhere') == ( 74 | ... 'aaa/bbb/trunk', 'somewhere') 75 | True 76 | 77 | And a branch gets named after the branch: 78 | 79 | >>> config.extract_spec('aaa/bbb/branches/reinout-fix') == ( 80 | ... 'aaa/bbb/branches/reinout-fix', 'bbb-reinout-fix') 81 | True 82 | 83 | Launchpad is also recognized: 84 | 85 | >>> config.extract_spec('lp:myproject') == ('lp:myproject', 'myproject') 86 | True 87 | 88 | Git has some special cases too: 89 | 90 | >>> config.extract_spec('git@github.com:collective/Products.Poi.git') == ( 91 | ... 'git@github.com:collective/Products.Poi.git', 'Products.Poi') 92 | True 93 | >>> config.extract_spec('git@git.example.org:projectname') == ( 94 | ... 'git@git.example.org:projectname', 'projectname') 95 | True 96 | 97 | Preserved tree type checkouts: 98 | 99 | >>> config.extract_spec('svn://some.svn.server/folder1/folder1a/repo1', 100 | ... preserve_tree=["svn://some.svn.server/"]) == ('svn://some.svn.server/folder1/folder1a/repo1', 101 | ... 'folder1/folder1a/repo1') 102 | True 103 | 104 | The default rules like "strip the ``.git`` from the name" still apply to preserved_tree: 105 | 106 | >>> config.extract_spec('git@github.com:reinout/checkoutmanager.git', 107 | ... preserve_tree=["git@github.com"]) == ('git@github.com:reinout/checkoutmanager.git', 108 | ... 'reinout/checkoutmanager') 109 | True 110 | 111 | If not found, preserve_tree doesn't give an error: 112 | 113 | >>> config.extract_spec('git@github.com:reinout/checkoutmanager.git', 114 | ... preserve_tree=["svn://some.svn.server/"]) == ('git@github.com:reinout/checkoutmanager.git', 115 | ... 'checkoutmanager') 116 | True 117 | 118 | 119 | Find directories 120 | ---------------- 121 | 122 | Base purpose: return the wrapped directories: 123 | 124 | >>> for d in conf.directories(): 125 | ... print(d) 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | We can restrict to a certain group: 135 | 136 | >>> for d in conf.directories(group='recipes'): 137 | ... print(d) 138 | 139 | 140 | 141 | 142 | 143 | 144 | We can ignore certain directories and support globbing to do so: 145 | 146 | >>> import os 147 | >>> homedir = getfixture("homedir_in_tmp") 148 | >>> os.mkdir(os.path.join(homedir, 'svn')) 149 | >>> os.mkdir(os.path.join(homedir, 'svn', 'recipes')) 150 | >>> os.mkdir(os.path.join(homedir, 'svn', 'recipes', 'missing')) 151 | >>> os.mkdir(os.path.join(homedir, 'svn', 'recipes', 'ignored_missing')) 152 | >>> conf.report_missing(group='recipes') # doctest: +ELLIPSIS 153 | Unconfigured items in .../svn/recipes [svn]: 154 | .../svn/recipes/missing 155 | 156 | When used as a python module, DirInfo objects can be obtained programmatically: 157 | 158 | >>> conf.directory_from_url('svn://svn/blablabla/trunk') 159 | 160 | >>> conf.directory_from_path('%s/svn/recipes/blablabla' % homedir) 161 | 162 | >>> conf.directory_from_path('%s/svn/recipes/blablabla/somefolder' % homedir) 163 | 164 | -------------------------------------------------------------------------------- /src/checkoutmanager/runner.py: -------------------------------------------------------------------------------- 1 | import importlib.metadata 2 | import os 3 | import shutil 4 | import sys 5 | from functools import partial 6 | from optparse import OptionParser 7 | 8 | from checkoutmanager import config, utils 9 | from checkoutmanager.dirinfo import DirInfo 10 | from checkoutmanager.executors import get_executor 11 | 12 | ACTIONS = ["exists", "up", "st", "co", "missing", "out", "in", "rev"] 13 | CONFIGFILE_NAME = "~/.checkoutmanager.cfg" 14 | ACTION_EXPLANATION = { 15 | "exists": "Print whether checkouts are present or missing", 16 | "up": "Grab latest version from the server.", 17 | "st": "Print status of files in the checkouts", 18 | "co": "Grab missing checkouts from the server", 19 | "missing": "Print directories that are missing from the config file", 20 | "out": "Show changesets you haven't pushed to the server yet", 21 | "in": "Show incoming changesets that would be pulled in with 'up'", 22 | "rev": "Print the current revision number", 23 | } 24 | 25 | 26 | def parse_action_name(action_name): 27 | """Parse an action name possibly containing arguments. 28 | 29 | Given an `action_name` in the form "name:arg1=val1,arg2=val2" return a 30 | tuple (name, args_dict), where `args_dict` maps from arguments names to 31 | values. 32 | 33 | """ 34 | parts = action_name.split(":") 35 | name = parts[0] 36 | args_str = "" 37 | if len(parts) >= 2: 38 | args_str = parts[1] 39 | 40 | if not args_str: 41 | args_dict = {} 42 | else: 43 | args_list = [a.split("=") for a in args_str.split(",")] 44 | args_dict = dict((a[0], a[1]) for a in args_list) 45 | 46 | return (name, args_dict) 47 | 48 | 49 | def get_action(dirinfo, custom_actions, action_name): 50 | """Return a tuple (action_func, kwargs) or raise RuntimeError if the action is 51 | not found.""" 52 | (action_name, args_dict) = parse_action_name(action_name) 53 | 54 | action_func = getattr(dirinfo, "cmd_" + action_name, None) 55 | if action_func is not None: 56 | return (action_func, args_dict) 57 | 58 | custom_action_func = custom_actions.get(action_name, None) 59 | if custom_action_func is not None: 60 | action_func = partial(custom_action_func, dirinfo) 61 | return (action_func, args_dict) 62 | 63 | raise RuntimeError("Invalid action: " + action_name) 64 | 65 | 66 | def get_custom_actions(): 67 | return dict( 68 | (entrypoint.name, entrypoint.load()) 69 | for entrypoint in importlib.metadata.entry_points( 70 | group="checkoutmanager.custom_actions" 71 | ) 72 | ) 73 | 74 | 75 | def execute_action(dirinfo, custom_actions, action): 76 | (action_func, args_dict) = get_action(dirinfo, custom_actions, action) 77 | try: 78 | return action_func(**args_dict) 79 | except utils.CommandError as e: 80 | return e 81 | 82 | 83 | def run_one(action, directory=None, url=None, conf=None, allow_ancestors=True): 84 | custom_actions = get_custom_actions() 85 | if not conf: 86 | conf = config.Config(os.path.expanduser(CONFIGFILE_NAME)) 87 | dir_info = None 88 | if url: 89 | dir_info = conf.directory_from_url(url) 90 | if directory: 91 | if isinstance(directory, DirInfo): 92 | dir_info = directory 93 | else: 94 | dir_info = conf.directory_from_path(directory, allow_ancestors) 95 | if not dir_info: 96 | raise RuntimeError("Could not find the repository for %s!" % (directory or url)) 97 | executor = get_executor(single=True) 98 | executor.execute(execute_action, (dir_info, custom_actions, action)) 99 | executor.wait_for_results() 100 | return executor 101 | 102 | 103 | def run(action, group=None, conf=None, single=False): 104 | custom_actions = get_custom_actions() 105 | if not conf: 106 | conf = config.Config(os.path.expanduser(CONFIGFILE_NAME)) 107 | executor = get_executor(single) 108 | for dirinfo in conf.directories(group=group): 109 | executor.execute(execute_action, (dirinfo, custom_actions, action)) 110 | executor.wait_for_results() 111 | 112 | return executor 113 | 114 | 115 | def main(): 116 | usage = [ 117 | "Usage: %prog action [group]", 118 | " group (optional) is a heading from your config file.", 119 | " action can be " + "/".join(ACTIONS) + ":\n", 120 | ] 121 | # Add automatic action explanations. 122 | usage += [action + "\n " + ACTION_EXPLANATION[action] + "\n" for action in ACTIONS] 123 | usage = "\n".join(usage) 124 | parser = OptionParser(usage=usage) 125 | parser.add_option( 126 | "-v", 127 | "--verbose", 128 | action="store_true", 129 | dest="verbose", 130 | default=False, 131 | help="Show debug output", 132 | ) 133 | parser.add_option( 134 | "-c", 135 | "--configfile", 136 | action="store", 137 | dest="configfile", 138 | default=CONFIGFILE_NAME, 139 | help="Name of config file [%s]" % CONFIGFILE_NAME, 140 | ) 141 | parser.add_option( 142 | "-s", 143 | "--single", 144 | action="store_true", 145 | dest="single", 146 | default=False, 147 | help="Execute actions in a single process", 148 | ) 149 | (options, args) = parser.parse_args() 150 | if options.verbose: 151 | utils.VERBOSE = True 152 | 153 | configfile = os.path.expanduser(options.configfile) 154 | if utils.VERBOSE: 155 | print("Using config file %s" % configfile) 156 | if not os.path.exists(configfile): 157 | print("Config file %s does not exist." % configfile) 158 | sample = os.path.join(os.path.basename(__file__), "sample.cfg") 159 | shutil.copy(sample, configfile) 160 | print("Copied %s as a sample to %s" % (sample, configfile)) 161 | print("Open it and adjust it to what you need.") 162 | return 163 | 164 | if len(args) < 1: 165 | parser.print_help() 166 | return 167 | action = args[0] 168 | # TODO: check actions 169 | 170 | conf = config.Config(configfile) 171 | 172 | group = None 173 | if len(args) > 1: 174 | group = args[1] 175 | if group not in conf.groupings: 176 | print("Group %s not in %r" % (group, conf.groupings)) 177 | return 178 | 179 | if action == "missing": 180 | print("Looking for items missing in the config file...") 181 | # Special case: report unconfigured items. 182 | conf.report_missing(group=group) 183 | # Also report on not-yet-checked-out items. 184 | print() 185 | print("Looking for not yet checked out items...") 186 | for dirinfo in conf.directories(group=group): 187 | output = dirinfo.cmd_exists(report_only_missing=True) 188 | if output: 189 | print(output) 190 | print("(Run 'checkoutmanager co' if found)") 191 | return 192 | 193 | executor = run(action, group=group, conf=conf, single=options.single) 194 | 195 | if executor.errors: 196 | print() 197 | print("### %s ERRORS OCCURED ###" % len(executor.errors)) 198 | for error in executor.errors: 199 | print() 200 | utils.print_exception(error) 201 | sys.exit(1) 202 | -------------------------------------------------------------------------------- /src/checkoutmanager/config.py: -------------------------------------------------------------------------------- 1 | """Config file parsing and massaging""" 2 | 3 | import configparser 4 | import glob 5 | import os 6 | 7 | from checkoutmanager import dirinfo 8 | 9 | DEFAULTS = { 10 | "report-missing": "true", 11 | "ignore": "", 12 | "preserve_tree": "", 13 | } 14 | 15 | 16 | def linesstring_as_list(string): 17 | """Return \n separated string as a list""" 18 | lines = string.split("\n") 19 | lines = [line.strip() for line in lines] 20 | lines = [line for line in lines if line and not line.startswith("#")] 21 | return lines 22 | 23 | 24 | def extract_spec(spec, preserve_tree=None): 25 | """Extract vcs spec into vcs url and directoryname""" 26 | vcs_url = None 27 | directory = None 28 | parts = spec.split() 29 | assert len(parts) <= 2, spec 30 | if len(parts) == 2: 31 | vcs_url = parts[0] 32 | directory = parts[1] 33 | if len(parts) == 1: 34 | vcs_url = parts[0] 35 | if directory is None: 36 | # preserve_tree provides a list of server_roots. 37 | # If there are no defined server_roots, this effectively 38 | # disables te preserve_tree option and the directoy is 39 | # obtained per usual 40 | server_roots = preserve_tree or [] 41 | for server_root in server_roots: 42 | if vcs_url.startswith(server_root): 43 | directory = vcs_url[len(server_root) :] 44 | break 45 | if directory is None: 46 | parts = [part for part in vcs_url.split("/") if part] 47 | # Common structure: having a customer folder with a 'buildout' 48 | # directory in it. Don't name it 'buildout'. 49 | parts = [part for part in parts if part != "buildout"] 50 | directory = parts[-1] 51 | # Remove /trunk from the end. We don't want that as a name. 52 | if parts[-1] == "trunk": 53 | parts.pop() 54 | directory = parts[-1] 55 | # If we have an svn branch, name it after the project *and* the 56 | # branch. 57 | if (len(parts) > 3) and (parts[-2] == "branches"): 58 | branchname = parts[-1] 59 | projectname = parts[-3] 60 | directory = projectname + "-" + branchname 61 | # Common for bzr projects hosted on launchpad: they're prefixed with 62 | # 'lp:'. Remove that from the name. 63 | if directory.startswith("lp:"): 64 | directory = directory[3:] 65 | if directory.endswith(".git"): 66 | directory = directory[:-4] 67 | if ":" in directory: 68 | # For example git@git.example.org:projectname 69 | directory = directory.split(":")[-1] 70 | return vcs_url, directory 71 | 72 | 73 | class Config: 74 | """Wrapper around config file for returning DirInfo objects""" 75 | 76 | def __init__(self, config_filename): 77 | assert os.path.exists(config_filename) # Just for me atm... 78 | self.config_filename = config_filename 79 | self.parser = configparser.ConfigParser(DEFAULTS) 80 | self.parser.read(config_filename) 81 | 82 | @property 83 | def groupings(self): 84 | return sorted(self.parser.sections()) 85 | 86 | def directories(self, group=None): 87 | """Return wrapped directories""" 88 | result = [] 89 | if group: 90 | sections = [group] 91 | else: 92 | sections = self.groupings 93 | for section in sections: 94 | basedir = self.parser.get(section, "basedir") 95 | vcs = self.parser.get(section, "vcs") 96 | preserve_tree = linesstring_as_list( 97 | self.parser.get(section, "preserve_tree") 98 | ) 99 | dirinfoclass = dirinfo.DirInfo 100 | if vcs == "svn": 101 | dirinfoclass = dirinfo.SvnDirInfo 102 | if vcs == "bzr": 103 | dirinfoclass = dirinfo.BzrDirInfo 104 | if vcs == "hg": 105 | dirinfoclass = dirinfo.HgDirInfo 106 | if vcs == "git": 107 | dirinfoclass = dirinfo.GitDirInfo 108 | checkouts = linesstring_as_list(self.parser.get(section, "checkouts")) 109 | for checkout in checkouts: 110 | url, directory = extract_spec(checkout, preserve_tree) 111 | directory = os.path.join(basedir, directory) 112 | directory = os.path.expanduser(directory) 113 | result.append(dirinfoclass(directory, url)) 114 | return sorted(result) 115 | 116 | def directory_from_url(self, url): 117 | for dir_info in self.directories(): 118 | if dir_info.url == url: 119 | return dir_info 120 | 121 | def directory_from_path(self, abspath, allow_ancestors=True): 122 | for dir_info in self.directories(): 123 | if dir_info.directory == abspath: 124 | return dir_info 125 | if allow_ancestors: 126 | parent = os.path.dirname(abspath) 127 | if parent: 128 | return self.directory_from_path(parent) 129 | 130 | def report_missing(self, group=None): 131 | if group: 132 | sections = [group] 133 | else: 134 | sections = self.groupings 135 | # First get the currently configured items. Note that one 136 | # directory can now contain checkouts from more than one vcs. 137 | base_configured = {} 138 | base_ignored = {} 139 | for section in sections: 140 | checkouts = linesstring_as_list(self.parser.get(section, "checkouts")) 141 | configured = [] 142 | for checkout in checkouts: 143 | url, directory = extract_spec(checkout) 144 | configured.append(directory) 145 | basedir = self.parser.get(section, "basedir") 146 | basedir = os.path.realpath(os.path.expanduser(basedir)) 147 | if basedir not in base_configured: 148 | base_configured[basedir] = [] 149 | base_configured[basedir] += configured 150 | ignore = linesstring_as_list(self.parser.get(section, "ignore")) 151 | if basedir not in base_ignored: 152 | base_ignored[basedir] = [] 153 | base_ignored[basedir] += ignore 154 | 155 | # Now get present and missing items. 156 | for section in sections: 157 | if not self.parser.getboolean(section, "report-missing"): 158 | continue 159 | basedir = self.parser.get(section, "basedir") 160 | basedir = os.path.realpath(os.path.expanduser(basedir)) 161 | present = set(os.listdir(basedir)) 162 | configured = set(base_configured[basedir]) 163 | missing = present - configured 164 | if not missing: 165 | continue 166 | 167 | ignores = base_ignored[basedir] 168 | full_paths_to_ignore = [] 169 | for ignore in ignores: 170 | full_paths_to_ignore += glob.glob(os.path.join(basedir, ignore)) 171 | real_missing = [] 172 | for directory in missing: 173 | full = os.path.join(basedir, directory) 174 | if full in full_paths_to_ignore: 175 | continue 176 | if os.path.isfile(full): 177 | # Files cannot be checkouts, so we ignore 178 | # them. We only deal with directories. 179 | continue 180 | real_missing.append(full) 181 | if real_missing: 182 | print( 183 | "Unconfigured items in %s [%s]:" 184 | % (basedir, self.parser.get(section, "vcs")) 185 | ) 186 | for full in real_missing: 187 | print(" " + full) 188 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | Checkoutmanager 2 | =============== 3 | 4 | Makes bzr/hg/git/svn checkouts in several places according to a 5 | ``.checkoutmanager.cfg`` config file (in your home directory). 6 | 7 | The advantage: you've got one command with which you can update all your 8 | checkouts. And with which you can ask for a list of uncommitted changes. And 9 | you can rebuild your entire checkout structure on a new machine just by 10 | copying the config file (this was actually the purpose I build it for: I had 11 | to change laptops when I switched jobs...). 12 | 13 | Checkoutmanager works on linux, osx and windows. 14 | 15 | 16 | Starting to use it 17 | ------------------ 18 | 19 | Starting is easy. Just ``pip install checkoutmanager`` (or ``uv tool install 20 | checkoutmanager``) and run ``checkoutmanager``. 21 | 22 | - The first time, you'll get a sample configuration you can copy to 23 | ``.checkoutmanager.cfg`` in your home directory. 24 | 25 | - The second time, you'll get a usage message. (You'll want to do 26 | ``checkoutmanager co`` to grab your initial checkouts). 27 | 28 | 29 | Generic usage 30 | ------------- 31 | 32 | What I normally do every morning when I get to work is ``checkoutmanager 33 | up``. This grabs the latest versions of all my checkouts from the server(s). 34 | So an ``svn up`` for my subversion checkouts, a ``hg pull -u`` for mercurial 35 | and so on. 36 | 37 | From time to time, I'll do a ``checkoutmanager st`` to show if I've got some 38 | uncommitted files lying around somewhere. Very handy if you've worked in 39 | several directories throughout the day: it prevents you from forgetting to 40 | check in that one bugfix for a whole week. 41 | 42 | A new project means I add a single line to my config file and run 43 | ``checkoutmanager co``. 44 | 45 | Checkoutmanager allows you to spread your checkouts over multiple 46 | directories. It cannot mix version control systems per directory, however. 47 | As an example, I've got a ``~/buildout/`` directory with my big svn website 48 | projects checked out there. And a directory with my svn work python 49 | libraries. And a ``~/hg/`` dir with my mercurial projects. And I've made 50 | checkouts of several config directories in my home dir, such as 51 | ``~/.emacs.d``, ``~/.subversion`` and so on. Works just fine. 52 | 53 | 54 | Commands 55 | -------- 56 | 57 | Available commands: 58 | 59 | exists 60 | Print whether checkouts are present or missing 61 | 62 | up 63 | Grab latest version from the server. 64 | 65 | st 66 | Print status of files in the checkouts 67 | 68 | co 69 | Grab missing checkouts from the server 70 | 71 | missing 72 | Print directories that are missing from the config file 73 | 74 | out 75 | Show changesets you haven't pushed to the server yet 76 | 77 | in 78 | Show incoming changesets that would be pulled in with 'up'. For some 79 | version control systems, this depends on the English output of the 80 | respective commands and is therefore inherently fragile. 81 | 82 | 83 | Output directory naming 84 | ----------------------- 85 | 86 | If you don't specify an output directory name for your checkout url, it just 87 | takes the last part. To make life easier, we do have some adjustments we 88 | make: 89 | 90 | - ``https://xxx/yyy/product/trunk`` becomes ``product`` instead of 91 | ``trunk``. (Handy for subversion). 92 | 93 | - ``https://xxx/yyy/product/branches/experiment`` becomes 94 | ``product_experiment`` instead of ``experiment`` (Handy for subversion). 95 | 96 | - ``https://xxx/customername/buildout/trunk`` becomes ``customername`` 97 | instead of "trunk" or "buildout". (Old convention we still support). 98 | 99 | - Bzr checkouts that start with "lp:" (special launchpad urls) get their "lp:" 100 | stripped. 101 | 102 | - Git checkouts lose the ".git" at the end of the url. 103 | 104 | - If you want to preserve the directory configuration of your version control 105 | system, add the ``preserve_tree`` option to a group. It should contain one 106 | or more base checkout urls (one per line). If the checkout url starts with 107 | one of the ``preserve_tree`` urls, the folder structure after it is 108 | preserved. 109 | 110 | With a ``preserve_tree`` of ``https://github.com``, 111 | ``https://github.com/reinout/checkoutmanager`` becomes 112 | ``reinout/checkoutmanager`` instead of ``checkoutmanager``. Also handy for 113 | subversion, which often has nested directories. 114 | 115 | If the ``preserve_tree`` base url isn't found, the standard rules are used, 116 | so you won't get an error. 117 | 118 | If you want different behaviour from the defaults above, just specify a 119 | directory name (separated by a space) in the configuration file after the 120 | url. So ``https://github.com/reinout/checkoutmanager bla_bla`` becomes 121 | ``bla_bla`` instead of ``checkoutmanager`` 122 | 123 | 124 | Custom commands 125 | --------------- 126 | 127 | You can write your own custom commands. To do that you need to create a Python 128 | package and register an entry point in your ``setup.py`` for the 129 | ``checkoutmanager.custom_actions`` target. 130 | 131 | A ``test`` command is included with ``checkoutmanager`` and can serve as an 132 | example. It is registered like this in checkoutmanager's own ``setup.py``: 133 | 134 | .. code:: python 135 | 136 | entry_points={ 137 | 'checkoutmanager.custom_actions': [ 138 | 'test = checkoutmanager.tests.custom_actions:test_action' 139 | ] 140 | } 141 | 142 | The entry point function must take one positional argument which will be the 143 | ``checkoutmanager.dirinfo.DirInfo`` instance associated with the directroy 144 | for which the command is being executed. The function can also take optional 145 | keyword arguments. See ``checkoutmanager.tests.custom_actions.test_action`` for 146 | an example. 147 | 148 | Arguments are passed to the custom command using the following syntax: 149 | 150 | .. code:: bash 151 | 152 | checkoutmanager action:arg1=val1,arg2=val2 153 | 154 | 155 | Config file 156 | ----------- 157 | 158 | .. Comment: copy/paste the sample config file from src/checkoutmanager/sample.cfg! 159 | 160 | Sample configuration file:: 161 | 162 | # Sample config file. Should be placed as .checkoutmanager.cfg in your home 163 | # directory. 164 | # 165 | # There are different sections per base location and version control 166 | # system. 167 | # 168 | # ``checkoutmanager co`` checks them all out (or clones them). 169 | # ``checkoutmanager up`` updates them all. 170 | # ``checkoutmanager st`` to see if there are uncommitted changes. 171 | # ``checkoutmanager out`` to see if there are unpushed git/hg commits. 172 | 173 | 174 | [git-example] 175 | vcs = git 176 | basedir = ~/example/git 177 | checkouts = 178 | https://github.com/reinout/checkoutmanager 179 | git@github.com:django/django.git 180 | 181 | 182 | [recipes] 183 | # Buildout recipes I work on. 184 | vcs = svn 185 | basedir = ~/example/svn 186 | checkouts = 187 | http://svn.zope.org/repos/main/z3c.recipe.usercrontab/trunk 188 | 189 | 190 | [hg-example] 191 | vcs = hg 192 | basedir = ~/example/utilities 193 | checkouts = 194 | https://bitbucket.org/reinout/eolfixer 195 | https://bitbucket.org/reinout/createcoverage 196 | 197 | 198 | # [dotfolders] 199 | # # Advanced usage! 200 | # # Folders that end up as dotted configfolders in my home dir. 201 | # # Note that there's a directory name behind the repository 202 | # # location, separated by a space. 203 | # vcs = bzr 204 | # basedir = ~ 205 | # checkouts = 206 | # lp:emacsconfig/trunk .emacs.d 207 | # sftp://somewhere/subversion/trunk .subversion 208 | # # By ignoring everything, we do not find missing import files but also 209 | # # don't get warnings for every subdirectory in our home dir 210 | # ignore = 211 | # * 212 | # .* 213 | 214 | 215 | 216 | Developing on this project itself 217 | --------------------------------- 218 | 219 | Developing is pretty straightforward:: 220 | 221 | $ uv sync # Install the project 222 | $ pre-commit run --all # Syntax checks and formatting 223 | $ uv run pytest # (Or activate the virtualenv and just run pytest) 224 | -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- 1 | Changelog of checkoutmanager 2 | ============================ 3 | 4 | 4.1 (unreleased) 5 | ---------------- 6 | 7 | - Nothing changed yet. 8 | 9 | 10 | 4.0.1 (2025-11-18) 11 | ------------------ 12 | 13 | - Fixed readme .rst syntax. 14 | 15 | 16 | 4.0 (2025-11-18) 17 | ---------------- 18 | 19 | - Removed ``pkg_resources`` for compatibility with newer python versions. 20 | 21 | - Updated the project itself to use ``uv`` and ``pre-commit``. 22 | 23 | - Removed two ancient svn-only commands. 24 | 25 | 26 | 3.1 (2025-01-30) 27 | ---------------- 28 | 29 | - Fixed regex strings by making them 'raw' strings. A modern python would otherwise 30 | complain (rightfully so) about invalid escape sequences (``\s``, ``\d``). 31 | 32 | - Internal project change: ``.venv/`` instead of ``venv/``. And removed buildout config 33 | as we've been using virtualenv via the makefile for a while now. 34 | 35 | - Testing on python 3.9 and 3.13 now, instead of ye olde 3.8. 36 | 37 | 38 | 3.0.2 (2024-01-11) 39 | ------------------ 40 | 41 | - Fixed super() call on the MultiExecutor that I messed up when 42 | modernizing the python 2.7 code :-) 43 | 44 | 45 | 3.0.1 (2024-01-11) 46 | ------------------ 47 | 48 | - Cleaned up left-over TODO comments in readme. 49 | 50 | 51 | 3.0 (2024-01-11) 52 | ---------------- 53 | 54 | - Added github action for basic testing. 55 | 56 | - Removed ye olde buildout setup, including z3c.testsetup. Using 57 | pytest now. 58 | 59 | - Removed python 2.7 support, we're on 3.8+ now. 60 | 61 | - Achieved compatibility with python 3.12: 62 | Safeconfigparser->ConfigParser. 63 | 64 | 65 | 2.7 (2021-09-28) 66 | ---------------- 67 | 68 | - More robust error handling. 69 | [mortenlj] 70 | 71 | 72 | 2.6.1 (2019-09-23) 73 | ------------------ 74 | 75 | - Fixed small, but essential, README error. 76 | 77 | 78 | 2.6 (2019-09-10) 79 | ---------------- 80 | 81 | - Updated the setup (mostly: buildout version pins) so that the project can be 82 | developed/tested again. 83 | 84 | - The ``exists`` and ``co`` command used to check only if a directory 85 | existed. Now it also checks if the dot directory (``.git``, ``.svn``) 86 | exists. This way an empty directory also will get filled with a checkout. 87 | 88 | 89 | 2.5 (2016-11-07) 90 | ---------------- 91 | 92 | - Fix #19: sometimes git remote changes were seen where there were none. 93 | [reinout] 94 | 95 | 96 | 2.4.1 (2015-09-10) 97 | ------------------ 98 | 99 | - Bugfix for the 2.4-introduced ``run_one()`` function. 100 | [chintal] 101 | 102 | 103 | 2.4 (2015-09-09) 104 | ---------------- 105 | 106 | - Added ``in`` command that reports incoming changes (so: the changes you'd 107 | get by running ``checkoutmanager up``). Due to differences between versions 108 | of git/svn/hg/bzr, the reporting might not be entirely accurate. It is 109 | *very* hard to get right. So: please `report an issue 110 | `_ if something is not 111 | quite right. 112 | [chintal] 113 | 114 | - Added better support for using checkoutmanager as a library. Provided you 115 | first load a config file, you can now programmatically run actions on 116 | individual directories or urls. See the source code for the 117 | ``checkoutmanager.runner.run_one()`` function. 118 | [chintal] 119 | 120 | 121 | 2.3 (2015-09-08) 122 | ---------------- 123 | 124 | - Added a preserve_tree option to config files to allow structured 125 | checkouts mirroring the repository tree. 126 | [chintal] 127 | 128 | 129 | 2.2 (2015-08-24) 130 | ---------------- 131 | 132 | - Checkoutmanager now also runs **on python 3**! 133 | [reinout] 134 | 135 | - Moved from bitbucket (https://bitbucket.org/reinout/checkoutmanager) to 136 | github (https://github.com/reinout/checkoutmanager). 137 | [reinout] 138 | 139 | 140 | 2.1 (2015-08-18) 141 | ---------------- 142 | 143 | - Fixed ``missing`` command: do not swallow the output when 144 | looking for not yet checked out items. Fixes issue #24. 145 | [maurits] 146 | 147 | 148 | 2.0 (2015-03-25) 149 | ---------------- 150 | 151 | - Huge speed increase because commands are now run in parallel instead of 152 | sequentially. Great fix by Morten Lied Johansen. For me, "checkoutmanager 153 | up" now takes 19 seconds instead of 105 seconds! 154 | 155 | 156 | 1.17 (2015-02-06) 157 | ----------------- 158 | 159 | - Added support for custom commands: now you can write an extension for 160 | checkoutmanager so that you can run ``checkoutmanager 161 | your_custom_command``. See the README for documentation. Patch by Rafael 162 | Oliveira. 163 | 164 | 165 | 1.16 (2015-01-02) 166 | ----------------- 167 | 168 | - Added globbing support for ignores. 169 | 170 | 171 | 1.15 (2013-09-27) 172 | ----------------- 173 | 174 | - Handle corner case in determining directory name for a git clone. 175 | 176 | 177 | 1.14 (2013-08-12) 178 | ----------------- 179 | 180 | - Added ``--force-interactive`` to ``svn info`` for svn version 1.8 181 | and higher. This is for the "hidden" ``instancemanager info`` 182 | command that is handy for updating your repositories when you've 183 | switched svn versions. (See the changelog entry for 1.10). Patch by 184 | Maurits. 185 | 186 | 187 | 1.13 (2012-07-20) 188 | ----------------- 189 | 190 | - Not using the sample config file as the test config file anymore. This means 191 | there's a much nicer and more useful sample config file now. 192 | 193 | (Thanks Craig Blaszczyk for his pull request that was the basis for this!) 194 | 195 | 196 | 1.12 (2012-04-14) 197 | ----------------- 198 | 199 | - For bzr, the "out" command uses the exit code instead of the command output 200 | now. This is more reliable and comfortable. Fix by Jendrik Seipp, thanks! 201 | 202 | 203 | 1.11 (2012-03-20) 204 | ----------------- 205 | 206 | - Allow more than one vcs in a directory. This was already possible 207 | before, but now known you no longer need to list all the checkouts 208 | of the competing vcs in the ignore option. Also, items that are 209 | ignored in one section are now also ignored in other sections for 210 | the same directory. 211 | Fixes #11. 212 | [maurits] 213 | 214 | 215 | 1.10 (2012-01-16) 216 | ----------------- 217 | 218 | - Using --mine-only option to ``bzr missing`` to only show our outgoing 219 | changesets when running checkoutmanager's "out" command for bzr. 220 | 221 | - Copying sample .cfg file if it doesn't exist instead of only suggesting the 222 | copy. Fixes #12. 223 | 224 | - Added hidden info command. Should be only useful for subversion if 225 | your svn program is updated and your OS requires you to give svn 226 | access to your stored credentials again, for each repository. 227 | [maurits] 228 | 229 | 230 | 1.9 (2011-11-08) 231 | ---------------- 232 | 233 | - Added ``upgrade`` command that upgrades your subversion checkouts to 234 | the new 1.7 layout of the ``.svn`` directory. 235 | [maurits] 236 | 237 | 238 | 1.8 (2011-10-13) 239 | ---------------- 240 | 241 | - Using ``git push --dry-run`` now to detect not-yet-pushed outgoing changes 242 | with ``checkoutmanager out``. Fixes #9 (reported by Maurits van Rees). 243 | 244 | 245 | 1.7 (2011-10-06) 246 | ---------------- 247 | 248 | - Added --configfile option. Useful when you want to use checkoutmanager to 249 | manage checkouts for something else than your regular development projects. 250 | In practice: I want to use it for an 'sdistmaker' that works with git. 251 | 252 | 253 | 1.6 (2010-12-27) 254 | ---------------- 255 | 256 | - Full fix for #7: checkoutmanager doesn't stop on the first error, but 257 | continues. And it reports all errors afterwards. This helps when just one 258 | of your svn/hg/whatever servers is down: the rest will just keep working. 259 | 260 | - Partial fix for #7: ``svn up`` runs with ``--non-interactive`` now, so 261 | conflict errors errors are reported instead of pretty much silently waiting 262 | for interactive input that will never come. 263 | 264 | 265 | 1.5 (2010-09-14) 266 | ---------------- 267 | 268 | - Using ``except CommandError, e`` instead of ``except CommandError as e`` for 269 | python2.4 compatibility. 270 | 271 | 272 | 1.4 (2010-08-17) 273 | ---------------- 274 | 275 | - Added git support (patch by Robert Kern: thanks!) Fixes issue #6. 276 | 277 | 278 | 1.3 (2010-08-09) 279 | ---------------- 280 | 281 | - Added new "out" action that shows changesets not found in the default push 282 | location of a repository for a dvcs (hg, bzr). The action doesn't make 283 | sense for svn, so it is ignored for svn checkouts. Fixes issue #1. Thanks 284 | Dmitrii Miliaev for this fix! 285 | 286 | 287 | 1.2.1 (2010-08-06) 288 | ------------------ 289 | 290 | - Bugfix: when reporting an error, the os.getcwd method itself would get 291 | printed instead of the *output* of os.getcwd()... 292 | 293 | 294 | 1.2 (2010-08-04) 295 | ---------------- 296 | 297 | - If the config file doesn't exist, just print the config file hints instead 298 | of the generic usage info. 299 | 300 | - Fixed issue #4: the generic 'buildout' name is stripped from the path. 301 | svn://somewhere/customername/buildout/trunk is a common pattern. 302 | 303 | - Added -v option that prints the commands and the directory where you execute 304 | them. Fixes issue #3. 305 | 306 | - Reporting on not yet checked out items when running "checkoutmanager 307 | missing". Fixes issue #2. 308 | 309 | - Checking return code from executed commands. On error, the command and 310 | working directory is printed and also the output. And the script stops 311 | right away. Fixes #5. 312 | 313 | - Updated the documentation, for instance by mentioning the config file name 314 | and location. 315 | 316 | 317 | 1.1 (2010-08-02) 318 | ---------------- 319 | 320 | - Switched from "commands" module to "subprocesses" for windows 321 | compatibility. 322 | 323 | 324 | 1.0 (2010-08-01) 325 | ---------------- 326 | 327 | - Small fixes. It works great in practice. 328 | 329 | - Moved from bzr to hg and made it public on bitbucket.org. 330 | 331 | - Big documentation update as I'm going to release it. 332 | 333 | 334 | 0.1 (2010-05-07) 335 | ---------------- 336 | 337 | - First reasonably working version. 338 | 339 | - Initial library skeleton created by thaskel. 340 | -------------------------------------------------------------------------------- /src/checkoutmanager/dirinfo.py: -------------------------------------------------------------------------------- 1 | """Information on one directory""" 2 | 3 | import os 4 | import re 5 | 6 | from checkoutmanager.utils import CommandError, capture_stdout, system 7 | 8 | # 8-char codes 9 | # '12345678' 10 | CREATED = "created " 11 | MISSING = "missing " 12 | PRESENT = "present " 13 | 14 | 15 | class DirInfo: 16 | """Wrapper for information on one directory""" 17 | 18 | vcs = "xxx" 19 | 20 | def __init__(self, directory, url): 21 | self.directory = directory 22 | self.url = url 23 | 24 | def __repr__(self): 25 | return "" % (self.vcs, self.directory) 26 | 27 | def __lt__(self, other): 28 | # Easy sorting in tests 29 | return self.__repr__() < other.__repr__() 30 | 31 | @property 32 | def parent(self): 33 | return os.path.abspath(os.path.join(self.directory, "..")) 34 | 35 | @property 36 | def exists(self): 37 | expected_dot_dir = os.path.join(self.directory, "." + self.vcs) 38 | return os.path.exists(expected_dot_dir) 39 | 40 | @capture_stdout 41 | def cmd_exists(self, report_only_missing=False): 42 | if self.exists: 43 | answer = PRESENT 44 | if report_only_missing: 45 | return 46 | else: 47 | answer = MISSING 48 | print(" ".join([answer, self.directory])) 49 | 50 | def cmd_rev(self): 51 | raise NotImplementedError() 52 | 53 | def cmd_in(self): 54 | raise NotImplementedError() 55 | 56 | def cmd_up(self): 57 | raise NotImplementedError() 58 | 59 | def cmd_st(self): 60 | raise NotImplementedError() 61 | 62 | def cmd_co(self): 63 | raise NotImplementedError() 64 | 65 | def cmd_out(self): 66 | raise NotImplementedError() 67 | 68 | 69 | class SvnDirInfo(DirInfo): 70 | vcs = "svn" 71 | 72 | regex_last_changed = re.compile(r"last changed rev: (?P\d+)") 73 | 74 | def _parse_last_changed(self, output): 75 | lines = [line.strip() for line in output.splitlines() if line.strip()] 76 | for line in lines: 77 | m = self.regex_last_changed.match(line.lower()) 78 | if m: 79 | return m.group("rev") 80 | 81 | @capture_stdout 82 | def cmd_rev(self): 83 | print(self.directory) 84 | os.chdir(self.directory) 85 | output = system("svn info") 86 | print(self._parse_last_changed(output)) 87 | 88 | @capture_stdout 89 | def cmd_in(self): 90 | os.chdir(self.directory) 91 | output = system("svn info") 92 | local_rev = self._parse_last_changed(output) 93 | try: 94 | output = system("svn info -r HEAD") 95 | remote_rev = self._parse_last_changed(output) 96 | if remote_rev > local_rev: 97 | print(self.directory) 98 | print(f"Incoming changes : Revision {local_rev} to {remote_rev}") 99 | except CommandError: 100 | print("Could not connect to repository for " + self.directory) 101 | return 102 | 103 | @capture_stdout 104 | def cmd_up(self): 105 | print(self.directory) 106 | os.chdir(self.directory) 107 | print(system("svn up --non-interactive")) 108 | 109 | @capture_stdout 110 | def cmd_st(self): 111 | os.chdir(self.directory) 112 | output = system("svn st --ignore-externals") 113 | lines = [ 114 | line.strip() 115 | for line in output.splitlines() 116 | if line.strip() and not line.startswith("X") 117 | ] 118 | if lines: 119 | print(self.directory) 120 | print(output) 121 | print() 122 | 123 | @capture_stdout 124 | def cmd_co(self): 125 | if not os.path.exists(self.parent): 126 | print("Creating parent dir %s" % self.parent) 127 | os.makedirs(self.parent) 128 | if self.exists: 129 | answer = PRESENT 130 | else: 131 | answer = CREATED 132 | os.chdir(self.parent) 133 | print(system("svn co %s %s" % (self.url, self.directory))) 134 | 135 | print(" ".join([answer, self.directory])) 136 | 137 | @capture_stdout 138 | def cmd_out(self): 139 | # Outgoing changes? We're svn, not some new-fangled dvcs :-) 140 | pass 141 | 142 | 143 | class BzrDirInfo(DirInfo): 144 | vcs = "bzr" 145 | 146 | @capture_stdout 147 | def cmd_rev(self): 148 | print(self.directory) 149 | os.chdir(self.directory) 150 | print(system("bzr revno")) 151 | 152 | @capture_stdout 153 | def cmd_in(self): 154 | os.chdir(self.directory) 155 | try: 156 | system("bzr missing --theirs-only") 157 | except CommandError as e: 158 | if e.returncode == 1: 159 | # bzr returns 1 if there are incoming changes! 160 | print(self.directory) 161 | print("'bzr missing' reports incoming changesets : ") 162 | print(e.output) 163 | return 164 | if e.returncode == 3: 165 | # bzr returns 3 if there is no parent 166 | pass 167 | else: 168 | raise 169 | return 170 | 171 | @capture_stdout 172 | def cmd_up(self): 173 | print(self.directory) 174 | os.chdir(self.directory) 175 | print(system("bzr up")) 176 | 177 | @capture_stdout 178 | def cmd_st(self): 179 | os.chdir(self.directory) 180 | output = system("bzr st") 181 | if output.strip(): 182 | print(self.directory) 183 | print(output) 184 | print() 185 | 186 | @capture_stdout 187 | def cmd_co(self): 188 | if not os.path.exists(self.parent): 189 | print("Creating parent dir %s" % self.parent) 190 | os.makedirs(self.parent) 191 | if self.exists: 192 | answer = PRESENT 193 | else: 194 | answer = CREATED 195 | os.chdir(self.parent) 196 | print(system("bzr checkout %s %s" % (self.url, self.directory))) 197 | 198 | print(" ".join([answer, self.directory])) 199 | 200 | @capture_stdout 201 | def cmd_out(self): 202 | os.chdir(self.directory) 203 | try: 204 | output = system("bzr missing %s --mine-only" % self.url) 205 | except CommandError as e: 206 | if e.returncode == 1: 207 | # bzr returns 1 if there are outgoing changes! 208 | print("Unpushed outgoing changes in %s:" % self.directory) 209 | print(e.output) 210 | return 211 | else: 212 | raise 213 | print(output) 214 | 215 | 216 | class HgDirInfo(DirInfo): 217 | vcs = "hg" 218 | 219 | regex_changeset = re.compile( 220 | r"changeset:\s+((?P\d+):(?P[0-9a-fA-F]+))" 221 | ) 222 | 223 | @capture_stdout 224 | def cmd_rev(self): 225 | print(self.directory) 226 | os.chdir(self.directory) 227 | output = system("hg log -l1") 228 | lines = [line.strip() for line in output.splitlines() if line.strip()] 229 | for line in lines: 230 | m = self.regex_changeset.match(line.lower()) 231 | if m: 232 | print(f"{m.group('num')}:{m.group('digest')}") 233 | return 234 | 235 | @capture_stdout 236 | def cmd_in(self): 237 | os.chdir(self.directory) 238 | try: 239 | output = system("hg incoming") 240 | print(self.directory) 241 | print("'hg incoming' reports incoming changesets :" % (self.directory)) 242 | print(output) 243 | except CommandError as e: 244 | if e.returncode == 1: 245 | # hg returns 1 if there are no incoming changes. 246 | return 247 | elif e.returncode == 255: 248 | # hg returns 255 if there is no default parent. 249 | pass 250 | else: 251 | raise 252 | return 253 | 254 | @capture_stdout 255 | def cmd_up(self): 256 | print(self.directory) 257 | os.chdir(self.directory) 258 | print(system("hg pull -u %s" % self.url)) 259 | 260 | @capture_stdout 261 | def cmd_st(self): 262 | os.chdir(self.directory) 263 | output = system("hg st") 264 | if output.strip(): 265 | print(self.directory) 266 | print(output) 267 | print() 268 | 269 | @capture_stdout 270 | def cmd_co(self): 271 | if not os.path.exists(self.parent): 272 | print("Creating parent dir %s" % self.parent) 273 | os.makedirs(self.parent) 274 | if self.exists: 275 | answer = PRESENT 276 | else: 277 | answer = CREATED 278 | os.chdir(self.parent) 279 | # TODO: check! 280 | print(system("hg clone %s %s" % (self.url, self.directory))) 281 | 282 | print(" ".join([answer, self.directory])) 283 | 284 | @capture_stdout 285 | def cmd_out(self): 286 | os.chdir(self.directory) 287 | try: 288 | output = system("hg out %s" % self.url) 289 | except CommandError as e: 290 | if e.returncode == 1: 291 | # hg returns 1 if there are no outgoing changes! 292 | # Checkoutmanager is as quiet as possible, so we print 293 | # nothing. 294 | return 295 | else: 296 | raise 297 | # No errors means we have genuine outgoing changes. 298 | print("Unpushed outgoing changes in %s:" % self.directory) 299 | print(output) 300 | 301 | 302 | class GitDirInfo(DirInfo): 303 | vcs = "git" 304 | 305 | regex_commit_digest = re.compile("commit (?P[0-9a-fA-F]+)") 306 | 307 | @capture_stdout 308 | def cmd_rev(self): 309 | print(self.directory) 310 | os.chdir(self.directory) 311 | output = system("git show -q") 312 | lines = [line.strip() for line in output.splitlines() if line.strip()] 313 | for line in lines: 314 | m = self.regex_commit_digest.match(line.lower()) 315 | if m: 316 | print(m.group("object")) 317 | return 318 | 319 | @capture_stdout 320 | def cmd_in(self): 321 | output = system("git pull --dry-run") 322 | output = output.strip() 323 | output_lines = output.split("\n") 324 | if output and len(output_lines): 325 | print( 326 | "'git pull --dry-run' reports possible actions in %s:" 327 | % (self.directory) 328 | ) 329 | print(output) 330 | 331 | @capture_stdout 332 | def cmd_up(self): 333 | print(self.directory) 334 | os.chdir(self.directory) 335 | print(system("git pull")) 336 | 337 | @capture_stdout 338 | def cmd_st(self): 339 | os.chdir(self.directory) 340 | output = system("git status --short") 341 | if output.strip(): 342 | print(self.directory) 343 | print(output) 344 | print() 345 | 346 | @capture_stdout 347 | def cmd_co(self): 348 | if not os.path.exists(self.parent): 349 | print("Creating parent dir %s" % self.parent) 350 | os.makedirs(self.parent) 351 | if self.exists: 352 | answer = PRESENT 353 | else: 354 | answer = CREATED 355 | os.chdir(self.parent) 356 | # TODO: check! 357 | print(system("git clone %s %s" % (self.url, self.directory))) 358 | 359 | print(" ".join([answer, self.directory])) 360 | 361 | @capture_stdout 362 | def cmd_out(self): 363 | os.chdir(self.directory) 364 | output = system("git push --dry-run") 365 | output = output.strip() 366 | output_lines = output.split("\n") 367 | if len(output_lines) > 1: 368 | # More than the 'everything up-to-date' one-liner. 369 | print( 370 | "'git push --dry-run' reports possible actions in %s:" 371 | % (self.directory) 372 | ) 373 | print(output) 374 | -------------------------------------------------------------------------------- /LICENSE.GPL: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- 1 | version = 1 2 | revision = 3 3 | requires-python = ">=3.10" 4 | 5 | [[package]] 6 | name = "checkoutmanager" 7 | version = "4.0.1.dev0" 8 | source = { editable = "." } 9 | 10 | [package.dev-dependencies] 11 | dev = [ 12 | { name = "pytest" }, 13 | { name = "pytest-cov" }, 14 | { name = "pytest-sugar" }, 15 | ] 16 | 17 | [package.metadata] 18 | 19 | [package.metadata.requires-dev] 20 | dev = [ 21 | { name = "pytest", specifier = ">=8.4.2" }, 22 | { name = "pytest-cov", specifier = ">=6.3.0" }, 23 | { name = "pytest-sugar", specifier = ">=1.1.1" }, 24 | ] 25 | 26 | [[package]] 27 | name = "colorama" 28 | version = "0.4.6" 29 | source = { registry = "https://pypi.org/simple" } 30 | sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } 31 | wheels = [ 32 | { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, 33 | ] 34 | 35 | [[package]] 36 | name = "coverage" 37 | version = "7.12.0" 38 | source = { registry = "https://pypi.org/simple" } 39 | sdist = { url = "https://files.pythonhosted.org/packages/89/26/4a96807b193b011588099c3b5c89fbb05294e5b90e71018e065465f34eb6/coverage-7.12.0.tar.gz", hash = "sha256:fc11e0a4e372cb5f282f16ef90d4a585034050ccda536451901abfb19a57f40c", size = 819341, upload-time = "2025-11-18T13:34:20.766Z" } 40 | wheels = [ 41 | { url = "https://files.pythonhosted.org/packages/26/4a/0dc3de1c172d35abe512332cfdcc43211b6ebce629e4cc42e6cd25ed8f4d/coverage-7.12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:32b75c2ba3f324ee37af3ccee5b30458038c50b349ad9b88cee85096132a575b", size = 217409, upload-time = "2025-11-18T13:31:53.122Z" }, 42 | { url = "https://files.pythonhosted.org/packages/01/c3/086198b98db0109ad4f84241e8e9ea7e5fb2db8c8ffb787162d40c26cc76/coverage-7.12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:cb2a1b6ab9fe833714a483a915de350abc624a37149649297624c8d57add089c", size = 217927, upload-time = "2025-11-18T13:31:54.458Z" }, 43 | { url = "https://files.pythonhosted.org/packages/5d/5f/34614dbf5ce0420828fc6c6f915126a0fcb01e25d16cf141bf5361e6aea6/coverage-7.12.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5734b5d913c3755e72f70bf6cc37a0518d4f4745cde760c5d8e12005e62f9832", size = 244678, upload-time = "2025-11-18T13:31:55.805Z" }, 44 | { url = "https://files.pythonhosted.org/packages/55/7b/6b26fb32e8e4a6989ac1d40c4e132b14556131493b1d06bc0f2be169c357/coverage-7.12.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b527a08cdf15753279b7afb2339a12073620b761d79b81cbe2cdebdb43d90daa", size = 246507, upload-time = "2025-11-18T13:31:57.05Z" }, 45 | { url = "https://files.pythonhosted.org/packages/06/42/7d70e6603d3260199b90fb48b537ca29ac183d524a65cc31366b2e905fad/coverage-7.12.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9bb44c889fb68004e94cab71f6a021ec83eac9aeabdbb5a5a88821ec46e1da73", size = 248366, upload-time = "2025-11-18T13:31:58.362Z" }, 46 | { url = "https://files.pythonhosted.org/packages/2d/4a/d86b837923878424c72458c5b25e899a3c5ca73e663082a915f5b3c4d749/coverage-7.12.0-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4b59b501455535e2e5dde5881739897967b272ba25988c89145c12d772810ccb", size = 245366, upload-time = "2025-11-18T13:31:59.572Z" }, 47 | { url = "https://files.pythonhosted.org/packages/e6/c2/2adec557e0aa9721875f06ced19730fdb7fc58e31b02b5aa56f2ebe4944d/coverage-7.12.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d8842f17095b9868a05837b7b1b73495293091bed870e099521ada176aa3e00e", size = 246408, upload-time = "2025-11-18T13:32:00.784Z" }, 48 | { url = "https://files.pythonhosted.org/packages/5a/4b/8bd1f1148260df11c618e535fdccd1e5aaf646e55b50759006a4f41d8a26/coverage-7.12.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:c5a6f20bf48b8866095c6820641e7ffbe23f2ac84a2efc218d91235e404c7777", size = 244416, upload-time = "2025-11-18T13:32:01.963Z" }, 49 | { url = "https://files.pythonhosted.org/packages/0e/13/3a248dd6a83df90414c54a4e121fd081fb20602ca43955fbe1d60e2312a9/coverage-7.12.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:5f3738279524e988d9da2893f307c2093815c623f8d05a8f79e3eff3a7a9e553", size = 244681, upload-time = "2025-11-18T13:32:03.408Z" }, 50 | { url = "https://files.pythonhosted.org/packages/76/30/aa833827465a5e8c938935f5d91ba055f70516941078a703740aaf1aa41f/coverage-7.12.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e0d68c1f7eabbc8abe582d11fa393ea483caf4f44b0af86881174769f185c94d", size = 245300, upload-time = "2025-11-18T13:32:04.686Z" }, 51 | { url = "https://files.pythonhosted.org/packages/38/24/f85b3843af1370fb3739fa7571819b71243daa311289b31214fe3e8c9d68/coverage-7.12.0-cp310-cp310-win32.whl", hash = "sha256:7670d860e18b1e3ee5930b17a7d55ae6287ec6e55d9799982aa103a2cc1fa2ef", size = 220008, upload-time = "2025-11-18T13:32:05.806Z" }, 52 | { url = "https://files.pythonhosted.org/packages/3a/a2/c7da5b9566f7164db9eefa133d17761ecb2c2fde9385d754e5b5c80f710d/coverage-7.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:f999813dddeb2a56aab5841e687b68169da0d3f6fc78ccf50952fa2463746022", size = 220943, upload-time = "2025-11-18T13:32:07.166Z" }, 53 | { url = "https://files.pythonhosted.org/packages/5a/0c/0dfe7f0487477d96432e4815537263363fb6dd7289743a796e8e51eabdf2/coverage-7.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aa124a3683d2af98bd9d9c2bfa7a5076ca7e5ab09fdb96b81fa7d89376ae928f", size = 217535, upload-time = "2025-11-18T13:32:08.812Z" }, 54 | { url = "https://files.pythonhosted.org/packages/9b/f5/f9a4a053a5bbff023d3bec259faac8f11a1e5a6479c2ccf586f910d8dac7/coverage-7.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d93fbf446c31c0140208dcd07c5d882029832e8ed7891a39d6d44bd65f2316c3", size = 218044, upload-time = "2025-11-18T13:32:10.329Z" }, 55 | { url = "https://files.pythonhosted.org/packages/95/c5/84fc3697c1fa10cd8571919bf9693f693b7373278daaf3b73e328d502bc8/coverage-7.12.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:52ca620260bd8cd6027317bdd8b8ba929be1d741764ee765b42c4d79a408601e", size = 248440, upload-time = "2025-11-18T13:32:12.536Z" }, 56 | { url = "https://files.pythonhosted.org/packages/f4/36/2d93fbf6a04670f3874aed397d5a5371948a076e3249244a9e84fb0e02d6/coverage-7.12.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f3433ffd541380f3a0e423cff0f4926d55b0cc8c1d160fdc3be24a4c03aa65f7", size = 250361, upload-time = "2025-11-18T13:32:13.852Z" }, 57 | { url = "https://files.pythonhosted.org/packages/5d/49/66dc65cc456a6bfc41ea3d0758c4afeaa4068a2b2931bf83be6894cf1058/coverage-7.12.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f7bbb321d4adc9f65e402c677cd1c8e4c2d0105d3ce285b51b4d87f1d5db5245", size = 252472, upload-time = "2025-11-18T13:32:15.068Z" }, 58 | { url = "https://files.pythonhosted.org/packages/35/1f/ebb8a18dffd406db9fcd4b3ae42254aedcaf612470e8712f12041325930f/coverage-7.12.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:22a7aade354a72dff3b59c577bfd18d6945c61f97393bc5fb7bd293a4237024b", size = 248592, upload-time = "2025-11-18T13:32:16.328Z" }, 59 | { url = "https://files.pythonhosted.org/packages/da/a8/67f213c06e5ea3b3d4980df7dc344d7fea88240b5fe878a5dcbdfe0e2315/coverage-7.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3ff651dcd36d2fea66877cd4a82de478004c59b849945446acb5baf9379a1b64", size = 250167, upload-time = "2025-11-18T13:32:17.687Z" }, 60 | { url = "https://files.pythonhosted.org/packages/f0/00/e52aef68154164ea40cc8389c120c314c747fe63a04b013a5782e989b77f/coverage-7.12.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:31b8b2e38391a56e3cea39d22a23faaa7c3fc911751756ef6d2621d2a9daf742", size = 248238, upload-time = "2025-11-18T13:32:19.2Z" }, 61 | { url = "https://files.pythonhosted.org/packages/1f/a4/4d88750bcf9d6d66f77865e5a05a20e14db44074c25fd22519777cb69025/coverage-7.12.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:297bc2da28440f5ae51c845a47c8175a4db0553a53827886e4fb25c66633000c", size = 247964, upload-time = "2025-11-18T13:32:21.027Z" }, 62 | { url = "https://files.pythonhosted.org/packages/a7/6b/b74693158899d5b47b0bf6238d2c6722e20ba749f86b74454fac0696bb00/coverage-7.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6ff7651cc01a246908eac162a6a86fc0dbab6de1ad165dfb9a1e2ec660b44984", size = 248862, upload-time = "2025-11-18T13:32:22.304Z" }, 63 | { url = "https://files.pythonhosted.org/packages/18/de/6af6730227ce0e8ade307b1cc4a08e7f51b419a78d02083a86c04ccceb29/coverage-7.12.0-cp311-cp311-win32.whl", hash = "sha256:313672140638b6ddb2c6455ddeda41c6a0b208298034544cfca138978c6baed6", size = 220033, upload-time = "2025-11-18T13:32:23.714Z" }, 64 | { url = "https://files.pythonhosted.org/packages/e2/a1/e7f63021a7c4fe20994359fcdeae43cbef4a4d0ca36a5a1639feeea5d9e1/coverage-7.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:a1783ed5bd0d5938d4435014626568dc7f93e3cb99bc59188cc18857c47aa3c4", size = 220966, upload-time = "2025-11-18T13:32:25.599Z" }, 65 | { url = "https://files.pythonhosted.org/packages/77/e8/deae26453f37c20c3aa0c4433a1e32cdc169bf415cce223a693117aa3ddd/coverage-7.12.0-cp311-cp311-win_arm64.whl", hash = "sha256:4648158fd8dd9381b5847622df1c90ff314efbfc1df4550092ab6013c238a5fc", size = 219637, upload-time = "2025-11-18T13:32:27.265Z" }, 66 | { url = "https://files.pythonhosted.org/packages/02/bf/638c0427c0f0d47638242e2438127f3c8ee3cfc06c7fdeb16778ed47f836/coverage-7.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:29644c928772c78512b48e14156b81255000dcfd4817574ff69def189bcb3647", size = 217704, upload-time = "2025-11-18T13:32:28.906Z" }, 67 | { url = "https://files.pythonhosted.org/packages/08/e1/706fae6692a66c2d6b871a608bbde0da6281903fa0e9f53a39ed441da36a/coverage-7.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8638cbb002eaa5d7c8d04da667813ce1067080b9a91099801a0053086e52b736", size = 218064, upload-time = "2025-11-18T13:32:30.161Z" }, 68 | { url = "https://files.pythonhosted.org/packages/a9/8b/eb0231d0540f8af3ffda39720ff43cb91926489d01524e68f60e961366e4/coverage-7.12.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:083631eeff5eb9992c923e14b810a179798bb598e6a0dd60586819fc23be6e60", size = 249560, upload-time = "2025-11-18T13:32:31.835Z" }, 69 | { url = "https://files.pythonhosted.org/packages/e9/a1/67fb52af642e974d159b5b379e4d4c59d0ebe1288677fbd04bbffe665a82/coverage-7.12.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:99d5415c73ca12d558e07776bd957c4222c687b9f1d26fa0e1b57e3598bdcde8", size = 252318, upload-time = "2025-11-18T13:32:33.178Z" }, 70 | { url = "https://files.pythonhosted.org/packages/41/e5/38228f31b2c7665ebf9bdfdddd7a184d56450755c7e43ac721c11a4b8dab/coverage-7.12.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e949ebf60c717c3df63adb4a1a366c096c8d7fd8472608cd09359e1bd48ef59f", size = 253403, upload-time = "2025-11-18T13:32:34.45Z" }, 71 | { url = "https://files.pythonhosted.org/packages/ec/4b/df78e4c8188f9960684267c5a4897836f3f0f20a20c51606ee778a1d9749/coverage-7.12.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6d907ddccbca819afa2cd014bc69983b146cca2735a0b1e6259b2a6c10be1e70", size = 249984, upload-time = "2025-11-18T13:32:35.747Z" }, 72 | { url = "https://files.pythonhosted.org/packages/ba/51/bb163933d195a345c6f63eab9e55743413d064c291b6220df754075c2769/coverage-7.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b1518ecbad4e6173f4c6e6c4a46e49555ea5679bf3feda5edb1b935c7c44e8a0", size = 251339, upload-time = "2025-11-18T13:32:37.352Z" }, 73 | { url = "https://files.pythonhosted.org/packages/15/40/c9b29cdb8412c837cdcbc2cfa054547dd83affe6cbbd4ce4fdb92b6ba7d1/coverage-7.12.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:51777647a749abdf6f6fd8c7cffab12de68ab93aab15efc72fbbb83036c2a068", size = 249489, upload-time = "2025-11-18T13:32:39.212Z" }, 74 | { url = "https://files.pythonhosted.org/packages/c8/da/b3131e20ba07a0de4437a50ef3b47840dfabf9293675b0cd5c2c7f66dd61/coverage-7.12.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:42435d46d6461a3b305cdfcad7cdd3248787771f53fe18305548cba474e6523b", size = 249070, upload-time = "2025-11-18T13:32:40.598Z" }, 75 | { url = "https://files.pythonhosted.org/packages/70/81/b653329b5f6302c08d683ceff6785bc60a34be9ae92a5c7b63ee7ee7acec/coverage-7.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5bcead88c8423e1855e64b8057d0544e33e4080b95b240c2a355334bb7ced937", size = 250929, upload-time = "2025-11-18T13:32:42.915Z" }, 76 | { url = "https://files.pythonhosted.org/packages/a3/00/250ac3bca9f252a5fb1338b5ad01331ebb7b40223f72bef5b1b2cb03aa64/coverage-7.12.0-cp312-cp312-win32.whl", hash = "sha256:dcbb630ab034e86d2a0f79aefd2be07e583202f41e037602d438c80044957baa", size = 220241, upload-time = "2025-11-18T13:32:44.665Z" }, 77 | { url = "https://files.pythonhosted.org/packages/64/1c/77e79e76d37ce83302f6c21980b45e09f8aa4551965213a10e62d71ce0ab/coverage-7.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:2fd8354ed5d69775ac42986a691fbf68b4084278710cee9d7c3eaa0c28fa982a", size = 221051, upload-time = "2025-11-18T13:32:46.008Z" }, 78 | { url = "https://files.pythonhosted.org/packages/31/f5/641b8a25baae564f9e52cac0e2667b123de961985709a004e287ee7663cc/coverage-7.12.0-cp312-cp312-win_arm64.whl", hash = "sha256:737c3814903be30695b2de20d22bcc5428fdae305c61ba44cdc8b3252984c49c", size = 219692, upload-time = "2025-11-18T13:32:47.372Z" }, 79 | { url = "https://files.pythonhosted.org/packages/b8/14/771700b4048774e48d2c54ed0c674273702713c9ee7acdfede40c2666747/coverage-7.12.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:47324fffca8d8eae7e185b5bb20c14645f23350f870c1649003618ea91a78941", size = 217725, upload-time = "2025-11-18T13:32:49.22Z" }, 80 | { url = "https://files.pythonhosted.org/packages/17/a7/3aa4144d3bcb719bf67b22d2d51c2d577bf801498c13cb08f64173e80497/coverage-7.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ccf3b2ede91decd2fb53ec73c1f949c3e034129d1e0b07798ff1d02ea0c8fa4a", size = 218098, upload-time = "2025-11-18T13:32:50.78Z" }, 81 | { url = "https://files.pythonhosted.org/packages/fc/9c/b846bbc774ff81091a12a10203e70562c91ae71badda00c5ae5b613527b1/coverage-7.12.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b365adc70a6936c6b0582dc38746b33b2454148c02349345412c6e743efb646d", size = 249093, upload-time = "2025-11-18T13:32:52.554Z" }, 82 | { url = "https://files.pythonhosted.org/packages/76/b6/67d7c0e1f400b32c883e9342de4a8c2ae7c1a0b57c5de87622b7262e2309/coverage-7.12.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bc13baf85cd8a4cfcf4a35c7bc9d795837ad809775f782f697bf630b7e200211", size = 251686, upload-time = "2025-11-18T13:32:54.862Z" }, 83 | { url = "https://files.pythonhosted.org/packages/cc/75/b095bd4b39d49c3be4bffbb3135fea18a99a431c52dd7513637c0762fecb/coverage-7.12.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:099d11698385d572ceafb3288a5b80fe1fc58bf665b3f9d362389de488361d3d", size = 252930, upload-time = "2025-11-18T13:32:56.417Z" }, 84 | { url = "https://files.pythonhosted.org/packages/6e/f3/466f63015c7c80550bead3093aacabf5380c1220a2a93c35d374cae8f762/coverage-7.12.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:473dc45d69694069adb7680c405fb1e81f60b2aff42c81e2f2c3feaf544d878c", size = 249296, upload-time = "2025-11-18T13:32:58.074Z" }, 85 | { url = "https://files.pythonhosted.org/packages/27/86/eba2209bf2b7e28c68698fc13437519a295b2d228ba9e0ec91673e09fa92/coverage-7.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:583f9adbefd278e9de33c33d6846aa8f5d164fa49b47144180a0e037f0688bb9", size = 251068, upload-time = "2025-11-18T13:32:59.646Z" }, 86 | { url = "https://files.pythonhosted.org/packages/ec/55/ca8ae7dbba962a3351f18940b359b94c6bafdd7757945fdc79ec9e452dc7/coverage-7.12.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b2089cc445f2dc0af6f801f0d1355c025b76c24481935303cf1af28f636688f0", size = 249034, upload-time = "2025-11-18T13:33:01.481Z" }, 87 | { url = "https://files.pythonhosted.org/packages/7a/d7/39136149325cad92d420b023b5fd900dabdd1c3a0d1d5f148ef4a8cedef5/coverage-7.12.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:950411f1eb5d579999c5f66c62a40961f126fc71e5e14419f004471957b51508", size = 248853, upload-time = "2025-11-18T13:33:02.935Z" }, 88 | { url = "https://files.pythonhosted.org/packages/fe/b6/76e1add8b87ef60e00643b0b7f8f7bb73d4bf5249a3be19ebefc5793dd25/coverage-7.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b1aab7302a87bafebfe76b12af681b56ff446dc6f32ed178ff9c092ca776e6bc", size = 250619, upload-time = "2025-11-18T13:33:04.336Z" }, 89 | { url = "https://files.pythonhosted.org/packages/95/87/924c6dc64f9203f7a3c1832a6a0eee5a8335dbe5f1bdadcc278d6f1b4d74/coverage-7.12.0-cp313-cp313-win32.whl", hash = "sha256:d7e0d0303c13b54db495eb636bc2465b2fb8475d4c8bcec8fe4b5ca454dfbae8", size = 220261, upload-time = "2025-11-18T13:33:06.493Z" }, 90 | { url = "https://files.pythonhosted.org/packages/91/77/dd4aff9af16ff776bf355a24d87eeb48fc6acde54c907cc1ea89b14a8804/coverage-7.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:ce61969812d6a98a981d147d9ac583a36ac7db7766f2e64a9d4d059c2fe29d07", size = 221072, upload-time = "2025-11-18T13:33:07.926Z" }, 91 | { url = "https://files.pythonhosted.org/packages/70/49/5c9dc46205fef31b1b226a6e16513193715290584317fd4df91cdaf28b22/coverage-7.12.0-cp313-cp313-win_arm64.whl", hash = "sha256:bcec6f47e4cb8a4c2dc91ce507f6eefc6a1b10f58df32cdc61dff65455031dfc", size = 219702, upload-time = "2025-11-18T13:33:09.631Z" }, 92 | { url = "https://files.pythonhosted.org/packages/9b/62/f87922641c7198667994dd472a91e1d9b829c95d6c29529ceb52132436ad/coverage-7.12.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:459443346509476170d553035e4a3eed7b860f4fe5242f02de1010501956ce87", size = 218420, upload-time = "2025-11-18T13:33:11.153Z" }, 93 | { url = "https://files.pythonhosted.org/packages/85/dd/1cc13b2395ef15dbb27d7370a2509b4aee77890a464fb35d72d428f84871/coverage-7.12.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:04a79245ab2b7a61688958f7a855275997134bc84f4a03bc240cf64ff132abf6", size = 218773, upload-time = "2025-11-18T13:33:12.569Z" }, 94 | { url = "https://files.pythonhosted.org/packages/74/40/35773cc4bb1e9d4658d4fb669eb4195b3151bef3bbd6f866aba5cd5dac82/coverage-7.12.0-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:09a86acaaa8455f13d6a99221d9654df249b33937b4e212b4e5a822065f12aa7", size = 260078, upload-time = "2025-11-18T13:33:14.037Z" }, 95 | { url = "https://files.pythonhosted.org/packages/ec/ee/231bb1a6ffc2905e396557585ebc6bdc559e7c66708376d245a1f1d330fc/coverage-7.12.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:907e0df1b71ba77463687a74149c6122c3f6aac56c2510a5d906b2f368208560", size = 262144, upload-time = "2025-11-18T13:33:15.601Z" }, 96 | { url = "https://files.pythonhosted.org/packages/28/be/32f4aa9f3bf0b56f3971001b56508352c7753915345d45fab4296a986f01/coverage-7.12.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b57e2d0ddd5f0582bae5437c04ee71c46cd908e7bc5d4d0391f9a41e812dd12", size = 264574, upload-time = "2025-11-18T13:33:17.354Z" }, 97 | { url = "https://files.pythonhosted.org/packages/68/7c/00489fcbc2245d13ab12189b977e0cf06ff3351cb98bc6beba8bd68c5902/coverage-7.12.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:58c1c6aa677f3a1411fe6fb28ec3a942e4f665df036a3608816e0847fad23296", size = 259298, upload-time = "2025-11-18T13:33:18.958Z" }, 98 | { url = "https://files.pythonhosted.org/packages/96/b4/f0760d65d56c3bea95b449e02570d4abd2549dc784bf39a2d4721a2d8ceb/coverage-7.12.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:4c589361263ab2953e3c4cd2a94db94c4ad4a8e572776ecfbad2389c626e4507", size = 262150, upload-time = "2025-11-18T13:33:20.644Z" }, 99 | { url = "https://files.pythonhosted.org/packages/c5/71/9a9314df00f9326d78c1e5a910f520d599205907432d90d1c1b7a97aa4b1/coverage-7.12.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:91b810a163ccad2e43b1faa11d70d3cf4b6f3d83f9fd5f2df82a32d47b648e0d", size = 259763, upload-time = "2025-11-18T13:33:22.189Z" }, 100 | { url = "https://files.pythonhosted.org/packages/10/34/01a0aceed13fbdf925876b9a15d50862eb8845454301fe3cdd1df08b2182/coverage-7.12.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:40c867af715f22592e0d0fb533a33a71ec9e0f73a6945f722a0c85c8c1cbe3a2", size = 258653, upload-time = "2025-11-18T13:33:24.239Z" }, 101 | { url = "https://files.pythonhosted.org/packages/8d/04/81d8fd64928acf1574bbb0181f66901c6c1c6279c8ccf5f84259d2c68ae9/coverage-7.12.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:68b0d0a2d84f333de875666259dadf28cc67858bc8fd8b3f1eae84d3c2bec455", size = 260856, upload-time = "2025-11-18T13:33:26.365Z" }, 102 | { url = "https://files.pythonhosted.org/packages/f2/76/fa2a37bfaeaf1f766a2d2360a25a5297d4fb567098112f6517475eee120b/coverage-7.12.0-cp313-cp313t-win32.whl", hash = "sha256:73f9e7fbd51a221818fd11b7090eaa835a353ddd59c236c57b2199486b116c6d", size = 220936, upload-time = "2025-11-18T13:33:28.165Z" }, 103 | { url = "https://files.pythonhosted.org/packages/f9/52/60f64d932d555102611c366afb0eb434b34266b1d9266fc2fe18ab641c47/coverage-7.12.0-cp313-cp313t-win_amd64.whl", hash = "sha256:24cff9d1f5743f67db7ba46ff284018a6e9aeb649b67aa1e70c396aa1b7cb23c", size = 222001, upload-time = "2025-11-18T13:33:29.656Z" }, 104 | { url = "https://files.pythonhosted.org/packages/77/df/c303164154a5a3aea7472bf323b7c857fed93b26618ed9fc5c2955566bb0/coverage-7.12.0-cp313-cp313t-win_arm64.whl", hash = "sha256:c87395744f5c77c866d0f5a43d97cc39e17c7f1cb0115e54a2fe67ca75c5d14d", size = 220273, upload-time = "2025-11-18T13:33:31.415Z" }, 105 | { url = "https://files.pythonhosted.org/packages/bf/2e/fc12db0883478d6e12bbd62d481210f0c8daf036102aa11434a0c5755825/coverage-7.12.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a1c59b7dc169809a88b21a936eccf71c3895a78f5592051b1af8f4d59c2b4f92", size = 217777, upload-time = "2025-11-18T13:33:32.86Z" }, 106 | { url = "https://files.pythonhosted.org/packages/1f/c1/ce3e525d223350c6ec16b9be8a057623f54226ef7f4c2fee361ebb6a02b8/coverage-7.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:8787b0f982e020adb732b9f051f3e49dd5054cebbc3f3432061278512a2b1360", size = 218100, upload-time = "2025-11-18T13:33:34.532Z" }, 107 | { url = "https://files.pythonhosted.org/packages/15/87/113757441504aee3808cb422990ed7c8bcc2d53a6779c66c5adef0942939/coverage-7.12.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5ea5a9f7dc8877455b13dd1effd3202e0bca72f6f3ab09f9036b1bcf728f69ac", size = 249151, upload-time = "2025-11-18T13:33:36.135Z" }, 108 | { url = "https://files.pythonhosted.org/packages/d9/1d/9529d9bd44049b6b05bb319c03a3a7e4b0a8a802d28fa348ad407e10706d/coverage-7.12.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fdba9f15849534594f60b47c9a30bc70409b54947319a7c4fd0e8e3d8d2f355d", size = 251667, upload-time = "2025-11-18T13:33:37.996Z" }, 109 | { url = "https://files.pythonhosted.org/packages/11/bb/567e751c41e9c03dc29d3ce74b8c89a1e3396313e34f255a2a2e8b9ebb56/coverage-7.12.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a00594770eb715854fb1c57e0dea08cce6720cfbc531accdb9850d7c7770396c", size = 253003, upload-time = "2025-11-18T13:33:39.553Z" }, 110 | { url = "https://files.pythonhosted.org/packages/e4/b3/c2cce2d8526a02fb9e9ca14a263ca6fc074449b33a6afa4892838c903528/coverage-7.12.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5560c7e0d82b42eb1951e4f68f071f8017c824ebfd5a6ebe42c60ac16c6c2434", size = 249185, upload-time = "2025-11-18T13:33:42.086Z" }, 111 | { url = "https://files.pythonhosted.org/packages/0e/a7/967f93bb66e82c9113c66a8d0b65ecf72fc865adfba5a145f50c7af7e58d/coverage-7.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d6c2e26b481c9159c2773a37947a9718cfdc58893029cdfb177531793e375cfc", size = 251025, upload-time = "2025-11-18T13:33:43.634Z" }, 112 | { url = "https://files.pythonhosted.org/packages/b9/b2/f2f6f56337bc1af465d5b2dc1ee7ee2141b8b9272f3bf6213fcbc309a836/coverage-7.12.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:6e1a8c066dabcde56d5d9fed6a66bc19a2883a3fe051f0c397a41fc42aedd4cc", size = 248979, upload-time = "2025-11-18T13:33:46.04Z" }, 113 | { url = "https://files.pythonhosted.org/packages/f4/7a/bf4209f45a4aec09d10a01a57313a46c0e0e8f4c55ff2965467d41a92036/coverage-7.12.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:f7ba9da4726e446d8dd8aae5a6cd872511184a5d861de80a86ef970b5dacce3e", size = 248800, upload-time = "2025-11-18T13:33:47.546Z" }, 114 | { url = "https://files.pythonhosted.org/packages/b8/b7/1e01b8696fb0521810f60c5bbebf699100d6754183e6cc0679bf2ed76531/coverage-7.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e0f483ab4f749039894abaf80c2f9e7ed77bbf3c737517fb88c8e8e305896a17", size = 250460, upload-time = "2025-11-18T13:33:49.537Z" }, 115 | { url = "https://files.pythonhosted.org/packages/71/ae/84324fb9cb46c024760e706353d9b771a81b398d117d8c1fe010391c186f/coverage-7.12.0-cp314-cp314-win32.whl", hash = "sha256:76336c19a9ef4a94b2f8dc79f8ac2da3f193f625bb5d6f51a328cd19bfc19933", size = 220533, upload-time = "2025-11-18T13:33:51.16Z" }, 116 | { url = "https://files.pythonhosted.org/packages/e2/71/1033629deb8460a8f97f83e6ac4ca3b93952e2b6f826056684df8275e015/coverage-7.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:7c1059b600aec6ef090721f8f633f60ed70afaffe8ecab85b59df748f24b31fe", size = 221348, upload-time = "2025-11-18T13:33:52.776Z" }, 117 | { url = "https://files.pythonhosted.org/packages/0a/5f/ac8107a902f623b0c251abdb749be282dc2ab61854a8a4fcf49e276fce2f/coverage-7.12.0-cp314-cp314-win_arm64.whl", hash = "sha256:172cf3a34bfef42611963e2b661302a8931f44df31629e5b1050567d6b90287d", size = 219922, upload-time = "2025-11-18T13:33:54.316Z" }, 118 | { url = "https://files.pythonhosted.org/packages/79/6e/f27af2d4da367f16077d21ef6fe796c874408219fa6dd3f3efe7751bd910/coverage-7.12.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:aa7d48520a32cb21c7a9b31f81799e8eaec7239db36c3b670be0fa2403828d1d", size = 218511, upload-time = "2025-11-18T13:33:56.343Z" }, 119 | { url = "https://files.pythonhosted.org/packages/67/dd/65fd874aa460c30da78f9d259400d8e6a4ef457d61ab052fd248f0050558/coverage-7.12.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:90d58ac63bc85e0fb919f14d09d6caa63f35a5512a2205284b7816cafd21bb03", size = 218771, upload-time = "2025-11-18T13:33:57.966Z" }, 120 | { url = "https://files.pythonhosted.org/packages/55/e0/7c6b71d327d8068cb79c05f8f45bf1b6145f7a0de23bbebe63578fe5240a/coverage-7.12.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:ca8ecfa283764fdda3eae1bdb6afe58bf78c2c3ec2b2edcb05a671f0bba7b3f9", size = 260151, upload-time = "2025-11-18T13:33:59.597Z" }, 121 | { url = "https://files.pythonhosted.org/packages/49/ce/4697457d58285b7200de6b46d606ea71066c6e674571a946a6ea908fb588/coverage-7.12.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:874fe69a0785d96bd066059cd4368022cebbec1a8958f224f0016979183916e6", size = 262257, upload-time = "2025-11-18T13:34:01.166Z" }, 122 | { url = "https://files.pythonhosted.org/packages/2f/33/acbc6e447aee4ceba88c15528dbe04a35fb4d67b59d393d2e0d6f1e242c1/coverage-7.12.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5b3c889c0b8b283a24d721a9eabc8ccafcfc3aebf167e4cd0d0e23bf8ec4e339", size = 264671, upload-time = "2025-11-18T13:34:02.795Z" }, 123 | { url = "https://files.pythonhosted.org/packages/87/ec/e2822a795c1ed44d569980097be839c5e734d4c0c1119ef8e0a073496a30/coverage-7.12.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8bb5b894b3ec09dcd6d3743229dc7f2c42ef7787dc40596ae04c0edda487371e", size = 259231, upload-time = "2025-11-18T13:34:04.397Z" }, 124 | { url = "https://files.pythonhosted.org/packages/72/c5/a7ec5395bb4a49c9b7ad97e63f0c92f6bf4a9e006b1393555a02dae75f16/coverage-7.12.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:79a44421cd5fba96aa57b5e3b5a4d3274c449d4c622e8f76882d76635501fd13", size = 262137, upload-time = "2025-11-18T13:34:06.068Z" }, 125 | { url = "https://files.pythonhosted.org/packages/67/0c/02c08858b764129f4ecb8e316684272972e60777ae986f3865b10940bdd6/coverage-7.12.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:33baadc0efd5c7294f436a632566ccc1f72c867f82833eb59820ee37dc811c6f", size = 259745, upload-time = "2025-11-18T13:34:08.04Z" }, 126 | { url = "https://files.pythonhosted.org/packages/5a/04/4fd32b7084505f3829a8fe45c1a74a7a728cb251aaadbe3bec04abcef06d/coverage-7.12.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c406a71f544800ef7e9e0000af706b88465f3573ae8b8de37e5f96c59f689ad1", size = 258570, upload-time = "2025-11-18T13:34:09.676Z" }, 127 | { url = "https://files.pythonhosted.org/packages/48/35/2365e37c90df4f5342c4fa202223744119fe31264ee2924f09f074ea9b6d/coverage-7.12.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e71bba6a40883b00c6d571599b4627f50c360b3d0d02bfc658168936be74027b", size = 260899, upload-time = "2025-11-18T13:34:11.259Z" }, 128 | { url = "https://files.pythonhosted.org/packages/05/56/26ab0464ca733fa325e8e71455c58c1c374ce30f7c04cebb88eabb037b18/coverage-7.12.0-cp314-cp314t-win32.whl", hash = "sha256:9157a5e233c40ce6613dead4c131a006adfda70e557b6856b97aceed01b0e27a", size = 221313, upload-time = "2025-11-18T13:34:12.863Z" }, 129 | { url = "https://files.pythonhosted.org/packages/da/1c/017a3e1113ed34d998b27d2c6dba08a9e7cb97d362f0ec988fcd873dcf81/coverage-7.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:e84da3a0fd233aeec797b981c51af1cabac74f9bd67be42458365b30d11b5291", size = 222423, upload-time = "2025-11-18T13:34:15.14Z" }, 130 | { url = "https://files.pythonhosted.org/packages/4c/36/bcc504fdd5169301b52568802bb1b9cdde2e27a01d39fbb3b4b508ab7c2c/coverage-7.12.0-cp314-cp314t-win_arm64.whl", hash = "sha256:01d24af36fedda51c2b1aca56e4330a3710f83b02a5ff3743a6b015ffa7c9384", size = 220459, upload-time = "2025-11-18T13:34:17.222Z" }, 131 | { url = "https://files.pythonhosted.org/packages/ce/a3/43b749004e3c09452e39bb56347a008f0a0668aad37324a99b5c8ca91d9e/coverage-7.12.0-py3-none-any.whl", hash = "sha256:159d50c0b12e060b15ed3d39f87ed43d4f7f7ad40b8a534f4dd331adbb51104a", size = 209503, upload-time = "2025-11-18T13:34:18.892Z" }, 132 | ] 133 | 134 | [package.optional-dependencies] 135 | toml = [ 136 | { name = "tomli", marker = "python_full_version <= '3.11'" }, 137 | ] 138 | 139 | [[package]] 140 | name = "exceptiongroup" 141 | version = "1.3.0" 142 | source = { registry = "https://pypi.org/simple" } 143 | dependencies = [ 144 | { name = "typing-extensions", marker = "python_full_version < '3.13'" }, 145 | ] 146 | sdist = { url = "https://files.pythonhosted.org/packages/0b/9f/a65090624ecf468cdca03533906e7c69ed7588582240cfe7cc9e770b50eb/exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88", size = 29749, upload-time = "2025-05-10T17:42:51.123Z" } 147 | wheels = [ 148 | { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" }, 149 | ] 150 | 151 | [[package]] 152 | name = "iniconfig" 153 | version = "2.3.0" 154 | source = { registry = "https://pypi.org/simple" } 155 | sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } 156 | wheels = [ 157 | { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, 158 | ] 159 | 160 | [[package]] 161 | name = "packaging" 162 | version = "25.0" 163 | source = { registry = "https://pypi.org/simple" } 164 | sdist = { url = "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f", size = 165727, upload-time = "2025-04-19T11:48:59.673Z" } 165 | wheels = [ 166 | { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469, upload-time = "2025-04-19T11:48:57.875Z" }, 167 | ] 168 | 169 | [[package]] 170 | name = "pluggy" 171 | version = "1.6.0" 172 | source = { registry = "https://pypi.org/simple" } 173 | sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } 174 | wheels = [ 175 | { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, 176 | ] 177 | 178 | [[package]] 179 | name = "pygments" 180 | version = "2.19.2" 181 | source = { registry = "https://pypi.org/simple" } 182 | sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" } 183 | wheels = [ 184 | { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, 185 | ] 186 | 187 | [[package]] 188 | name = "pytest" 189 | version = "9.0.1" 190 | source = { registry = "https://pypi.org/simple" } 191 | dependencies = [ 192 | { name = "colorama", marker = "sys_platform == 'win32'" }, 193 | { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, 194 | { name = "iniconfig" }, 195 | { name = "packaging" }, 196 | { name = "pluggy" }, 197 | { name = "pygments" }, 198 | { name = "tomli", marker = "python_full_version < '3.11'" }, 199 | ] 200 | sdist = { url = "https://files.pythonhosted.org/packages/07/56/f013048ac4bc4c1d9be45afd4ab209ea62822fb1598f40687e6bf45dcea4/pytest-9.0.1.tar.gz", hash = "sha256:3e9c069ea73583e255c3b21cf46b8d3c56f6e3a1a8f6da94ccb0fcf57b9d73c8", size = 1564125, upload-time = "2025-11-12T13:05:09.333Z" } 201 | wheels = [ 202 | { url = "https://files.pythonhosted.org/packages/0b/8b/6300fb80f858cda1c51ffa17075df5d846757081d11ab4aa35cef9e6258b/pytest-9.0.1-py3-none-any.whl", hash = "sha256:67be0030d194df2dfa7b556f2e56fb3c3315bd5c8822c6951162b92b32ce7dad", size = 373668, upload-time = "2025-11-12T13:05:07.379Z" }, 203 | ] 204 | 205 | [[package]] 206 | name = "pytest-cov" 207 | version = "7.0.0" 208 | source = { registry = "https://pypi.org/simple" } 209 | dependencies = [ 210 | { name = "coverage", extra = ["toml"] }, 211 | { name = "pluggy" }, 212 | { name = "pytest" }, 213 | ] 214 | sdist = { url = "https://files.pythonhosted.org/packages/5e/f7/c933acc76f5208b3b00089573cf6a2bc26dc80a8aece8f52bb7d6b1855ca/pytest_cov-7.0.0.tar.gz", hash = "sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1", size = 54328, upload-time = "2025-09-09T10:57:02.113Z" } 215 | wheels = [ 216 | { url = "https://files.pythonhosted.org/packages/ee/49/1377b49de7d0c1ce41292161ea0f721913fa8722c19fb9c1e3aa0367eecb/pytest_cov-7.0.0-py3-none-any.whl", hash = "sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861", size = 22424, upload-time = "2025-09-09T10:57:00.695Z" }, 217 | ] 218 | 219 | [[package]] 220 | name = "pytest-sugar" 221 | version = "1.1.1" 222 | source = { registry = "https://pypi.org/simple" } 223 | dependencies = [ 224 | { name = "pytest" }, 225 | { name = "termcolor" }, 226 | ] 227 | sdist = { url = "https://files.pythonhosted.org/packages/0b/4e/60fed105549297ba1a700e1ea7b828044842ea27d72c898990510b79b0e2/pytest-sugar-1.1.1.tar.gz", hash = "sha256:73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c08f65d", size = 16533, upload-time = "2025-08-23T12:19:35.737Z" } 228 | wheels = [ 229 | { url = "https://files.pythonhosted.org/packages/87/d5/81d38a91c1fdafb6711f053f5a9b92ff788013b19821257c2c38c1e132df/pytest_sugar-1.1.1-py3-none-any.whl", hash = "sha256:2f8319b907548d5b9d03a171515c1d43d2e38e32bd8182a1781eb20b43344cc8", size = 11440, upload-time = "2025-08-23T12:19:34.894Z" }, 230 | ] 231 | 232 | [[package]] 233 | name = "termcolor" 234 | version = "3.2.0" 235 | source = { registry = "https://pypi.org/simple" } 236 | sdist = { url = "https://files.pythonhosted.org/packages/87/56/ab275c2b56a5e2342568838f0d5e3e66a32354adcc159b495e374cda43f5/termcolor-3.2.0.tar.gz", hash = "sha256:610e6456feec42c4bcd28934a8c87a06c3fa28b01561d46aa09a9881b8622c58", size = 14423, upload-time = "2025-10-25T19:11:42.586Z" } 237 | wheels = [ 238 | { url = "https://files.pythonhosted.org/packages/f9/d5/141f53d7c1eb2a80e6d3e9a390228c3222c27705cbe7f048d3623053f3ca/termcolor-3.2.0-py3-none-any.whl", hash = "sha256:a10343879eba4da819353c55cb8049b0933890c2ebf9ad5d3ecd2bb32ea96ea6", size = 7698, upload-time = "2025-10-25T19:11:41.536Z" }, 239 | ] 240 | 241 | [[package]] 242 | name = "tomli" 243 | version = "2.3.0" 244 | source = { registry = "https://pypi.org/simple" } 245 | sdist = { url = "https://files.pythonhosted.org/packages/52/ed/3f73f72945444548f33eba9a87fc7a6e969915e7b1acc8260b30e1f76a2f/tomli-2.3.0.tar.gz", hash = "sha256:64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549", size = 17392, upload-time = "2025-10-08T22:01:47.119Z" } 246 | wheels = [ 247 | { url = "https://files.pythonhosted.org/packages/b3/2e/299f62b401438d5fe1624119c723f5d877acc86a4c2492da405626665f12/tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45", size = 153236, upload-time = "2025-10-08T22:01:00.137Z" }, 248 | { url = "https://files.pythonhosted.org/packages/86/7f/d8fffe6a7aefdb61bced88fcb5e280cfd71e08939da5894161bd71bea022/tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba", size = 148084, upload-time = "2025-10-08T22:01:01.63Z" }, 249 | { url = "https://files.pythonhosted.org/packages/47/5c/24935fb6a2ee63e86d80e4d3b58b222dafaf438c416752c8b58537c8b89a/tomli-2.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d1381caf13ab9f300e30dd8feadb3de072aeb86f1d34a8569453ff32a7dea4bf", size = 234832, upload-time = "2025-10-08T22:01:02.543Z" }, 250 | { url = "https://files.pythonhosted.org/packages/89/da/75dfd804fc11e6612846758a23f13271b76d577e299592b4371a4ca4cd09/tomli-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0e285d2649b78c0d9027570d4da3425bdb49830a6156121360b3f8511ea3441", size = 242052, upload-time = "2025-10-08T22:01:03.836Z" }, 251 | { url = "https://files.pythonhosted.org/packages/70/8c/f48ac899f7b3ca7eb13af73bacbc93aec37f9c954df3c08ad96991c8c373/tomli-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a154a9ae14bfcf5d8917a59b51ffd5a3ac1fd149b71b47a3a104ca4edcfa845", size = 239555, upload-time = "2025-10-08T22:01:04.834Z" }, 252 | { url = "https://files.pythonhosted.org/packages/ba/28/72f8afd73f1d0e7829bfc093f4cb98ce0a40ffc0cc997009ee1ed94ba705/tomli-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:74bf8464ff93e413514fefd2be591c3b0b23231a77f901db1eb30d6f712fc42c", size = 245128, upload-time = "2025-10-08T22:01:05.84Z" }, 253 | { url = "https://files.pythonhosted.org/packages/b6/eb/a7679c8ac85208706d27436e8d421dfa39d4c914dcf5fa8083a9305f58d9/tomli-2.3.0-cp311-cp311-win32.whl", hash = "sha256:00b5f5d95bbfc7d12f91ad8c593a1659b6387b43f054104cda404be6bda62456", size = 96445, upload-time = "2025-10-08T22:01:06.896Z" }, 254 | { url = "https://files.pythonhosted.org/packages/0a/fe/3d3420c4cb1ad9cb462fb52967080575f15898da97e21cb6f1361d505383/tomli-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:4dc4ce8483a5d429ab602f111a93a6ab1ed425eae3122032db7e9acf449451be", size = 107165, upload-time = "2025-10-08T22:01:08.107Z" }, 255 | { url = "https://files.pythonhosted.org/packages/ff/b7/40f36368fcabc518bb11c8f06379a0fd631985046c038aca08c6d6a43c6e/tomli-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d7d86942e56ded512a594786a5ba0a5e521d02529b3826e7761a05138341a2ac", size = 154891, upload-time = "2025-10-08T22:01:09.082Z" }, 256 | { url = "https://files.pythonhosted.org/packages/f9/3f/d9dd692199e3b3aab2e4e4dd948abd0f790d9ded8cd10cbaae276a898434/tomli-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:73ee0b47d4dad1c5e996e3cd33b8a76a50167ae5f96a2607cbe8cc773506ab22", size = 148796, upload-time = "2025-10-08T22:01:10.266Z" }, 257 | { url = "https://files.pythonhosted.org/packages/60/83/59bff4996c2cf9f9387a0f5a3394629c7efa5ef16142076a23a90f1955fa/tomli-2.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:792262b94d5d0a466afb5bc63c7daa9d75520110971ee269152083270998316f", size = 242121, upload-time = "2025-10-08T22:01:11.332Z" }, 258 | { url = "https://files.pythonhosted.org/packages/45/e5/7c5119ff39de8693d6baab6c0b6dcb556d192c165596e9fc231ea1052041/tomli-2.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f195fe57ecceac95a66a75ac24d9d5fbc98ef0962e09b2eddec5d39375aae52", size = 250070, upload-time = "2025-10-08T22:01:12.498Z" }, 259 | { url = "https://files.pythonhosted.org/packages/45/12/ad5126d3a278f27e6701abde51d342aa78d06e27ce2bb596a01f7709a5a2/tomli-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e31d432427dcbf4d86958c184b9bfd1e96b5b71f8eb17e6d02531f434fd335b8", size = 245859, upload-time = "2025-10-08T22:01:13.551Z" }, 260 | { url = "https://files.pythonhosted.org/packages/fb/a1/4d6865da6a71c603cfe6ad0e6556c73c76548557a8d658f9e3b142df245f/tomli-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b0882799624980785240ab732537fcfc372601015c00f7fc367c55308c186f6", size = 250296, upload-time = "2025-10-08T22:01:14.614Z" }, 261 | { url = "https://files.pythonhosted.org/packages/a0/b7/a7a7042715d55c9ba6e8b196d65d2cb662578b4d8cd17d882d45322b0d78/tomli-2.3.0-cp312-cp312-win32.whl", hash = "sha256:ff72b71b5d10d22ecb084d345fc26f42b5143c5533db5e2eaba7d2d335358876", size = 97124, upload-time = "2025-10-08T22:01:15.629Z" }, 262 | { url = "https://files.pythonhosted.org/packages/06/1e/f22f100db15a68b520664eb3328fb0ae4e90530887928558112c8d1f4515/tomli-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1cb4ed918939151a03f33d4242ccd0aa5f11b3547d0cf30f7c74a408a5b99878", size = 107698, upload-time = "2025-10-08T22:01:16.51Z" }, 263 | { url = "https://files.pythonhosted.org/packages/89/48/06ee6eabe4fdd9ecd48bf488f4ac783844fd777f547b8d1b61c11939974e/tomli-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5192f562738228945d7b13d4930baffda67b69425a7f0da96d360b0a3888136b", size = 154819, upload-time = "2025-10-08T22:01:17.964Z" }, 264 | { url = "https://files.pythonhosted.org/packages/f1/01/88793757d54d8937015c75dcdfb673c65471945f6be98e6a0410fba167ed/tomli-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be71c93a63d738597996be9528f4abe628d1adf5e6eb11607bc8fe1a510b5dae", size = 148766, upload-time = "2025-10-08T22:01:18.959Z" }, 265 | { url = "https://files.pythonhosted.org/packages/42/17/5e2c956f0144b812e7e107f94f1cc54af734eb17b5191c0bbfb72de5e93e/tomli-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4665508bcbac83a31ff8ab08f424b665200c0e1e645d2bd9ab3d3e557b6185b", size = 240771, upload-time = "2025-10-08T22:01:20.106Z" }, 266 | { url = "https://files.pythonhosted.org/packages/d5/f4/0fbd014909748706c01d16824eadb0307115f9562a15cbb012cd9b3512c5/tomli-2.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4021923f97266babc6ccab9f5068642a0095faa0a51a246a6a02fccbb3514eaf", size = 248586, upload-time = "2025-10-08T22:01:21.164Z" }, 267 | { url = "https://files.pythonhosted.org/packages/30/77/fed85e114bde5e81ecf9bc5da0cc69f2914b38f4708c80ae67d0c10180c5/tomli-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4ea38c40145a357d513bffad0ed869f13c1773716cf71ccaa83b0fa0cc4e42f", size = 244792, upload-time = "2025-10-08T22:01:22.417Z" }, 268 | { url = "https://files.pythonhosted.org/packages/55/92/afed3d497f7c186dc71e6ee6d4fcb0acfa5f7d0a1a2878f8beae379ae0cc/tomli-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad805ea85eda330dbad64c7ea7a4556259665bdf9d2672f5dccc740eb9d3ca05", size = 248909, upload-time = "2025-10-08T22:01:23.859Z" }, 269 | { url = "https://files.pythonhosted.org/packages/f8/84/ef50c51b5a9472e7265ce1ffc7f24cd4023d289e109f669bdb1553f6a7c2/tomli-2.3.0-cp313-cp313-win32.whl", hash = "sha256:97d5eec30149fd3294270e889b4234023f2c69747e555a27bd708828353ab606", size = 96946, upload-time = "2025-10-08T22:01:24.893Z" }, 270 | { url = "https://files.pythonhosted.org/packages/b2/b7/718cd1da0884f281f95ccfa3a6cc572d30053cba64603f79d431d3c9b61b/tomli-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0c95ca56fbe89e065c6ead5b593ee64b84a26fca063b5d71a1122bf26e533999", size = 107705, upload-time = "2025-10-08T22:01:26.153Z" }, 271 | { url = "https://files.pythonhosted.org/packages/19/94/aeafa14a52e16163008060506fcb6aa1949d13548d13752171a755c65611/tomli-2.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cebc6fe843e0733ee827a282aca4999b596241195f43b4cc371d64fc6639da9e", size = 154244, upload-time = "2025-10-08T22:01:27.06Z" }, 272 | { url = "https://files.pythonhosted.org/packages/db/e4/1e58409aa78eefa47ccd19779fc6f36787edbe7d4cd330eeeedb33a4515b/tomli-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4c2ef0244c75aba9355561272009d934953817c49f47d768070c3c94355c2aa3", size = 148637, upload-time = "2025-10-08T22:01:28.059Z" }, 273 | { url = "https://files.pythonhosted.org/packages/26/b6/d1eccb62f665e44359226811064596dd6a366ea1f985839c566cd61525ae/tomli-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c22a8bf253bacc0cf11f35ad9808b6cb75ada2631c2d97c971122583b129afbc", size = 241925, upload-time = "2025-10-08T22:01:29.066Z" }, 274 | { url = "https://files.pythonhosted.org/packages/70/91/7cdab9a03e6d3d2bb11beae108da5bdc1c34bdeb06e21163482544ddcc90/tomli-2.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0eea8cc5c5e9f89c9b90c4896a8deefc74f518db5927d0e0e8d4a80953d774d0", size = 249045, upload-time = "2025-10-08T22:01:31.98Z" }, 275 | { url = "https://files.pythonhosted.org/packages/15/1b/8c26874ed1f6e4f1fcfeb868db8a794cbe9f227299402db58cfcc858766c/tomli-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b74a0e59ec5d15127acdabd75ea17726ac4c5178ae51b85bfe39c4f8a278e879", size = 245835, upload-time = "2025-10-08T22:01:32.989Z" }, 276 | { url = "https://files.pythonhosted.org/packages/fd/42/8e3c6a9a4b1a1360c1a2a39f0b972cef2cc9ebd56025168c4137192a9321/tomli-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5870b50c9db823c595983571d1296a6ff3e1b88f734a4c8f6fc6188397de005", size = 253109, upload-time = "2025-10-08T22:01:34.052Z" }, 277 | { url = "https://files.pythonhosted.org/packages/22/0c/b4da635000a71b5f80130937eeac12e686eefb376b8dee113b4a582bba42/tomli-2.3.0-cp314-cp314-win32.whl", hash = "sha256:feb0dacc61170ed7ab602d3d972a58f14ee3ee60494292d384649a3dc38ef463", size = 97930, upload-time = "2025-10-08T22:01:35.082Z" }, 278 | { url = "https://files.pythonhosted.org/packages/b9/74/cb1abc870a418ae99cd5c9547d6bce30701a954e0e721821df483ef7223c/tomli-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:b273fcbd7fc64dc3600c098e39136522650c49bca95df2d11cf3b626422392c8", size = 107964, upload-time = "2025-10-08T22:01:36.057Z" }, 279 | { url = "https://files.pythonhosted.org/packages/54/78/5c46fff6432a712af9f792944f4fcd7067d8823157949f4e40c56b8b3c83/tomli-2.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:940d56ee0410fa17ee1f12b817b37a4d4e4dc4d27340863cc67236c74f582e77", size = 163065, upload-time = "2025-10-08T22:01:37.27Z" }, 280 | { url = "https://files.pythonhosted.org/packages/39/67/f85d9bd23182f45eca8939cd2bc7050e1f90c41f4a2ecbbd5963a1d1c486/tomli-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f85209946d1fe94416debbb88d00eb92ce9cd5266775424ff81bc959e001acaf", size = 159088, upload-time = "2025-10-08T22:01:38.235Z" }, 281 | { url = "https://files.pythonhosted.org/packages/26/5a/4b546a0405b9cc0659b399f12b6adb750757baf04250b148d3c5059fc4eb/tomli-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a56212bdcce682e56b0aaf79e869ba5d15a6163f88d5451cbde388d48b13f530", size = 268193, upload-time = "2025-10-08T22:01:39.712Z" }, 282 | { url = "https://files.pythonhosted.org/packages/42/4f/2c12a72ae22cf7b59a7fe75b3465b7aba40ea9145d026ba41cb382075b0e/tomli-2.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5f3ffd1e098dfc032d4d3af5c0ac64f6d286d98bc148698356847b80fa4de1b", size = 275488, upload-time = "2025-10-08T22:01:40.773Z" }, 283 | { url = "https://files.pythonhosted.org/packages/92/04/a038d65dbe160c3aa5a624e93ad98111090f6804027d474ba9c37c8ae186/tomli-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e01decd096b1530d97d5d85cb4dff4af2d8347bd35686654a004f8dea20fc67", size = 272669, upload-time = "2025-10-08T22:01:41.824Z" }, 284 | { url = "https://files.pythonhosted.org/packages/be/2f/8b7c60a9d1612a7cbc39ffcca4f21a73bf368a80fc25bccf8253e2563267/tomli-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8a35dd0e643bb2610f156cca8db95d213a90015c11fee76c946aa62b7ae7e02f", size = 279709, upload-time = "2025-10-08T22:01:43.177Z" }, 285 | { url = "https://files.pythonhosted.org/packages/7e/46/cc36c679f09f27ded940281c38607716c86cf8ba4a518d524e349c8b4874/tomli-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:a1f7f282fe248311650081faafa5f4732bdbfef5d45fe3f2e702fbc6f2d496e0", size = 107563, upload-time = "2025-10-08T22:01:44.233Z" }, 286 | { url = "https://files.pythonhosted.org/packages/84/ff/426ca8683cf7b753614480484f6437f568fd2fda2edbdf57a2d3d8b27a0b/tomli-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:70a251f8d4ba2d9ac2542eecf008b3c8a9fc5c3f9f02c56a9d7952612be2fdba", size = 119756, upload-time = "2025-10-08T22:01:45.234Z" }, 287 | { url = "https://files.pythonhosted.org/packages/77/b8/0135fadc89e73be292b473cb820b4f5a08197779206b33191e801feeae40/tomli-2.3.0-py3-none-any.whl", hash = "sha256:e95b1af3c5b07d9e643909b5abbec77cd9f1217e6d0bca72b0234736b9fb1f1b", size = 14408, upload-time = "2025-10-08T22:01:46.04Z" }, 288 | ] 289 | 290 | [[package]] 291 | name = "typing-extensions" 292 | version = "4.15.0" 293 | source = { registry = "https://pypi.org/simple" } 294 | sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } 295 | wheels = [ 296 | { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, 297 | ] 298 | --------------------------------------------------------------------------------