mercuto-client 0.2.7__py3-none-any.whl → 0.2.8__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.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: mercuto-client
3
+ Version: 0.2.8
4
+ Summary: Library for interfacing with Rockfield's Mercuto API
5
+ Author-email: Daniel Whipp <daniel.whipp@rocktech.com.au>
6
+ License-Expression: AGPL-3.0-only
7
+ Project-URL: Homepage, https://mercuto.rockfieldcloud.com.au
8
+ Project-URL: Repository, https://github.com/RockfieldTechnologiesAustralia/mercuto-client
9
+ Project-URL: Documentation, https://github.com/RockfieldTechnologiesAustralia/mercuto-client/blob/main/README.md
10
+ Keywords: mercuto,rockfield,infratech
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Software Development :: Build Tools
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: >=3.10
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: requests>=2.32
21
+ Requires-Dist: pyftpdlib>=2.0.1
22
+ Requires-Dist: python-dateutil>=2.9.0.post0
23
+ Requires-Dist: pytz>=2025.2
24
+ Requires-Dist: schedule>=1.2.2
25
+ Dynamic: license-file
26
+
27
+ # Mercuto Client Python Library
28
+
29
+ Library for interfacing with Rockfield's Mercuto public API.
30
+ This library is in an early development state and is subject to major structural changes at any time.
31
+
32
+ (Visit our Github Repository)[https://github.com/RockfieldTechnologiesAustralia/mercuto-client]
33
+
34
+ ## Installation
35
+ Install from PyPi: `pip install mercuto-client` or adding the same line into your `requirements.txt`.
36
+
37
+ ## Basic Usage
38
+
39
+ Use the `connect()` function exposed within the main package and provide your API key.
40
+
41
+ ```python
42
+ from mercuto_client import connect
43
+
44
+ client = connect(api_key="<YOUR API KEY>")
45
+ print(client.projects().get_projects())
46
+
47
+ # Logout after finished.
48
+ client.logout()
49
+
50
+ ```
51
+
52
+ You can also use the client as a context manager. It will logout automatically.
53
+
54
+ ```python
55
+ from mercuto_client import MercutoClient
56
+
57
+ with MercutoClient.as_credentials(api_key='<YOUR API KEY>') as client:
58
+ print(client.projects().get_projects())
59
+ ```
60
+
61
+ ## Current Status
62
+ This library is incomplete and may not be fully compliant with the latest Mercuto version. It is only updated periodically and provided for use without any warranty or guarantees.
63
+
64
+ - [x] API Based login (Completed)
65
+ - [ ] Username/password login
@@ -23,8 +23,8 @@ mercuto_client/ingester/parsers/__init__.py,sha256=2RXriMSH9-ld0W6nHZH7dDZUs8HBb
23
23
  mercuto_client/ingester/parsers/campbell.py,sha256=jnuoQug5Rv239ANGp_1BDTM9oTH8nD8k-EJV7N82E38,416
24
24
  mercuto_client/ingester/parsers/generic_csv.py,sha256=UbujpRzOYFIGHY6sbhoVjQX-2bO1arlaFMmfurmiZVI,4025
25
25
  mercuto_client/ingester/parsers/worldsensing.py,sha256=QoSm1cH9A5zkQKaUnLDR0jWzv16RFIimc1zWgjV66PM,974
26
- mercuto_client-0.2.7.dist-info/licenses/LICENSE,sha256=0R2QbX4pr5XSiwUc2JoGS7Ja4npcQHyZlGJsR-E73I8,32386
27
- mercuto_client-0.2.7.dist-info/METADATA,sha256=a-zRmvre3pkBGlmLAWk22XaXdtRRejbH-O6-Ad6ZJpw,747
28
- mercuto_client-0.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
- mercuto_client-0.2.7.dist-info/top_level.txt,sha256=ecV4spooVaOU8AlclvojxY1LzLW1byDywh-ayLHvKCs,15
30
- mercuto_client-0.2.7.dist-info/RECORD,,
26
+ mercuto_client-0.2.8.dist-info/licenses/LICENSE,sha256=0R2QbX4pr5XSiwUc2JoGS7Ja4npcQHyZlGJsR-E73I8,32386
27
+ mercuto_client-0.2.8.dist-info/METADATA,sha256=J9EYId6CVKgJh773sirqtkY9gyEagG7atVjuJG_YscY,2296
28
+ mercuto_client-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ mercuto_client-0.2.8.dist-info/top_level.txt,sha256=ecV4spooVaOU8AlclvojxY1LzLW1byDywh-ayLHvKCs,15
30
+ mercuto_client-0.2.8.dist-info/RECORD,,
@@ -1,20 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mercuto-client
3
- Version: 0.2.7
4
- Summary: Library for interfacing with Rockfield's Mercuto API
5
- Author-email: Daniel Whipp <daniel.whipp@rocktech.com.au>
6
- Keywords: mercuto,rockfield,infratech
7
- Classifier: Development Status :: 3 - Alpha
8
- Classifier: Intended Audience :: Developers
9
- Classifier: Topic :: Software Development :: Build Tools
10
- Classifier: Programming Language :: Python :: 3.10
11
- Classifier: Programming Language :: Python :: 3.11
12
- Classifier: Programming Language :: Python :: 3.12
13
- Requires-Python: >=3.10
14
- License-File: LICENSE
15
- Requires-Dist: requests>=2.32
16
- Requires-Dist: pyftpdlib>=2.0.1
17
- Requires-Dist: python-dateutil>=2.9.0.post0
18
- Requires-Dist: pytz>=2025.2
19
- Requires-Dist: schedule>=1.2.2
20
- Dynamic: license-file