opticedge-types 1.0.4__tar.gz → 1.0.15__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
  Metadata-Version: 2.4
2
2
  Name: opticedge_types
3
- Version: 1.0.4
3
+ Version: 1.0.15
4
4
  Summary: Common types for opticedge
5
5
  Author-email: velopace <velopace7@gmail.com>
6
6
  License: MIT
@@ -0,0 +1,62 @@
1
+ from enum import IntEnum, Enum
2
+
3
+ class ApprovalStatus(IntEnum):
4
+ RESCAN = -2
5
+ PENDING = -1
6
+ FAILED = 0
7
+ APPROVED = 1
8
+ PENDING_X = 3
9
+ APPROVING = 999
10
+
11
+
12
+ class RejectType(Enum):
13
+ INVALID_CARD = "Invalid card"
14
+ FAKE_HIGHRISK = "Fake - High Risk"
15
+ REPEAT = "Repeat"
16
+ MODEL_FAILURE = "Model failure"
17
+
18
+
19
+ class RescanType(Enum):
20
+ ENVIRONMENT_LIGHTING = "Environment - Lighting",
21
+ ENVIRONMENT_ARTEFACTS = "Environment - Artefacts",
22
+ CARD_IN_SLAB_SLEEVE = "Card in Slab/Sleeve",
23
+ CARD_OBSTRUCTION = "Card - Obstruction",
24
+ CARD_ARTIFACTS = "CARD-ARTIFACTS",
25
+ SCAN_PROCESS_FAILURE = "Scan Process Failure"
26
+
27
+
28
+ class GradingType(IntEnum):
29
+ COLLECTION_2024 = 0
30
+ COLLECTION = 1
31
+ ADDED = 2
32
+ SOLD = 3
33
+ INSTANT = 4
34
+ CARD_CENTERING = 6
35
+
36
+
37
+ class InstantGradeType(IntEnum):
38
+ OVERALL = 0
39
+ SUBGRADES = 1
40
+ OVERALL_TO_SUBGRADES = 2
41
+
42
+
43
+ class GradingField(Enum):
44
+ GRADING = "grading"
45
+ CENTER = "centering_grading"
46
+ SURFACE = "surface_grading"
47
+ EDGE = "edge_grading"
48
+ CORNER = "corner_grading"
49
+ ENVIRONMENT = "grading_environment"
50
+ CONFIDENCE = "grading_confidence"
51
+ STRUCTURE = "card_structure"
52
+
53
+
54
+ class CardType(Enum):
55
+ POKEMON = "pokemon"
56
+ LORCANA = "lorcana"
57
+ MAGIC = "magic"
58
+ YUGIOH = "yugioh"
59
+ VIDEO_GAMES = "video_games"
60
+ DIGIMON = "digimon"
61
+ DRAGON_BALL = "dragon_ball"
62
+ ONE_PIECE = "one_piece"
@@ -1,6 +1,6 @@
1
- from enum import Enum
1
+ from enum import IntEnum
2
2
 
3
- class CollectorType(Enum):
3
+ class CollectorType(IntEnum):
4
4
  NON_MEMBER = -1
5
5
  ELITE = 0
6
6
  ROOKIE = 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opticedge_types
3
- Version: 1.0.4
3
+ Version: 1.0.15
4
4
  Summary: Common types for opticedge
5
5
  Author-email: velopace <velopace7@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "opticedge_types"
7
- version = "1.0.4"
7
+ version = "1.0.15"
8
8
  description = "Common types for opticedge"
9
9
  readme = "README.md"
10
10
  dependencies = []
@@ -1,27 +0,0 @@
1
- from enum import IntEnum, Enum
2
-
3
- class ApprovalStatus(IntEnum):
4
- RESCAN = -2
5
- PENDING = -1
6
- FAILED = 0
7
- APPROVED = 1
8
- APPROVING = 999
9
-
10
-
11
- class GradingField(Enum):
12
- GRADING = "grading"
13
- CENTER = "centering_grading"
14
- SURFACE = "surface_grading"
15
- EDGE = "edge_grading"
16
- CORNER = "corner_grading"
17
- ENVIRONMENT = "grading_environment"
18
- CONFIDENCE = "grading_confidence"
19
- STRUCTURE = "card_structure"
20
-
21
-
22
- class CardType(Enum):
23
- POKEMON = "pokemon",
24
- LORCANA = "lorcana",
25
- MAGIC = "magic",
26
- YUGIOH = "yugioh",
27
- VIDEO_GAMES = "video_games"