cristalix 0.1.0__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,64 @@
1
+ Metadata-Version: 2.4
2
+ Name: cristalix
3
+ Version: 0.1.0
4
+ Summary: Unofficial Python client for Cristalix OpenAPI
5
+ Author-email: kkp_ <kkplikeme@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://cristalix.gg
8
+ Project-URL: Source, https://example.com/your-repo-url
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.8
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Topic :: Software Development :: Libraries
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: httpx>=0.27.0
21
+ Requires-Dist: pydantic>=2.5.0
22
+ Requires-Dist: typing-extensions>=4.0.0; python_version < "3.11"
23
+ Dynamic: license-file
24
+
25
+ Cristalix Python Client
26
+ =======================
27
+
28
+ Неофициальная python-библиотека для работы с Cristalix OpenAPI.
29
+
30
+ > ВНИМАНИЕ: библиотека не является официальным продуктом Cristalix.
31
+
32
+ ## Быстрый пример
33
+
34
+ ```python
35
+ from cristalix import CristalixClient
36
+
37
+ client = CristalixClient(
38
+ project_key="YOUR_PROJECT_KEY",
39
+ token="YOUR_TOKEN",
40
+ )
41
+
42
+ profile = client.get_profile_by_name("kkp_")
43
+ print(profile.username, profile.group.key)
44
+ ```
45
+
46
+ ## Async-пример
47
+
48
+ ```python
49
+ import asyncio
50
+ from cristalix import AsyncCristalixClient
51
+
52
+
53
+ async def main():
54
+ client = AsyncCristalixClient(
55
+ project_key="YOUR_PROJECT_KEY",
56
+ token="YOUR_TOKEN",
57
+ )
58
+ profile = await client.get_profile_by_name("kkp_")
59
+ print(profile.username, profile.group.key)
60
+
61
+
62
+ asyncio.run(main())
63
+ ```
64
+
@@ -0,0 +1,5 @@
1
+ cristalix-0.1.0.dist-info/licenses/LICENSE,sha256=PBU_hIuQSRG3JXzM6ifKvba-UXuY03HUIuvK3JgPDHM,1065
2
+ cristalix-0.1.0.dist-info/METADATA,sha256=9QPWRr0kCE6KWuLlB4GtFiQYMZx8O8ka8PY4SqUo0Jk,1835
3
+ cristalix-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
4
+ cristalix-0.1.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ cristalix-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 kkp_
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 @@
1
+