fme-packager


Namefme-packager JSON
Version 1.6.0 PyPI version JSON
download
home_pagehttps://github.com/safesoftware/fme-packager
SummaryTool for creating FME Packages.
upload_time2023-10-10 17:30:32
maintainer
docs_urlNone
authorSafe Software Inc.
requires_python>=3.7
licenseBSD
keywords fme fmeobjects
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fme-packager: FME Package Creator

`fme-packager` is a Python command-line tool for validating and creating FME Packages.
Give it the path to an FME Package directory, and it'll do some quick checks
and build an `.fpkg` file out of it.

The validations done by `fme-packager` will catch common mistakes in package development,
but is still very basic. The FME Packages it creates will be
validly formed according to the FME Packages Specification,
but whether the installed components function correctly within FME is not in its scope.


## Install

Download the latest whl distribution from the releases page. Then install it:

```
$ pip install [fme-packager].whl
```

Once installed, the `fme-packager` command is available on your system.
`fme-packager --help` shows an overview of commands.


## What it does

* Validate package.yml against the FME Packages Specification.
* Verifies that components listed in package.yml are present.
* Checks that transformer and format names are valid and well-formed.
* Verifies that the transformer version in the package.yml is
  included in the FMX.
* Requires that Custom Transformers be Linked Always, declare Python 3 support,
  and authored with a sufficiently recent version of FME Workbench.
* Excludes components that are present in directories,
  but not listed in package.yml.
* Cleans and rebuilds wheels for Python packages that are subdirectories of `python/`.
* Copies wheels from `python/*/dist` into `python/`.
* Enforces required package icon dimensions.

These steps are done while copying files into a temporary build directory,
so existing files are not modified.


## Get started with a template

`fme-packager init [template name]` helps you get started with developing FME Packages by
using [Cookiecutter](https://cookiecutter.readthedocs.io/) templates.

Available templates:

* `transformer`: [Transformer template for FME Packages](https://github.com/safesoftware/fpkg-transformer-template)

_These templates are not currently bundled with fme-packager._


## Make an fpkg distribution

Call `fme-packager pack` with the path to your package directory (it contains package.yml):

```
$ fme-packager pack my-package
```

If everything went well, the fpkg will be in `my-package/dist/`.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/safesoftware/fme-packager",
    "name": "fme-packager",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "FME fmeobjects",
    "author": "Safe Software Inc.",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/34/b9/ba1e15cad031903b370064d521f4129ebc25565fcb2cdac6626bad97edda/fme_packager-1.6.0.tar.gz",
    "platform": null,
    "description": "# fme-packager: FME Package Creator\n\n`fme-packager` is a Python command-line tool for validating and creating FME Packages.\nGive it the path to an FME Package directory, and it'll do some quick checks\nand build an `.fpkg` file out of it.\n\nThe validations done by `fme-packager` will catch common mistakes in package development,\nbut is still very basic. The FME Packages it creates will be\nvalidly formed according to the FME Packages Specification,\nbut whether the installed components function correctly within FME is not in its scope.\n\n\n## Install\n\nDownload the latest whl distribution from the releases page. Then install it:\n\n```\n$ pip install [fme-packager].whl\n```\n\nOnce installed, the `fme-packager` command is available on your system.\n`fme-packager --help` shows an overview of commands.\n\n\n## What it does\n\n* Validate package.yml against the FME Packages Specification.\n* Verifies that components listed in package.yml are present.\n* Checks that transformer and format names are valid and well-formed.\n* Verifies that the transformer version in the package.yml is\n  included in the FMX.\n* Requires that Custom Transformers be Linked Always, declare Python 3 support,\n  and authored with a sufficiently recent version of FME Workbench.\n* Excludes components that are present in directories,\n  but not listed in package.yml.\n* Cleans and rebuilds wheels for Python packages that are subdirectories of `python/`.\n* Copies wheels from `python/*/dist` into `python/`.\n* Enforces required package icon dimensions.\n\nThese steps are done while copying files into a temporary build directory,\nso existing files are not modified.\n\n\n## Get started with a template\n\n`fme-packager init [template name]` helps you get started with developing FME Packages by\nusing [Cookiecutter](https://cookiecutter.readthedocs.io/) templates.\n\nAvailable templates:\n\n* `transformer`: [Transformer template for FME Packages](https://github.com/safesoftware/fpkg-transformer-template)\n\n_These templates are not currently bundled with fme-packager._\n\n\n## Make an fpkg distribution\n\nCall `fme-packager pack` with the path to your package directory (it contains package.yml):\n\n```\n$ fme-packager pack my-package\n```\n\nIf everything went well, the fpkg will be in `my-package/dist/`.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Tool for creating FME Packages.",
    "version": "1.6.0",
    "project_urls": {
        "Homepage": "https://github.com/safesoftware/fme-packager"
    },
    "split_keywords": [
        "fme",
        "fmeobjects"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7acea385910e00a7606f6502d136cca708ccf14138ddb8d39005cdc4beea27d2",
                "md5": "6a618f5252aef265f4a644b572ed3192",
                "sha256": "d440d47a9e28e827cb1287e630d1ac0ee8050622078c9c0b9356d504618ca29c"
            },
            "downloads": -1,
            "filename": "fme_packager-1.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6a618f5252aef265f4a644b572ed3192",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 21538,
            "upload_time": "2023-10-10T17:30:31",
            "upload_time_iso_8601": "2023-10-10T17:30:31.252730Z",
            "url": "https://files.pythonhosted.org/packages/7a/ce/a385910e00a7606f6502d136cca708ccf14138ddb8d39005cdc4beea27d2/fme_packager-1.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34b9ba1e15cad031903b370064d521f4129ebc25565fcb2cdac6626bad97edda",
                "md5": "5fd9c6fb14965e48543cbad1c8bd3387",
                "sha256": "77a3f5cf8829462609106857c8a8219b4ed4f919db9a81da28c887fec60d256e"
            },
            "downloads": -1,
            "filename": "fme_packager-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5fd9c6fb14965e48543cbad1c8bd3387",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 23883,
            "upload_time": "2023-10-10T17:30:32",
            "upload_time_iso_8601": "2023-10-10T17:30:32.805572Z",
            "url": "https://files.pythonhosted.org/packages/34/b9/ba1e15cad031903b370064d521f4129ebc25565fcb2cdac6626bad97edda/fme_packager-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-10 17:30:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "safesoftware",
    "github_project": "fme-packager",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "fme-packager"
}
        
Elapsed time: 0.18063s