airbyte-source-shopify


Nameairbyte-source-shopify JSON
Version 2.5.14 PyPI version JSON
download
home_pagehttps://airbyte.com
SummarySource CDK implementation for Shopify.
upload_time2024-12-22 01:13:18
maintainerNone
docs_urlNone
authorAirbyte
requires_python<3.12,>=3.10
licenseELv2
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Shopify source connector

This is the repository for the Shopify source connector, written in Python.
For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/shopify).

## Local development

### Prerequisites

- Python (~=3.9)
- Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)

### Installing the connector

From this connector directory, run:

```bash
poetry install --with dev
```

### Create credentials

**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/shopify)
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_shopify/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 `sample_files/sample_config.json` for a sample config file.

### Locally running the connector

```
poetry run source-shopify spec
poetry run source-shopify check --config secrets/config.json
poetry run source-shopify discover --config secrets/config.json
poetry run source-shopify read --config secrets/config.json --catalog integration_tests/configured_catalog.json
```

### Running unit tests

To run unit tests locally, from the connector directory run:

```
poetry run pytest unit_tests
```

### Building the docker image

1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
2. Run the following command to build the docker image:

```bash
airbyte-ci connectors --name=source-shopify build
```

An image will be available on your host with the tag `airbyte/source-shopify:dev`.

### Running as a docker container

Then run any of the connector commands as follows:

```
docker run --rm airbyte/source-shopify:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-shopify:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-shopify:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-shopify:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
```

### Running our CI test suite

You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):

```bash
airbyte-ci connectors --name=source-shopify test
```

### Customizing acceptance Tests

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.
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.

### Dependency Management

All of your dependencies should be managed via Poetry.
To add a new dependency, run:

```bash
poetry add <package-name>
```

Please commit the changes to `pyproject.toml` and `poetry.lock` files.

## Publishing a new version of the connector

You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?

1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-shopify test`
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)):
   - bump the `dockerImageTag` value in in `metadata.yaml`
   - bump the `version` value in `pyproject.toml`
3. Make sure the `metadata.yaml` content is up to date.
4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/shopify.md`).
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).
6. Pat yourself on the back for being an awesome contributor.
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.

            

Raw data

            {
    "_id": null,
    "home_page": "https://airbyte.com",
    "name": "airbyte-source-shopify",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Airbyte",
    "author_email": "contact@airbyte.io",
    "download_url": "https://files.pythonhosted.org/packages/1f/65/bb5b7ddb71a9ae2fb57cc07e1ad329dd32815fd9873afdad8bc7624086a0/airbyte_source_shopify-2.5.14.tar.gz",
    "platform": null,
    "description": "# Shopify source connector\n\nThis is the repository for the Shopify source connector, written in Python.\nFor information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/shopify).\n\n## Local development\n\n### Prerequisites\n\n- Python (~=3.9)\n- Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)\n\n### Installing the connector\n\nFrom this connector directory, run:\n\n```bash\npoetry install --with dev\n```\n\n### Create credentials\n\n**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/shopify)\nto generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_shopify/spec.yaml` file.\nNote that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.\nSee `sample_files/sample_config.json` for a sample config file.\n\n### Locally running the connector\n\n```\npoetry run source-shopify spec\npoetry run source-shopify check --config secrets/config.json\npoetry run source-shopify discover --config secrets/config.json\npoetry run source-shopify read --config secrets/config.json --catalog integration_tests/configured_catalog.json\n```\n\n### Running unit tests\n\nTo run unit tests locally, from the connector directory run:\n\n```\npoetry run pytest unit_tests\n```\n\n### Building the docker image\n\n1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)\n2. Run the following command to build the docker image:\n\n```bash\nairbyte-ci connectors --name=source-shopify build\n```\n\nAn image will be available on your host with the tag `airbyte/source-shopify:dev`.\n\n### Running as a docker container\n\nThen run any of the connector commands as follows:\n\n```\ndocker run --rm airbyte/source-shopify:dev spec\ndocker run --rm -v $(pwd)/secrets:/secrets airbyte/source-shopify:dev check --config /secrets/config.json\ndocker run --rm -v $(pwd)/secrets:/secrets airbyte/source-shopify:dev discover --config /secrets/config.json\ndocker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-shopify:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json\n```\n\n### Running our CI test suite\n\nYou can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):\n\n```bash\nairbyte-ci connectors --name=source-shopify test\n```\n\n### Customizing acceptance Tests\n\nCustomize `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.\nIf 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.\n\n### Dependency Management\n\nAll of your dependencies should be managed via Poetry.\nTo add a new dependency, run:\n\n```bash\npoetry add <package-name>\n```\n\nPlease commit the changes to `pyproject.toml` and `poetry.lock` files.\n\n## Publishing a new version of the connector\n\nYou've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?\n\n1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-shopify test`\n2. 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)):\n   - bump the `dockerImageTag` value in in `metadata.yaml`\n   - bump the `version` value in `pyproject.toml`\n3. Make sure the `metadata.yaml` content is up to date.\n4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/shopify.md`).\n5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).\n6. Pat yourself on the back for being an awesome contributor.\n7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.\n8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.\n",
    "bugtrack_url": null,
    "license": "ELv2",
    "summary": "Source CDK implementation for Shopify.",
    "version": "2.5.14",
    "project_urls": {
        "Documentation": "https://docs.airbyte.com/integrations/sources/shopify",
        "Homepage": "https://airbyte.com",
        "Repository": "https://github.com/airbytehq/airbyte"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09ceccc9d43bf013d73527ad8fc4999252fa4892f7c95691edc10ac2e218a81e",
                "md5": "a52a80d98f15b332127a7734e26a01d6",
                "sha256": "642e490b69bff350de69bf7d24bffa8f190b5ded0da78c26ef8b5ac64a702781"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.5.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a52a80d98f15b332127a7734e26a01d6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.10",
            "size": 252738,
            "upload_time": "2024-12-22T01:13:15",
            "upload_time_iso_8601": "2024-12-22T01:13:15.647456Z",
            "url": "https://files.pythonhosted.org/packages/09/ce/ccc9d43bf013d73527ad8fc4999252fa4892f7c95691edc10ac2e218a81e/airbyte_source_shopify-2.5.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f65bb5b7ddb71a9ae2fb57cc07e1ad329dd32815fd9873afdad8bc7624086a0",
                "md5": "b81a81ee64d2f5e048e8e077853874be",
                "sha256": "8ac8d88b60b2f942a6c30497c91b16e8cd3f1818d2ebfcbdaf83a12542989e8e"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.5.14.tar.gz",
            "has_sig": false,
            "md5_digest": "b81a81ee64d2f5e048e8e077853874be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.10",
            "size": 220428,
            "upload_time": "2024-12-22T01:13:18",
            "upload_time_iso_8601": "2024-12-22T01:13:18.044639Z",
            "url": "https://files.pythonhosted.org/packages/1f/65/bb5b7ddb71a9ae2fb57cc07e1ad329dd32815fd9873afdad8bc7624086a0/airbyte_source_shopify-2.5.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-22 01:13:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "airbytehq",
    "github_project": "airbyte",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "airbyte-source-shopify"
}
        
Elapsed time: 0.42049s