airbyte-source-shopify


Nameairbyte-source-shopify JSON
Version 2.2.3 PyPI version JSON
download
home_pagehttps://airbyte.com
SummarySource CDK implementation for Shopify.
upload_time2024-06-06 12:44:59
maintainerNone
docs_urlNone
authorAirbyte
requires_python<3.12,>=3.9
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.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Airbyte",
    "author_email": "contact@airbyte.io",
    "download_url": "https://files.pythonhosted.org/packages/7f/89/e2bd162b0c793784875c717134abf201e31ee12dd7556197cc464a08461d/airbyte_source_shopify-2.2.3.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.2.3",
    "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": "1669614aef7ff8f44016fe3d4d6298ddd5f632e7743a0343d9063cb49b697b3c",
                "md5": "3ff2010edc69d00c0a72454a8e153a1e",
                "sha256": "c9b8e7c4a8741626c139b68ba158544454db63b6c85aee21e161a5d6805c715e"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3ff2010edc69d00c0a72454a8e153a1e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 236911,
            "upload_time": "2024-06-06T12:44:57",
            "upload_time_iso_8601": "2024-06-06T12:44:57.385196Z",
            "url": "https://files.pythonhosted.org/packages/16/69/614aef7ff8f44016fe3d4d6298ddd5f632e7743a0343d9063cb49b697b3c/airbyte_source_shopify-2.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f89e2bd162b0c793784875c717134abf201e31ee12dd7556197cc464a08461d",
                "md5": "f30c0788e8037c07174b69da9f23417d",
                "sha256": "255803179d4c660bf89e66eb3e1f76fe4a0bb9acfae9cb3916996a2059258a1d"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "f30c0788e8037c07174b69da9f23417d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 205808,
            "upload_time": "2024-06-06T12:44:59",
            "upload_time_iso_8601": "2024-06-06T12:44:59.570857Z",
            "url": "https://files.pythonhosted.org/packages/7f/89/e2bd162b0c793784875c717134abf201e31ee12dd7556197cc464a08461d/airbyte_source_shopify-2.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-06 12:44:59",
    "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.26510s