pythonimporttree 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl

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,9 +1,16 @@
1
+ from pathlib import Path
1
2
  import requests
2
3
  import libcst as cst
3
4
  from libcst.helpers import get_full_name_for_node
4
5
  import os
5
6
 
6
7
 
8
+ def python_files(directory: Path) -> list[Path]:
9
+ """Bekijk uitsluitend de gekozen map; negeer gegenereerde kopieën."""
10
+ return sorted(p for p in directory.glob("*.py")
11
+ if not p.name.endswith(".metdocstring.py"))
12
+
13
+
7
14
  def build_import_tree(directory: Path, entry: str = "main.py") -> dict:
8
15
  """Bouw een boom van lokale imports met entry als wortel.
9
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pythonimporttree
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: Add your description here
5
5
  Author: Vincent Nys
6
6
  Author-email: Vincent Nys <vincentnys@gmail.com>
@@ -0,0 +1,5 @@
1
+ pythonimporttree/__init__.py,sha256=tM1ok5T-yFcBFV6F0sLggHhrK1Z71gqi87aH8mXxYTs,2552
2
+ pythonimporttree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pythonimporttree-0.3.0.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
4
+ pythonimporttree-0.3.0.dist-info/METADATA,sha256=BO47piaffHl87VokbTrw4WQvHSZWy00fvBufUDXMTGY,290
5
+ pythonimporttree-0.3.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- pythonimporttree/__init__.py,sha256=h7B9nWA3XHT3KvInUGsnqoFh8Ocy-78DY2z2_7e4yWI,2287
2
- pythonimporttree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pythonimporttree-0.2.0.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
4
- pythonimporttree-0.2.0.dist-info/METADATA,sha256=_UuLzSjYIKrN5IQQM8p03D12meAgeEwGKYAu6QRdTYM,290
5
- pythonimporttree-0.2.0.dist-info/RECORD,,