Source implementation for Pipedrive.
Project description
Pipedrive Source
This is the repository for the Pipedrive configuration based source connector. For information about how to use this connector within Airbyte, see the documentation.
If you are a community contributor, follow the instructions in the documentation
to generate the necessary credentials. Then create a file secrets/config.json
conforming to the source_pipedrive/spec.yaml
file.
Note that any directory named secrets
is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
See integration_tests/sample_config.json
for a sample config file.
If you are an Airbyte core member, copy the credentials in Lastpass under the secret name source pipedrive test creds
and place them into secrets/config.json
.
Via airbyte-ci
(recommended):
airbyte-ci connectors --name=source-pipedrive build
An image will be built with the tag airbyte/source-pipedrive:dev
.
Via docker build
:
docker build -t airbyte/source-pipedrive:dev .
Then run any of the connector commands as follows:
docker run --rm airbyte/source-pipedrive:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-pipedrive:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-pipedrive:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-pipedrive:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
You can run our full test suite locally using airbyte-ci
:
airbyte-ci connectors --name=source-pipedrive test
Customize acceptance-test-config.yml
file to configure tests. See Connector Acceptance Tests for more information.
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.
All of your dependencies should go in setup.py
, NOT requirements.txt
. The requirements file is only used to connect internal Airbyte dependencies in the monorepo for local development.
We split dependencies between two groups, dependencies that are:
- required for your connector to work need to go to
MAIN_REQUIREMENTS
list. - required for the testing need to go to
TEST_REQUIREMENTS
list
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
- Make sure your changes are passing our test suite:
airbyte-ci connectors --name=source-pipedrive test
- Bump the connector version in
metadata.yaml
: increment thedockerImageTag
value. Please follow semantic versioning for connectors. - Make sure the
metadata.yaml
content is up to date. - Make the connector documentation and its changelog is up to date (
docs/integrations/sources/pipedrive.md
). - Create a Pull Request: use our PR naming conventions.
- Pat yourself on the back for being an awesome contributor.
- Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airbyte-source-pipedrive-2.2.2.tar.gz
.
File metadata
- Download URL: airbyte-source-pipedrive-2.2.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c68ddff7eccefe054661ed4fcac9c3d7f921cb8554ce2cb4cc80e4d11d0866 |
|
MD5 | e4c4cdd34581a6a0c7d162f65192b93e |
|
BLAKE2b-256 | 5aa422ceed15f1c3100f79f70b5a020854b067e6105da9bf471b1fe84605d7e6 |
File details
Details for the file airbyte_source_pipedrive-2.2.2-py3-none-any.whl
.
File metadata
- Download URL: airbyte_source_pipedrive-2.2.2-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce3503c0573af5a823deac6df959709ac5cfb99f0a4fbc132de1927ce7dca56 |
|
MD5 | 92a4206d6e51497fd96a8de65746c651 |
|
BLAKE2b-256 | c40f0119d5398bcdd03efcd51d0c715817b4d7f8fb497354b2a0c40e74f8a7c8 |