pystac-generator


Namepystac-generator JSON
Version 0.1.20 PyPI version JSON
download
home_pageNone
SummaryA python package and CLI tool for generating STAC catalog from spatial data files
upload_time2024-12-14 22:36:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT
keywords stac generator stac-generator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # stac-generator

Documentation [page](https://aus-plant-phenomics-network.github.io/stac-generator/)

Examples of stac generator [configs](./example/configs/) in csv/json/yaml

Examples of generated stac items for [point]() data, [vector]() data, [raster]() data

## CLI Commands

Generating point collection and push to remote

```bash
pdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/unit_tests/point/config/point_data_config.json --dst http://115.146.84.224:8082 --id test_point_data -v
```

Generating vector collection and push to remote

```bash
pdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/unit_tests/vector/config/vector_config.json --dst http://115.146.84.224:8082 --id test_vector_data
```

## For developers

Clone:

```bash
git clone https://github.com/aus-plant-phenomics-network/stac-generator.git
```

Install dependencies:

```bash
pdm install
```

Run tests:

Note that you may need to set the environment variable `REMOTE_FIXTURE_URL` either through commands or via a `.env` file. The value of this variable
can be found on the github [repository](https://github.com/aus-plant-phenomics-network/stac-generator/settings/environments/4607709709/edit) under Settings - Environments - Environment Variables.

```bash
make test
```

Run static analysis

```bash
make lint
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pystac-generator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "stac, generator, stac-generator",
    "author": null,
    "author_email": "Joseph Sclauzero <joseph.sclauzero@adelaide.edu.au>",
    "download_url": "https://files.pythonhosted.org/packages/d8/f7/970a197750950dcc388f272695c498064f87c4932b8918d084a2d7ab2e34/pystac_generator-0.1.20.tar.gz",
    "platform": null,
    "description": "# stac-generator\n\nDocumentation [page](https://aus-plant-phenomics-network.github.io/stac-generator/)\n\nExamples of stac generator [configs](./example/configs/) in csv/json/yaml\n\nExamples of generated stac items for [point]() data, [vector]() data, [raster]() data\n\n## CLI Commands\n\nGenerating point collection and push to remote\n\n```bash\npdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/unit_tests/point/config/point_data_config.json --dst http://115.146.84.224:8082 --id test_point_data -v\n```\n\nGenerating vector collection and push to remote\n\n```bash\npdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/unit_tests/vector/config/vector_config.json --dst http://115.146.84.224:8082 --id test_vector_data\n```\n\n## For developers\n\nClone:\n\n```bash\ngit clone https://github.com/aus-plant-phenomics-network/stac-generator.git\n```\n\nInstall dependencies:\n\n```bash\npdm install\n```\n\nRun tests:\n\nNote that you may need to set the environment variable `REMOTE_FIXTURE_URL` either through commands or via a `.env` file. The value of this variable\ncan be found on the github [repository](https://github.com/aus-plant-phenomics-network/stac-generator/settings/environments/4607709709/edit) under Settings - Environments - Environment Variables.\n\n```bash\nmake test\n```\n\nRun static analysis\n\n```bash\nmake lint\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A python package and CLI tool for generating STAC catalog from spatial data files",
    "version": "0.1.20",
    "project_urls": {
        "repository": "https://github.com/JosephUoA/stac-generator"
    },
    "split_keywords": [
        "stac",
        " generator",
        " stac-generator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89299d26d633f9f449e286f0e1b61ebc84297ac0e431121941b50beb5b7da96c",
                "md5": "76b6617963b8ba90dc99a226c4aca1a6",
                "sha256": "6fbb68f088ff7221be4ba4c9e394fada3755d77273ef6487bf1e156a407edbc9"
            },
            "downloads": -1,
            "filename": "pystac_generator-0.1.20-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "76b6617963b8ba90dc99a226c4aca1a6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 22254,
            "upload_time": "2024-12-14T22:36:37",
            "upload_time_iso_8601": "2024-12-14T22:36:37.620306Z",
            "url": "https://files.pythonhosted.org/packages/89/29/9d26d633f9f449e286f0e1b61ebc84297ac0e431121941b50beb5b7da96c/pystac_generator-0.1.20-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8f7970a197750950dcc388f272695c498064f87c4932b8918d084a2d7ab2e34",
                "md5": "0f900b365ca3f2eefa6de24352961f7a",
                "sha256": "3452eaa9ceb5eba8419342976e56311889152c4b82b2c5005b073b4eea680d8f"
            },
            "downloads": -1,
            "filename": "pystac_generator-0.1.20.tar.gz",
            "has_sig": false,
            "md5_digest": "0f900b365ca3f2eefa6de24352961f7a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 2186134,
            "upload_time": "2024-12-14T22:36:45",
            "upload_time_iso_8601": "2024-12-14T22:36:45.352490Z",
            "url": "https://files.pythonhosted.org/packages/d8/f7/970a197750950dcc388f272695c498064f87c4932b8918d084a2d7ab2e34/pystac_generator-0.1.20.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-14 22:36:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "JosephUoA",
    "github_project": "stac-generator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pystac-generator"
}
        
Elapsed time: 8.22634s