libefiling 0.2.0__tar.gz → 0.2.1__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.
Files changed (30) hide show
  1. {libefiling-0.2.0 → libefiling-0.2.1}/PKG-INFO +1 -1
  2. {libefiling-0.2.0 → libefiling-0.2.1}/pyproject.toml +1 -1
  3. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/manifest.py +2 -2
  4. {libefiling-0.2.0 → libefiling-0.2.1}/.gitignore +0 -0
  5. {libefiling-0.2.0 → libefiling-0.2.1}/LICENSE +0 -0
  6. {libefiling-0.2.0 → libefiling-0.2.1}/README.md +0 -0
  7. {libefiling-0.2.0 → libefiling-0.2.1}/docs/README.md +0 -0
  8. {libefiling-0.2.0 → libefiling-0.2.1}/docs/archive_structure_notes.md +0 -0
  9. {libefiling-0.2.0 → libefiling-0.2.1}/docs/file-1.png +0 -0
  10. {libefiling-0.2.0 → libefiling-0.2.1}/docs/file-2.png +0 -0
  11. {libefiling-0.2.0 → libefiling-0.2.1}/docs/file-3.png +0 -0
  12. {libefiling-0.2.0 → libefiling-0.2.1}/docs/manifest.md +0 -0
  13. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/__init__.py +0 -0
  14. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/__init__.py +0 -0
  15. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/aaa.py +0 -0
  16. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/extract.py +0 -0
  17. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/handler.py +0 -0
  18. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/nnf.py +0 -0
  19. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/archive/utils.py +0 -0
  20. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/charset.py +0 -0
  21. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/cli.py +0 -0
  22. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/default_config.py +0 -0
  23. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/__init__.py +0 -0
  24. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/convert.py +0 -0
  25. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/kind.py +0 -0
  26. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/mediatype.py +0 -0
  27. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/ocr.py +0 -0
  28. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/image/params.py +0 -0
  29. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/parse.py +0 -0
  30. {libefiling-0.2.0 → libefiling-0.2.1}/src/libefiling/xml/kind.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libefiling
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A Python library for e-filing systems.
5
5
  Project-URL: Homepage, https://github.com/hyperion13th144m/libefiling
6
6
  Project-URL: Repository, https://github.com/hyperion13th144m/libefiling
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "libefiling"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "A Python library for e-filing systems."
5
5
  authors = [{ name = "hyperion13th144m", email = "hyperion13th144m@gmail.com" }]
6
6
  requires-python = ">=3.12"
@@ -81,10 +81,10 @@ class Sources(BaseModel):
81
81
  xml_path (str): XML file path to save
82
82
  """
83
83
  root = ET.Element("sources", attrib={"document-code": self.document_code})
84
- for source in [self.archive, self.procedure]:
84
+ for i, source in enumerate([self.archive, self.procedure]):
85
85
  ET.SubElement(
86
86
  root,
87
- "source",
87
+ "archive" if i == 0 else "procedure",
88
88
  attrib={
89
89
  "filename": source.filename,
90
90
  "sha256": source.sha256,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes