MouseTools 2.1.0b1__tar.gz → 2.1.2__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 (28) hide show
  1. mousetools-2.1.2/LICENSE +21 -0
  2. mousetools-2.1.2/PKG-INFO +101 -0
  3. {MouseTools-2.1.0b1 → mousetools-2.1.2}/README.md +24 -24
  4. mousetools-2.1.2/pyproject.toml +75 -0
  5. {MouseTools-2.1.0b1 → mousetools-2.1.2}/setup.cfg +4 -4
  6. mousetools-2.1.2/src/MouseTools.egg-info/PKG-INFO +101 -0
  7. mousetools-2.1.2/src/MouseTools.egg-info/SOURCES.txt +19 -0
  8. {MouseTools-2.1.0b1 → mousetools-2.1.2/src}/MouseTools.egg-info/requires.txt +1 -0
  9. mousetools-2.1.2/src/MouseTools.egg-info/top_level.txt +1 -0
  10. mousetools-2.1.2/src/mousetools/__init__.py +27 -0
  11. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/attractions.py +370 -356
  12. mousetools-2.1.2/src/mousetools/auth.py +42 -0
  13. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/characters.py +241 -232
  14. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/destinations.py +400 -373
  15. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/entertainments.py +470 -456
  16. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/entertainmentvenues.py +264 -254
  17. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/facilities.py +248 -238
  18. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/ids.py +44 -44
  19. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/parks.py +446 -415
  20. {MouseTools-2.1.0b1/MouseTools → mousetools-2.1.2/src/mousetools}/pointsofinterest.py +186 -183
  21. MouseTools-2.1.0b1/MouseTools/__init__.py +0 -16
  22. MouseTools-2.1.0b1/MouseTools/auth.py +0 -30
  23. MouseTools-2.1.0b1/MouseTools.egg-info/PKG-INFO +0 -101
  24. MouseTools-2.1.0b1/MouseTools.egg-info/SOURCES.txt +0 -18
  25. MouseTools-2.1.0b1/MouseTools.egg-info/top_level.txt +0 -1
  26. MouseTools-2.1.0b1/PKG-INFO +0 -101
  27. MouseTools-2.1.0b1/setup.py +0 -25
  28. {MouseTools-2.1.0b1 → mousetools-2.1.2/src}/MouseTools.egg-info/dependency_links.txt +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Scott Caratozzolo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.1
