githubtakeout 0.1.19__tar.gz → 0.1.20__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2025 Corey Goldberg
3
+ Copyright (c) 2015-2026 Corey Goldberg
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: githubtakeout
3
- Version: 0.1.19
3
+ Version: 0.1.20
4
4
  Summary: Backup and archive Git Repos and Gists from GitHub
5
5
  Author: Corey Goldberg
6
6
  Maintainer: Corey Goldberg
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.14
19
19
  Requires-Python: >=3.12
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: GitPython==3.1.45
22
+ Requires-Dist: GitPython==3.1.46
23
23
  Requires-Dist: PyGithub==2.8.1
24
24
  Requires-Dist: python-dotenv==1.2.1
25
25
  Requires-Dist: rich==14.2.0
@@ -33,7 +33,7 @@ Dynamic: license-file
33
33
 
34
34
  [![Supported Python Versions](https://img.shields.io/pypi/pyversions/githubtakeout)](https://pypi.org/project/githubtakeout)
35
35
 
36
- - Copyright (c) 2015-2025 [Corey Goldberg][github-home]
36
+ - Copyright (c) 2015-2026 [Corey Goldberg][github-home]
37
37
  - Development: [GitHub][github-repo]
38
38
  - Download/Install: [PyPI][pypi-githubtakeout]
39
39
  - License: [MIT][mit-license]
@@ -6,7 +6,7 @@
6
6
 
7
7
  [![Supported Python Versions](https://img.shields.io/pypi/pyversions/githubtakeout)](https://pypi.org/project/githubtakeout)
8
8
 
9
- - Copyright (c) 2015-2025 [Corey Goldberg][github-home]
9
+ - Copyright (c) 2015-2026 [Corey Goldberg][github-home]
10
10
  - Development: [GitHub][github-repo]
11
11
  - Download/Install: [PyPI][pypi-githubtakeout]
12
12
  - License: [MIT][mit-license]
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "githubtakeout"
7
- version = "0.1.19"
7
+ version = "0.1.20"
8
8
  description = "Backup and archive Git Repos and Gists from GitHub"
9
9
  license = "MIT"
10
10
  license-files = ["LICENSE"]
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.14",
24
24
  ]
25
25
  dependencies = [
26
- "GitPython==3.1.45",
26
+ "GitPython==3.1.46",
27
27
  "PyGithub==2.8.1",
28
28
  "python-dotenv==1.2.1",
29
29
  "rich==14.2.0",
@@ -90,4 +90,3 @@ docstring-code-line-length = 88
90
90
  [tool.refurb]
91
91
  python_version = "3.12"
92
92
  enable_all = true
93
- disable = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: githubtakeout
3
- Version: 0.1.19
3
+ Version: 0.1.20
4
4
  Summary: Backup and archive Git Repos and Gists from GitHub
5
5
  Author: Corey Goldberg
6
6
  Maintainer: Corey Goldberg
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.14
19
19
  Requires-Python: >=3.12
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: GitPython==3.1.45
22
+ Requires-Dist: GitPython==3.1.46
23
23
  Requires-Dist: PyGithub==2.8.1
24
24
  Requires-Dist: python-dotenv==1.2.1
25
25
  Requires-Dist: rich==14.2.0
@@ -33,7 +33,7 @@ Dynamic: license-file
33
33
 
34
34
  [![Supported Python Versions](https://img.shields.io/pypi/pyversions/githubtakeout)](https://pypi.org/project/githubtakeout)
35
35
 
36
- - Copyright (c) 2015-2025 [Corey Goldberg][github-home]
36
+ - Copyright (c) 2015-2026 [Corey Goldberg][github-home]
37
37
  - Development: [GitHub][github-repo]
38
38
  - Download/Install: [PyPI][pypi-githubtakeout]
39
39
  - License: [MIT][mit-license]
@@ -1,4 +1,4 @@
1
- GitPython==3.1.45
1
+ GitPython==3.1.46
2
2
  PyGithub==2.8.1
3
3
  python-dotenv==1.2.1
4
4
  rich==14.2.0
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2015-2025 Corey Goldberg
1
+ # Copyright (c) 2015-2026 Corey Goldberg
2
2
  # License: MIT
3
3
 
4
4
  """Backup and archive Git Repos and Gists from GitHub."""
@@ -57,7 +57,7 @@ def archive(local_repo_dir, archive_format="zip", archive_basename=None):
57
57
  raise ValueError(f"{archive_format} is not a valid archive format")
58
58
  if archive_format == "none":
59
59
  return None
60
- basename = local_repo_dir.stem
60
+ basename = local_repo_dir.name
61
61
  extension = "tar.gz" if archive_format == "tar" else archive_format
62
62
  if archive_basename is None:
63
63
  archive_name = f"{basename}.{extension}"
@@ -175,7 +175,7 @@ def get_and_archive_repo(
175
175
  shutil.rmtree(local_repo_dir, onexc=remove_readonly)
176
176
  elapsed = default_timer() - start
177
177
  logger.info(
178
- f"successfully backed up '{local_repo_dir.stem}' repo in {elapsed:.3f} secs\n"
178
+ f"successfully backed up '{local_repo_dir.name}' repo in {elapsed:.3f} secs\n"
179
179
  )
180
180
 
181
181
 
@@ -1,6 +1,5 @@
1
- # Copyright (c) 2025 Corey Goldberg
1
+ # Copyright (c) 2015-2026 Corey Goldberg
2
2
  # License: MIT
3
- # adapted from: https://stackoverflow.com/a/71285627/16148
4
3
 
5
4
  """Progress bar for cloning Git repos."""
6
5
 
@@ -1,3 +1,8 @@
1
+ # Copyright (c) 2015-2026 Corey Goldberg
2
+ # License: MIT
3
+
4
+ """Tests for githubtakeout."""
5
+
1
6
  import os
2
7
  import re
3
8
  from pathlib import Path
File without changes