northpole 0.0.1__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.
northpole/__about__.py ADDED
@@ -0,0 +1 @@
1
+ __version__ = "0.0.1"
northpole/__init__.py ADDED
File without changes
northpole/parsers.py ADDED
@@ -0,0 +1,14 @@
1
+ def parse_string(data: str) -> str:
2
+ """
3
+ Parse the input (most likely read from a file) into a single string. The input data
4
+ will be split on new line characters, and the first string will be returned. It
5
+ works on the assumption that while there may be a new line character in the input,
6
+ there is nothing after it.
7
+
8
+ Args:
9
+ data (str): The input data to parse.
10
+
11
+ Returns:
12
+ str: The string from before the first new line character.
13
+ """
14
+ return data.splitlines()[0]
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.1
2
+ Name: northpole
3
+ Version: 0.0.1
4
+ Summary: Utilities to help with Advent of Code
5
+ Project-URL: Documentation, https://github.com/stephenlutes/northpole#readme
6
+ Project-URL: Issues, https://github.com/stephenlutes/northpole/issues
7
+ Project-URL: Source, https://github.com/stephenlutes/northpole
8
+ Author: Stephen Lutes
9
+ License-Expression: MIT
10
+ License-File: LICENSE.txt
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: Implementation :: CPython
19
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/x-rst
22
+
23
+ NorthPole
24
+ ==========
25
+
26
+ NorthPole is a collection of utilities I develop to help in Advent of Code challenges.
27
+
28
+
29
+ Installation
30
+ ------------
31
+
32
+ ``pip install northpole``
33
+
34
+
35
+ License
36
+ -------
37
+
38
+ Northpole is distributed under the terms of the `MIT license <https://spdx.org/licenses/MIT.html>`_.
@@ -0,0 +1,7 @@
1
+ northpole/__about__.py,sha256=sXLh7g3KC4QCFxcZGBTpG2scR7hmmBsMjq6LqRptkRg,22
2
+ northpole/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ northpole/parsers.py,sha256=iY8q1RmOSbsjIJ1hW5GzKuBR2xjcsIn5XlzrR6fObjw,510
4
+ northpole-0.0.1.dist-info/METADATA,sha256=3PeG1010sqQpWQWVl4rWPhVTClkpCg2tTSAtxK8xkGQ,1207
5
+ northpole-0.0.1.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
6
+ northpole-0.0.1.dist-info/licenses/LICENSE.txt,sha256=HTj-mYJuKEKavQ3Saj3M_0F8Mg7zmt8-GU_wMkPTB4g,1088
7
+ northpole-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.18.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,19 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present Stephen Lutes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
6
+ software and associated documentation files (the "Software"), to deal in the Software
7
+ without restriction, including without limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicense, and/or sell copies of the Software, and to permit
9
+ persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or
12
+ substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
16
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
17
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
18
+ OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19
+ OTHER DEALINGS IN THE SOFTWARE.