dissect.fat 3.9.dev4__tar.gz → 3.10.dev1__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 (31) hide show
  1. {dissect.fat-3.9.dev4/dissect.fat.egg-info → dissect_fat-3.10.dev1}/PKG-INFO +6 -3
  2. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/c_exfat.py +3 -4
  3. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/c_fat.py +3 -4
  4. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1/dissect.fat.egg-info}/PKG-INFO +6 -3
  5. dissect_fat-3.10.dev1/dissect.fat.egg-info/requires.txt +6 -0
  6. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/pyproject.toml +8 -2
  7. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tox.ini +1 -0
  8. dissect.fat-3.9.dev4/dissect.fat.egg-info/requires.txt +0 -2
  9. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/COPYRIGHT +0 -0
  10. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/LICENSE +0 -0
  11. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/MANIFEST.in +0 -0
  12. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/README.md +0 -0
  13. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/__init__.py +0 -0
  14. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/exceptions.py +0 -0
  15. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/exfat.py +0 -0
  16. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect/fat/fat.py +0 -0
  17. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/SOURCES.txt +0 -0
  18. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/dependency_links.txt +0 -0
  19. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/top_level.txt +0 -0
  20. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/setup.cfg +0 -0
  21. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/__init__.py +0 -0
  22. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/conftest.py +0 -0
  23. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/data/exfat.bin +0 -0
  24. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/data/fat12.bin +0 -0
  25. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/data/fat16.bin +0 -0
  26. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/data/fat32.bin +0 -0
  27. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/docs/Makefile +0 -0
  28. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/docs/conf.py +0 -0
  29. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/docs/index.rst +0 -0
  30. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/test_exfat.py +0 -0
  31. {dissect.fat-3.9.dev4 → dissect_fat-3.10.dev1}/tests/test_fat.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.fat
3
- Version: 3.9.dev4
3
+ Version: 3.10.dev1
4
4
  Summary: A Dissect module implementing parsers for the FAT and exFAT file systems, commonly used on flash memory based storage devices and UEFI partitions
5
5
  Author-email: Dissect Team <dissect@fox-it.com>
6
6
  License: Affero General Public License v3
@@ -22,8 +22,11 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: COPYRIGHT
25
- Requires-Dist: dissect.cstruct<4.0.dev,>=3.0.dev
26
- Requires-Dist: dissect.util<4.0.dev,>=3.0.dev
25
+ Requires-Dist: dissect.cstruct<5,>=4.dev
26
+ Requires-Dist: dissect.util<4,>=3
27
+ Provides-Extra: dev
28
+ Requires-Dist: dissect.cstruct<5.0.dev,>=4.0.dev; extra == "dev"
29
+ Requires-Dist: dissect.util<4.0.dev,>=3.0.dev; extra == "dev"
27
30
 
28
31
  # dissect.fat
29
32
 
@@ -1,6 +1,6 @@
1
- from dissect import cstruct
1
+ from dissect.cstruct import cstruct
2
2
 
3
- c_exfat_def = """
3
+ exfat_def = """
4
4
  enum entry_types : uint8 {
5
5
  allocation_bitmap = 0x81,
6
6
  upcase_table = 0x82,
@@ -139,8 +139,7 @@ typedef struct UPCASE_DIRECTORY_ENTRY {
139
139
  """
140
140
 
141
141
  # default endianess is LE so we keep it that way.
142
- c_exfat = cstruct.cstruct()
143
- c_exfat.load(c_exfat_def)
142
+ c_exfat = cstruct().load(exfat_def)
144
143
 
145
144
  EOC = 0xFFFFFFFF # indicates end of cluster chain
146
145
  FID = 0xFFFFFFF8 # indicates start of FAT
@@ -1,7 +1,7 @@
1
- from dissect import cstruct
1
+ from dissect.cstruct import cstruct
2
2
 
3
3
  # https://ogris.de/fatrepair/fat.c
4
- c_fat_def = """
4
+ fat_def = """
5
5
  #define ATTR_READ_ONLY 0x01
6
6
  #define ATTR_HIDDEN 0x02
7
7
  #define ATTR_SYSTEM 0x04
@@ -90,8 +90,7 @@ struct Ldirent {
90
90
  };
91
91
  """ # noqa: E501
92
92
 
93
- c_fat = cstruct.cstruct()
94
- c_fat.load(c_fat_def)
93
+ c_fat = cstruct().load(fat_def)
95
94
 
96
95
  Fattype = c_fat.Fattype
97
96
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.fat
3
- Version: 3.9.dev4
3
+ Version: 3.10.dev1
4
4
  Summary: A Dissect module implementing parsers for the FAT and exFAT file systems, commonly used on flash memory based storage devices and UEFI partitions
5
5
  Author-email: Dissect Team <dissect@fox-it.com>
6
6
  License: Affero General Public License v3
@@ -22,8 +22,11 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: COPYRIGHT
25
- Requires-Dist: dissect.cstruct<4.0.dev,>=3.0.dev
26
- Requires-Dist: dissect.util<4.0.dev,>=3.0.dev
25
+ Requires-Dist: dissect.cstruct<5,>=4.dev
26
+ Requires-Dist: dissect.util<4,>=3
27
+ Provides-Extra: dev
28
+ Requires-Dist: dissect.cstruct<5.0.dev,>=4.0.dev; extra == "dev"
29
+ Requires-Dist: dissect.util<4.0.dev,>=3.0.dev; extra == "dev"
27
30
 
28
31
  # dissect.fat
29
32
 
@@ -0,0 +1,6 @@
1
+ dissect.cstruct<5,>=4.dev
2
+ dissect.util<4,>=3
3
+
4
+ [dev]
5
+ dissect.cstruct<5.0.dev,>=4.0.dev
6
+ dissect.util<4.0.dev,>=3.0.dev
@@ -25,8 +25,8 @@ classifiers = [
25
25
  "Topic :: Utilities",
26
26
  ]
27
27
  dependencies = [
28
- "dissect.cstruct>=3.0.dev,<4.0.dev",
29
- "dissect.util>=3.0.dev,<4.0.dev",
28
+ "dissect.cstruct>=4.dev,<5",
29
+ "dissect.util>=3,<4",
30
30
  ]
31
31
  dynamic = ["version"]
32
32
 
@@ -35,6 +35,12 @@ homepage = "https://dissect.tools"
35
35
  documentation = "https://docs.dissect.tools/en/latest/projects/dissect.fat"
36
36
  repository = "https://github.com/fox-it/dissect.fat"
37
37
 
38
+ [project.optional-dependencies]
39
+ dev = [
40
+ "dissect.cstruct>=4.0.dev,<5.0.dev",
41
+ "dissect.util>=3.0.dev,<4.0.dev",
42
+ ]
43
+
38
44
  [tool.black]
39
45
  line-length = 120
40
46
 
@@ -11,6 +11,7 @@ minversion = 4.4.3
11
11
  requires = virtualenv>=20.16.6
12
12
 
13
13
  [testenv]
14
+ extras = dev
14
15
  deps =
15
16
  pytest
16
17
  pytest-cov
@@ -1,2 +0,0 @@
1
- dissect.cstruct<4.0.dev,>=3.0.dev
2
- dissect.util<4.0.dev,>=3.0.dev
File without changes