pyrelukko 0.6.0__py3-none-any.whl → 0.7.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.
Potentially problematic release.
This version of pyrelukko might be problematic. Click here for more details.
- pyrelukko/testcontainers.py +5 -2
- pyrelukko/version.py +1 -1
- pyrelukko-0.7.0.dist-info/METADATA +40 -0
- pyrelukko-0.7.0.dist-info/RECORD +9 -0
- pyrelukko-0.6.0.dist-info/METADATA +0 -24
- pyrelukko-0.6.0.dist-info/RECORD +0 -9
- {pyrelukko-0.6.0.dist-info → pyrelukko-0.7.0.dist-info}/LICENSE +0 -0
- {pyrelukko-0.6.0.dist-info → pyrelukko-0.7.0.dist-info}/WHEEL +0 -0
pyrelukko/testcontainers.py
CHANGED
|
@@ -14,6 +14,7 @@ def relukko_backend():
|
|
|
14
14
|
base_url=backend.get_api_url(), api_key="somekey")
|
|
15
15
|
yield relukko, backend
|
|
16
16
|
"""
|
|
17
|
+
import os
|
|
17
18
|
import socket
|
|
18
19
|
|
|
19
20
|
from testcontainers.core.network import Network
|
|
@@ -24,10 +25,12 @@ from testcontainers.postgres import PostgresContainer
|
|
|
24
25
|
|
|
25
26
|
class RelukkoContainer(ServerContainer):
|
|
26
27
|
def __init__(self, net: Network,
|
|
27
|
-
image="registry.gitlab.com/relukko/relukko:latest",
|
|
28
|
+
image="registry.gitlab.com/relukko/relukko:latest",
|
|
29
|
+
db_url=None):
|
|
30
|
+
container_image = os.environ.get('CI_RELUKKO_CONTAINER_IMAGE') or image
|
|
28
31
|
self.db_url = db_url
|
|
29
32
|
self.net = net
|
|
30
|
-
super(RelukkoContainer, self).__init__(image=
|
|
33
|
+
super(RelukkoContainer, self).__init__(image=container_image, port=3000)
|
|
31
34
|
|
|
32
35
|
def _configure(self):
|
|
33
36
|
self.with_env("DATABASE_URL", self.db_url)
|
pyrelukko/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# pylint: disable=all
|
|
2
|
-
__version__ = "0.
|
|
2
|
+
__version__ = "0.7.0"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: pyrelukko
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: Relukko client.
|
|
5
|
+
Author-email: Reto Zingg <g.d0b3rm4n@gmail.com>
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
12
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Requires-Dist: requests >=2.32.3
|
|
17
|
+
Requires-Dist: websockets >= 14.1
|
|
18
|
+
Project-URL: Homepage, https://gitlab.com/relukko/pyrelukko
|
|
19
|
+
Project-URL: Issues, https://gitlab.com/relukko/pyrelukko/-/issues
|
|
20
|
+
|
|
21
|
+
# PyRelukko
|
|
22
|
+
|
|
23
|
+
[](https://pypi.org/project/pyrelukko)
|
|
24
|
+
[](https://pypi.org/project/pyrelukko)
|
|
25
|
+

|
|
26
|
+

|
|
27
|
+

|
|
28
|
+

|
|
29
|
+

|
|
30
|
+

|
|
31
|
+

|
|
32
|
+

|
|
33
|
+

|
|
34
|
+

|
|
35
|
+

|
|
36
|
+
-----
|
|
37
|
+
|
|
38
|
+
Python library to access a
|
|
39
|
+
[Relukko back-end](https://gitlab.com/relukko/relukko).
|
|
40
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
pyrelukko/__init__.py,sha256=n-mTJV7AOfr4bljtDxok3E3gXIBRk-kFa2_Ql3S8Ht0,61
|
|
2
|
+
pyrelukko/pyrelukko.py,sha256=Pjn2pf4rg1rDgAHzUSFdLnooHttn0ZLh3g_29Fxi0RM,13499
|
|
3
|
+
pyrelukko/retry.py,sha256=XeCc0trPhAggdEnu2nwtpFderlHaDQFTXH_O1dLeiGQ,1587
|
|
4
|
+
pyrelukko/testcontainers.py,sha256=hWcMn3fWcxp9oD78SfWllDDnkLhDchO4B_WwpWS-vWc,3471
|
|
5
|
+
pyrelukko/version.py,sha256=5xA0tWrGXMj0snjuHfb1bBEgV8e6Ja5lFoiT56MEtSM,44
|
|
6
|
+
pyrelukko-0.7.0.dist-info/LICENSE,sha256=aEI4dThWmRUiEPch0-KaZQmHZgTyuz88Edmp25H6tAw,1089
|
|
7
|
+
pyrelukko-0.7.0.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
|
8
|
+
pyrelukko-0.7.0.dist-info/METADATA,sha256=uTnu17gbDXvJ1UGITWqMdMQS4SiLjTIPg_fknZecXX8,2034
|
|
9
|
+
pyrelukko-0.7.0.dist-info/RECORD,,
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: pyrelukko
|
|
3
|
-
Version: 0.6.0
|
|
4
|
-
Summary: Relukko client.
|
|
5
|
-
Author-email: Reto Zingg <g.d0b3rm4n@gmail.com>
|
|
6
|
-
Requires-Python: >=3.10
|
|
7
|
-
Description-Content-Type: text/markdown
|
|
8
|
-
Classifier: Development Status :: 4 - Beta
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Topic :: Internet :: WWW/HTTP
|
|
12
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Requires-Dist: requests >=2.32.3
|
|
17
|
-
Requires-Dist: websockets >= 14.1
|
|
18
|
-
Project-URL: Homepage, https://gitlab.com/relukko/pyrelukko
|
|
19
|
-
Project-URL: Issues, https://gitlab.com/relukko/pyrelukko/-/issues
|
|
20
|
-
|
|
21
|
-
# PyRelukko
|
|
22
|
-
Python library to access a
|
|
23
|
-
[Relukko back-end](https://gitlab.com/relukko/relukko).
|
|
24
|
-
|
pyrelukko-0.6.0.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
pyrelukko/__init__.py,sha256=n-mTJV7AOfr4bljtDxok3E3gXIBRk-kFa2_Ql3S8Ht0,61
|
|
2
|
-
pyrelukko/pyrelukko.py,sha256=Pjn2pf4rg1rDgAHzUSFdLnooHttn0ZLh3g_29Fxi0RM,13499
|
|
3
|
-
pyrelukko/retry.py,sha256=XeCc0trPhAggdEnu2nwtpFderlHaDQFTXH_O1dLeiGQ,1587
|
|
4
|
-
pyrelukko/testcontainers.py,sha256=mSUfnyBFVmt9N9LoI_EwXG4EomY8pQCvHzff2ESio-8,3354
|
|
5
|
-
pyrelukko/version.py,sha256=q0h0LBikcev1aArInPZOcWowTR0WPbUbXJg_OX6XtkU,44
|
|
6
|
-
pyrelukko-0.6.0.dist-info/LICENSE,sha256=aEI4dThWmRUiEPch0-KaZQmHZgTyuz88Edmp25H6tAw,1089
|
|
7
|
-
pyrelukko-0.6.0.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
|
8
|
-
pyrelukko-0.6.0.dist-info/METADATA,sha256=DwCYVR3ps9F4ej1xrgd1DrYcvmZJR7liQ0nxjZfUf4w,887
|
|
9
|
-
pyrelukko-0.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|