airbyte-source-shopify


Nameairbyte-source-shopify JSON
Version 2.4.14 PyPI version JSON
download
home_pagehttps://airbyte.com
SummarySource CDK implementation for Shopify.
upload_time2024-07-21 02:47:34
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/37/2d/fef04dbe86faa0cb41e466f6070214d6031fd68af4f7623359ea341e6d5b/airbyte_source_shopify-2.4.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.4.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": "5dd530ee6c0f40ad1caab9b29f41641ee621bb1293b638be96e2339e121ad91b",
                "md5": "34d7c4339b98fe8a9a033e5318cd7fdc",
                "sha256": "d34cf4f7a366f3387a5143e9b005c7a09a9da039d23264114a7c3dbede1291df"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.4.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "34d7c4339b98fe8a9a033e5318cd7fdc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 246598,
            "upload_time": "2024-07-21T02:47:32",
            "upload_time_iso_8601": "2024-07-21T02:47:32.973939Z",
            "url": "https://files.pythonhosted.org/packages/5d/d5/30ee6c0f40ad1caab9b29f41641ee621bb1293b638be96e2339e121ad91b/airbyte_source_shopify-2.4.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "372dfef04dbe86faa0cb41e466f6070214d6031fd68af4f7623359ea341e6d5b",
                "md5": "d00587143281b0ca134741903ab0604b",
                "sha256": "12efb81c7e317db1340ea465b4ce3603ef433d29f01b8c8ab7ba499b4a8010c4"
            },
            "downloads": -1,
            "filename": "airbyte_source_shopify-2.4.14.tar.gz",
            "has_sig": false,
            "md5_digest": "d00587143281b0ca134741903ab0604b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 214503,
            "upload_time": "2024-07-21T02:47:34",
            "upload_time_iso_8601": "2024-07-21T02:47:34.769664Z",
            "url": "https://files.pythonhosted.org/packages/37/2d/fef04dbe86faa0cb41e466f6070214d6031fd68af4f7623359ea341e6d5b/airbyte_source_shopify-2.4.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-21 02:47:34",
    "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.27918s