2
+ Name: MouseTools
3
+ Version: 2.1.2
4
+ Summary: A Python wrapper for the Disney API
5
+ Author: Scott Caratozzolo
6
+ Project-URL: repository, https://gitlab.com/caratozzoloxyz/public/MouseTools
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: requests
13
+ Requires-Dist: pytz
14
+
15
+ # MouseTools
16
+ [![PyPI version](https://badge.fury.io/py/MouseTools.svg)](https://badge.fury.io/py/MouseTools) [![Downloads](https://pepy.tech/badge/mousetools)](https://pepy.tech/project/mousetools)
17
+
18
+
19
+ A Python wrapper for the Disney API. Data is pulled directly from Disney. This package supports Walt Disney World and Disneyland.
20
+
21
+
22
+ ### Installation
23
+ You can install using pip:
24
+ ```bash
25
+ pip install MouseTools
26
+ ```
27
+ You can also install directly from this repo in case of any changes not uploaded to Pypi.
28
+ ```bash
29
+ pip install git+https://github.com/scaratozzolo/MouseTools
30
+ ```
31
+
32
+
33
+ ### Example usage:
34
+ ```python
35
+ import mousetools
36
+
37
+ wdw_dest = mousetools.Destination(80007798)
38
+ print(wdw_dest.get_park_ids())
39
+
40
+ dlr_dest = mousetools.Destination(80008297)
41
+ print(dlr_dest.get_attraction_ids())
42
+
43
+ mk = mousetools.Park(80007944)
44
+ print(mk.get_wait_times())
45
+
46
+ pirates = mousetools.Attraction(80010177)
47
+ print(pirates.get_wait_time())
48
+
49
+
50
+ # You don't have to know any ids to get started.
51
+ mousetools.ids.WDW_ID # Walt Disney World Resort
52
+ mousetools.ids.DLR_ID # Disneyland Resort
53
+
54
+ # Single park ids
55
+ mousetools.ids.MK_ID # Magic Kingdom
56
+ mousetools.ids.EPCOT_ID # EPCOT
57
+ mousetools.ids.HS_ID # Hollywood Studios
58
+ mousetools.ids.AK_ID # Animal Kingdom
59
+ mousetools.ids.TL_ID # Typhoon Lagoon
60
+ mousetools.ids.BB_ID # Blizzard Beach
61
+ mousetools.ids.DLP_ID # Disneyland Park
62
+ mousetools.ids.CA_ID # California Adventure
63
+
64
+ # List of ids
65
+ # Parks
66
+ mousetools.ids.WDW_PARK_IDS
67
+ mousetools.ids.DLR_PARK_IDS
68
+
69
+ # Entertainment Venues
70
+ mousetools.ids.WDW_EV_IDS
71
+ mousetools.ids.DLR_EV_IDS
72
+
73
+ # Attractions
74
+ mousetools.ids.WDW_ATTRACTION_IDS
75
+ mousetools.ids.DLR_ATTRACTION_IDS
76
+
77
+ # Entertainments
78
+ mousetools.ids.WDW_ENTERTAINMENT_IDS
79
+ mousetools.ids.DLR_ENTERTAINMENT_IDS
80
+
81
+ ```
82
+
83
+ For more documentation go to the [wiki](https://github.com/scaratozzolo/MouseTools/wiki) or run the following command from a termainal:
84
+ ```Bash
85
+ python -m pydoc mousetools
86
+ ```
87
+
88
+
89
+ I created this project to help with another project found [here](https://github.com/scaratozzolo/WDWWaits). Some parts of the wrapper were created with that in mind.
90
+
91
+ If you notice any issues please open a new issue with a "bug" label. Furthermore, if you have any feature requests, open a new issue with a "feature request" label.
92
+
93
+ This package uses the [ThemeParks.wiki API](https://api.themeparks.wiki/).
94
+
95
+ ### License
96
+ This project is distributed under the MIT license. For more information see [LICENSE](https://github.com/scaratozzolo/MouseTools/blob/master/LICENSE)
97
+
98
+ https://github.com/scaratozzolo/MouseTools
99
+
100
+ ### Disclaimer
101
+ This project is in no way affiliated with The Walt Disney Company and all use of Disney Services is subject to the [Disney Terms of Use](https://disneytermsofuse.com/).
@@ -18,57 +18,57 @@ pip install git+https://github.com/scaratozzolo/MouseTools
18
18
 
19
19
  ### Example usage:
20
20
  ```python
21
- import MouseTools
21
+ import mousetools
22
22
 
23
- wdw_dest = MouseTools.Destination(80007798)
23
+ wdw_dest = mousetools.Destination(80007798)
24
24
  print(wdw_dest.get_park_ids())
25
25
 
26
- dlr_dest = MouseTools.Destination(80008297)
26
+ dlr_dest = mousetools.Destination(80008297)
27
27
  print(dlr_dest.get_attraction_ids())
28
28
 
29
- mk = MouseTools.Park(80007944)
29
+ mk = mousetools.Park(80007944)
30
30
  print(mk.get_wait_times())
31
31
 
32
- pirates = MouseTools.Attraction(80010177)
32
+ pirates = mousetools.Attraction(80010177)
33
33
  print(pirates.get_wait_time())
34
34
 
35
35
 
36
36
  # You don't have to know any ids to get started.
37
- MouseTools.ids.WDW_ID # Walt Disney World Resort
38
- MouseTools.ids.DLR_ID # Disneyland Resort
37
+ mousetools.ids.WDW_ID # Walt Disney World Resort
38
+ mousetools.ids.DLR_ID # Disneyland Resort
39
39
 
40
40
  # Single park ids
41
- MouseTools.ids.MK_ID # Magic Kingdom
42
- MouseTools.ids.EPCOT_ID # EPCOT
43
- MouseTools.ids.HS_ID # Hollywood Studios
44
- MouseTools.ids.AK_ID # Animal Kingdom
45
- MouseTools.ids.TL_ID # Typhoon Lagoon
46
- MouseTools.ids.BB_ID # Blizzard Beach
47
- MouseTools.ids.DLP_ID # Disneyland Park
48
- MouseTools.ids.CA_ID # California Adventure
41
+ mousetools.ids.MK_ID # Magic Kingdom
42
+ mousetools.ids.EPCOT_ID # EPCOT
43
+ mousetools.ids.HS_ID # Hollywood Studios
44
+ mousetools.ids.AK_ID # Animal Kingdom
45
+ mousetools.ids.TL_ID # Typhoon Lagoon
46
+ mousetools.ids.BB_ID # Blizzard Beach
47
+ mousetools.ids.DLP_ID # Disneyland Park
48
+ mousetools.ids.CA_ID # California Adventure
49
49
 
50
50
  # List of ids
51
51
  # Parks
52
- MouseTools.ids.WDW_PARK_IDS
53
- MouseTools.ids.DLR_PARK_IDS
52
+ mousetools.ids.WDW_PARK_IDS
53
+ mousetools.ids.DLR_PARK_IDS
54
54
 
55
55
  # Entertainment Venues
56
- MouseTools.ids.WDW_EV_IDS
57
- MouseTools.ids.DLR_EV_IDS
56
+ mousetools.ids.WDW_EV_IDS
57
+ mousetools.ids.DLR_EV_IDS
58
58
 
59
59
  # Attractions
60
- MouseTools.ids.WDW_ATTRACTION_IDS
61
- MouseTools.ids.DLR_ATTRACTION_IDS
60
+ mousetools.ids.WDW_ATTRACTION_IDS
61
+ mousetools.ids.DLR_ATTRACTION_IDS
62
62
 
63
63
  # Entertainments
64
- MouseTools.ids.WDW_ENTERTAINMENT_IDS
65
- MouseTools.ids.DLR_ENTERTAINMENT_IDS
64
+ mousetools.ids.WDW_ENTERTAINMENT_IDS
65
+ mousetools.ids.DLR_ENTERTAINMENT_IDS
66
66
 
67
67
  ```
68
68
 
69
69
  For more documentation go to the [wiki](https://github.com/scaratozzolo/MouseTools/wiki) or run the following command from a termainal:
70
70
  ```Bash
71
- python -m pydoc MouseTools
71
+ python -m pydoc mousetools
72
72
  ```
73
73
 
74
74
 
@@ -0,0 +1,75 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "MouseTools"
7
+ dynamic = ["version"]
8
+ authors = [{name = "Scott Caratozzolo"}]
9
+ description = "A Python wrapper for the Disney API"
10
+ readme = "README.md"
11
+ dependencies = [
12
+ "requests",
13
+ "pytz",
14
+ ]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent"
19
+ ]
20
+
21
+ [project.urls]
22
+ repository = "https://gitlab.com/caratozzoloxyz/public/MouseTools"
23
+
24
+ [tool.setuptools.packages.find]
25
+ where = ["src"]
26
+
27
+ [tool.setuptools.dynamic]
28
+ version = {attr = "mousetools.__version__"}
29
+
30
+
31
+ [tool.semantic_release]
32
+ assets = []
33
+ build_command = "python -m build"
34
+ commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
35
+ commit_parser = "angular"
36
+ logging_use_named_masks = false
37
+ major_on_zero = true
38
+ allow_zero_version = true
39
+ no_git_verify = false
40
+ tag_format = "v{version}"
41
+ version_variables = [
42
+ "src/mousetools/__init__.py:__version__",
43
+ ]
44
+
45
+ [tool.semantic_release.branches.main]
46
+ match = "(main|master)"
47
+ prerelease_token = "rc"
48
+ prerelease = false
49
+
50
+ [tool.semantic_release.branches.develop]
51
+ match = "develop"
52
+ prerelease_token = "dev"
53
+ prerelease = true
54
+
55
+ [tool.semantic_release.commit_author]
56
+ env = "CI_COMMIT_AUTHOR"
57
+ default = "semantic-release <semantic-release>"
58
+
59
+ [tool.semantic_release.commit_parser_options]
60
+ allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
61
+ minor_tags = ["feat"]
62
+ patch_tags = ["fix", "perf"]
63
+ default_bump_level = 0
64
+
65
+ [tool.semantic_release.remote]
66
+ name = "origin"
67
+ type = "gitlab"
68
+ ignore_token_for_push = true
69
+ insecure = false
70
+ token = { env = "GITLAB_TOKEN" }
71
+
72
+ [tool.semantic_release.publish]
73
+ dist_glob_patterns = ["dist/*"]
74
+ upload_to_vcs_release = false
75
+
@@ -1,4 +1,4 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.1
2
+ Name: MouseTools
3
+ Version: 2.1.2
4
+ Summary: A Python wrapper for the Disney API
5
+ Author: Scott Caratozzolo
6
+ Project-URL: repository, https://gitlab.com/caratozzoloxyz/public/MouseTools
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: requests
13
+ Requires-Dist: pytz
14
+
15
+ # MouseTools
16
+ [![PyPI version](https://badge.fury.io/py/MouseTools.svg)](https://badge.fury.io/py/MouseTools) [![Downloads](https://pepy.tech/badge/mousetools)](https://pepy.tech/project/mousetools)
17
+
18
+
19
+ A Python wrapper for the Disney API. Data is pulled directly from Disney. This package supports Walt Disney World and Disneyland.
20
+
21
+
22
+ ### Installation
23
+ You can install using pip:
24
+ ```bash
25
+ pip install MouseTools
26
+ ```
27
+ You can also install directly from this repo in case of any changes not uploaded to Pypi.
28
+ ```bash
29
+ pip install git+https://github.com/scaratozzolo/MouseTools
30
+ ```
31
+
32
+
33
+ ### Example usage:
34
+ ```python
35
+ import mousetools
36
+
37
+ wdw_dest = mousetools.Destination(80007798)
38
+ print(wdw_dest.get_park_ids())
39
+
40
+ dlr_dest = mousetools.Destination(80008297)
41
+ print(dlr_dest.get_attraction_ids())
42
+
43
+ mk = mousetools.Park(80007944)
44
+ print(mk.get_wait_times())
45
+
46
+ pirates = mousetools.Attraction(80010177)
47
+ print(pirates.get_wait_time())
48
+
49
+
50
+ # You don't have to know any ids to get started.
51
+ mousetools.ids.WDW_ID # Walt Disney World Resort
52
+ mousetools.ids.DLR_ID # Disneyland Resort
53
+
54
+ # Single park ids
55
+ mousetools.ids.MK_ID # Magic Kingdom
56
+ mousetools.ids.EPCOT_ID # EPCOT
57
+ mousetools.ids.HS_ID # Hollywood Studios
58
+ mousetools.ids.AK_ID # Animal Kingdom
59
+ mousetools.ids.TL_ID # Typhoon Lagoon
60
+ mousetools.ids.BB_ID # Blizzard Beach
61
+ mousetools.ids.DLP_ID # Disneyland Park
62
+ mousetools.ids.CA_ID # California Adventure
63
+
64
+ # List of ids
65
+ # Parks
66
+ mousetools.ids.WDW_PARK_IDS
67
+ mousetools.ids.DLR_PARK_IDS
68
+
69
+ # Entertainment Venues
70
+ mousetools.ids.WDW_EV_IDS
71
+ mousetools.ids.DLR_EV_IDS
72
+
73
+ # Attractions
74
+ mousetools.ids.WDW_ATTRACTION_IDS
75
+ mousetools.ids.DLR_ATTRACTION_IDS
76
+
77
+ # Entertainments
78
+ mousetools.ids.WDW_ENTERTAINMENT_IDS
79
+ mousetools.ids.DLR_ENTERTAINMENT_IDS
80
+
81
+ ```
82
+
83
+ For more documentation go to the [wiki](https://github.com/scaratozzolo/MouseTools/wiki) or run the following command from a termainal:
84
+ ```Bash
85
+ python -m pydoc mousetools
86
+ ```
87
+
88
+
89
+ I created this project to help with another project found [here](https://github.com/scaratozzolo/WDWWaits). Some parts of the wrapper were created with that in mind.
90
+
91
+ If you notice any issues please open a new issue with a "bug" label. Furthermore, if you have any feature requests, open a new issue with a "feature request" label.
92
+
93
+ This package uses the [ThemeParks.wiki API](https://api.themeparks.wiki/).
94
+
95
+ ### License
96
+ This project is distributed under the MIT license. For more information see [LICENSE](https://github.com/scaratozzolo/MouseTools/blob/master/LICENSE)
97
+
98
+ https://github.com/scaratozzolo/MouseTools
99
+
100
+ ### Disclaimer
101
+ This project is in no way affiliated with The Walt Disney Company and all use of Disney Services is subject to the [Disney Terms of Use](https://disneytermsofuse.com/).
@@ -0,0 +1,19 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/MouseTools.egg-info/PKG-INFO
5
+ src/MouseTools.egg-info/SOURCES.txt
6
+ src/MouseTools.egg-info/dependency_links.txt
7
+ src/MouseTools.egg-info/requires.txt
8
+ src/MouseTools.egg-info/top_level.txt
9
+ src/mousetools/__init__.py
10
+ src/mousetools/attractions.py
11
+ src/mousetools/auth.py
12
+ src/mousetools/characters.py
13
+ src/mousetools/destinations.py
14
+ src/mousetools/entertainments.py
15
+ src/mousetools/entertainmentvenues.py
16
+ src/mousetools/facilities.py
17
+ src/mousetools/ids.py
18
+ src/mousetools/parks.py
19
+ src/mousetools/pointsofinterest.py
@@ -0,0 +1 @@
1
+ mousetools
@@ -0,0 +1,27 @@
1
+ """
2
+ init
3
+ expose classes and modules
4
+ """
5
+ from mousetools.parks import Park
6
+ from mousetools.entertainmentvenues import EntertainmentVenue
7
+ from mousetools.attractions import Attraction
8
+ from mousetools.entertainments import Entertainment
9
+ from mousetools.characters import Character
10
+ from mousetools.facilities import Facility
11
+ from mousetools.pointsofinterest import PointOfInterest
12
+ from mousetools.destinations import Destination
13
+ import mousetools.ids as ids
14
+
15
+ __version__ = "2.1.2"
16
+
17
+
18
+ __all__ = [
19
+ "Destination",
20
+ "Park",
21
+ "EntertainmentVenue",
22
+ "Attraction",
23
+ "Entertainment",
24
+ "Facility",
25
+ "Character",
26
+ "PointOfInterest",
27
+ ]