airbyte-source-zenloop 0.1.42__tar.gz → 0.1.44__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.
- airbyte_source_zenloop-0.1.44/.airbyte-pypi-readme.md +7 -0
- airbyte_source_zenloop-0.1.44/PKG-INFO +27 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/pyproject.toml +16 -13
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/manifest.yaml +1 -1
- airbyte_source_zenloop-0.1.42/PKG-INFO +0 -124
- airbyte_source_zenloop-0.1.42/README.md +0 -104
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/__init__.py +0 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/components.py +0 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/run.py +0 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/source.py +0 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/spec.json +0 -0
- {airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/streams.py +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Zenloop
|
|
2
|
+
|
|
3
|
+
This package contains the Airbyte Zenloop connector.
|
|
4
|
+
|
|
5
|
+
Airbyte is open-source data movement for ELT pipelines and AI agents. It moves data from APIs, databases, and files to warehouses, lakes, and AI applications.
|
|
6
|
+
|
|
7
|
+
Airbyte provides a catalog of 600+ connectors for APIs, databases, data warehouses, data lakes, and AI applications. Use this package with [PyAirbyte](https://docs.airbyte.com/developers/pyairbyte) to run the connector from Python.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: airbyte-source-zenloop
|
|
3
|
+
Version: 0.1.44
|
|
4
|
+
Summary: Source implementation for Zenloop.
|
|
5
|
+
Home-page: https://airbyte.com
|
|
6
|
+
License: ELv2
|
|
7
|
+
Author: Alexander Batoulis
|
|
8
|
+
Author-email: alexander.batoulis@hometogo.com
|
|
9
|
+
Requires-Python: >=3.9,<3.12
|
|
10
|
+
Classifier: License :: Other/Proprietary License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Requires-Dist: airbyte-cdk (==0.80.0)
|
|
16
|
+
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/zenloop
|
|
17
|
+
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+
# Zenloop
|
|
21
|
+
|
|
22
|
+
This package contains the Airbyte Zenloop connector.
|
|
23
|
+
|
|
24
|
+
Airbyte is open-source data movement for ELT pipelines and AI agents. It moves data from APIs, databases, and files to warehouses, lakes, and AI applications.
|
|
25
|
+
|
|
26
|
+
Airbyte provides a catalog of 600+ connectors for APIs, databases, data warehouses, data lakes, and AI applications. Use this package with [PyAirbyte](https://docs.airbyte.com/developers/pyairbyte) to run the connector from Python.
|
|
27
|
+
|
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = [
|
|
3
|
-
"poetry-core>=1.0.0",
|
|
4
|
-
]
|
|
2
|
+
requires = [ "poetry-core>=1.0.0",]
|
|
5
3
|
build-backend = "poetry.core.masonry.api"
|
|
6
4
|
|
|
7
5
|
[tool.poetry]
|
|
8
|
-
version = "0.1.
|
|
6
|
+
version = "0.1.44"
|
|
9
7
|
name = "airbyte-source-zenloop"
|
|
10
8
|
description = "Source implementation for Zenloop."
|
|
11
|
-
authors = [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
license = "MIT"
|
|
15
|
-
readme = "README.md"
|
|
9
|
+
authors = [ "Alexander Batoulis <alexander.batoulis@hometogo.com>",]
|
|
10
|
+
license = "ELv2"
|
|
11
|
+
readme = ".airbyte-pypi-readme.md"
|
|
16
12
|
documentation = "https://docs.airbyte.com/integrations/sources/zenloop"
|
|
17
13
|
homepage = "https://airbyte.com"
|
|
18
14
|
repository = "https://github.com/airbytehq/airbyte"
|
|
19
|
-
packages
|
|
20
|
-
|
|
21
|
-
]
|
|
15
|
+
[[tool.poetry.packages]]
|
|
16
|
+
include = "source_zenloop"
|
|
22
17
|
|
|
23
18
|
[tool.poetry.dependencies]
|
|
24
19
|
python = "^3.9,<3.12"
|
|
@@ -30,5 +25,13 @@ source-zenloop = "source_zenloop.run:run"
|
|
|
30
25
|
[tool.poetry.group.dev.dependencies]
|
|
31
26
|
pytest-mock = "^3.6.1"
|
|
32
27
|
requests-mock = "^1.9.3"
|
|
33
|
-
pytest = "^
|
|
28
|
+
pytest = "^8.0.0"
|
|
34
29
|
responses = "^0.13.3"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
[tool.poe]
|
|
33
|
+
include = [
|
|
34
|
+
# Shared tasks definition file(s) can be imported here.
|
|
35
|
+
# Run `poe` or `poe --help` to see the list of available tasks.
|
|
36
|
+
"${POE_GIT_DIR}/poe-tasks/poetry-connector-tasks.toml",
|
|
37
|
+
]
|
{airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/manifest.yaml
RENAMED
|
@@ -166,7 +166,7 @@ definitions:
|
|
|
166
166
|
datetime_format: "%Y-%m-%dT%H:%M:%S.%fZ"
|
|
167
167
|
cursor_granularity: "PT0.000001S"
|
|
168
168
|
start_datetime:
|
|
169
|
-
datetime: "{{ config['date_from'] }}"
|
|
169
|
+
datetime: "{{ config['date_from'][:10] if config.get('date_from') else today_utc() }}"
|
|
170
170
|
datetime_format: "%Y-%m-%d"
|
|
171
171
|
end_datetime:
|
|
172
172
|
datetime: "{{ today_utc() }}"
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: airbyte-source-zenloop
|
|
3
|
-
Version: 0.1.42
|
|
4
|
-
Summary: Source implementation for Zenloop.
|
|
5
|
-
License: MIT
|
|
6
|
-
Author: Airbyte
|
|
7
|
-
Author-email: contact@airbyte.io
|
|
8
|
-
Requires-Python: >=3.9,<3.12
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Requires-Dist: airbyte-cdk (==0.80.0)
|
|
15
|
-
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/zenloop
|
|
16
|
-
Project-URL: Homepage, https://airbyte.com
|
|
17
|
-
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
|
18
|
-
Description-Content-Type: text/markdown
|
|
19
|
-
|
|
20
|
-
# Zenloop source connector
|
|
21
|
-
|
|
22
|
-
This is the repository for the Zenloop source connector, written in Python.
|
|
23
|
-
For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/zenloop).
|
|
24
|
-
|
|
25
|
-
## Local development
|
|
26
|
-
|
|
27
|
-
### Prerequisites
|
|
28
|
-
|
|
29
|
-
- Python (~=3.9)
|
|
30
|
-
- Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
|
|
31
|
-
|
|
32
|
-
### Installing the connector
|
|
33
|
-
|
|
34
|
-
From this connector directory, run:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
poetry install --with dev
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Create credentials
|
|
41
|
-
|
|
42
|
-
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/zenloop)
|
|
43
|
-
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_zenloop/spec.yaml` file.
|
|
44
|
-
Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
|
|
45
|
-
See `sample_files/sample_config.json` for a sample config file.
|
|
46
|
-
|
|
47
|
-
### Locally running the connector
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
poetry run source-zenloop spec
|
|
51
|
-
poetry run source-zenloop check --config secrets/config.json
|
|
52
|
-
poetry run source-zenloop discover --config secrets/config.json
|
|
53
|
-
poetry run source-zenloop read --config secrets/config.json --catalog sample_files/configured_catalog.json
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Running unit tests
|
|
57
|
-
|
|
58
|
-
To run unit tests locally, from the connector directory run:
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
poetry run pytest unit_tests
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Building the docker image
|
|
65
|
-
|
|
66
|
-
1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
|
|
67
|
-
2. Run the following command to build the docker image:
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
airbyte-ci connectors --name=source-zenloop build
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
An image will be available on your host with the tag `airbyte/source-zenloop:dev`.
|
|
74
|
-
|
|
75
|
-
### Running as a docker container
|
|
76
|
-
|
|
77
|
-
Then run any of the connector commands as follows:
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
docker run --rm airbyte/source-zenloop:dev spec
|
|
81
|
-
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-zenloop:dev check --config /secrets/config.json
|
|
82
|
-
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-zenloop:dev discover --config /secrets/config.json
|
|
83
|
-
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-zenloop:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Running our CI test suite
|
|
87
|
-
|
|
88
|
-
You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
airbyte-ci connectors --name=source-zenloop test
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Customizing acceptance Tests
|
|
95
|
-
|
|
96
|
-
Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
|
|
97
|
-
If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
|
|
98
|
-
|
|
99
|
-
### Dependency Management
|
|
100
|
-
|
|
101
|
-
All of your dependencies should be managed via Poetry.
|
|
102
|
-
To add a new dependency, run:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
poetry add <package-name>
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Please commit the changes to `pyproject.toml` and `poetry.lock` files.
|
|
109
|
-
|
|
110
|
-
## Publishing a new version of the connector
|
|
111
|
-
|
|
112
|
-
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
|
|
113
|
-
|
|
114
|
-
1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-zenloop test`
|
|
115
|
-
2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
|
|
116
|
-
- bump the `dockerImageTag` value in in `metadata.yaml`
|
|
117
|
-
- bump the `version` value in `pyproject.toml`
|
|
118
|
-
3. Make sure the `metadata.yaml` content is up to date.
|
|
119
|
-
4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/zenloop.md`).
|
|
120
|
-
5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
|
|
121
|
-
6. Pat yourself on the back for being an awesome contributor.
|
|
122
|
-
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
|
|
123
|
-
8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
|
|
124
|
-
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# Zenloop source connector
|
|
2
|
-
|
|
3
|
-
This is the repository for the Zenloop source connector, written in Python.
|
|
4
|
-
For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/zenloop).
|
|
5
|
-
|
|
6
|
-
## Local development
|
|
7
|
-
|
|
8
|
-
### Prerequisites
|
|
9
|
-
|
|
10
|
-
- Python (~=3.9)
|
|
11
|
-
- Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
|
|
12
|
-
|
|
13
|
-
### Installing the connector
|
|
14
|
-
|
|
15
|
-
From this connector directory, run:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
poetry install --with dev
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Create credentials
|
|
22
|
-
|
|
23
|
-
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/zenloop)
|
|
24
|
-
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_zenloop/spec.yaml` file.
|
|
25
|
-
Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
|
|
26
|
-
See `sample_files/sample_config.json` for a sample config file.
|
|
27
|
-
|
|
28
|
-
### Locally running the connector
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
poetry run source-zenloop spec
|
|
32
|
-
poetry run source-zenloop check --config secrets/config.json
|
|
33
|
-
poetry run source-zenloop discover --config secrets/config.json
|
|
34
|
-
poetry run source-zenloop read --config secrets/config.json --catalog sample_files/configured_catalog.json
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Running unit tests
|
|
38
|
-
|
|
39
|
-
To run unit tests locally, from the connector directory run:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
poetry run pytest unit_tests
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Building the docker image
|
|
46
|
-
|
|
47
|
-
1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
|
|
48
|
-
2. Run the following command to build the docker image:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
airbyte-ci connectors --name=source-zenloop build
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
An image will be available on your host with the tag `airbyte/source-zenloop:dev`.
|
|
55
|
-
|
|
56
|
-
### Running as a docker container
|
|
57
|
-
|
|
58
|
-
Then run any of the connector commands as follows:
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
docker run --rm airbyte/source-zenloop:dev spec
|
|
62
|
-
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-zenloop:dev check --config /secrets/config.json
|
|
63
|
-
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-zenloop:dev discover --config /secrets/config.json
|
|
64
|
-
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-zenloop:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Running our CI test suite
|
|
68
|
-
|
|
69
|
-
You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
airbyte-ci connectors --name=source-zenloop test
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
### Customizing acceptance Tests
|
|
76
|
-
|
|
77
|
-
Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
|
|
78
|
-
If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
|
|
79
|
-
|
|
80
|
-
### Dependency Management
|
|
81
|
-
|
|
82
|
-
All of your dependencies should be managed via Poetry.
|
|
83
|
-
To add a new dependency, run:
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
poetry add <package-name>
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Please commit the changes to `pyproject.toml` and `poetry.lock` files.
|
|
90
|
-
|
|
91
|
-
## Publishing a new version of the connector
|
|
92
|
-
|
|
93
|
-
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
|
|
94
|
-
|
|
95
|
-
1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-zenloop test`
|
|
96
|
-
2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
|
|
97
|
-
- bump the `dockerImageTag` value in in `metadata.yaml`
|
|
98
|
-
- bump the `version` value in `pyproject.toml`
|
|
99
|
-
3. Make sure the `metadata.yaml` content is up to date.
|
|
100
|
-
4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/zenloop.md`).
|
|
101
|
-
5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
|
|
102
|
-
6. Pat yourself on the back for being an awesome contributor.
|
|
103
|
-
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
|
|
104
|
-
8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
|
|
File without changes
|
{airbyte_source_zenloop-0.1.42 → airbyte_source_zenloop-0.1.44}/source_zenloop/components.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|