Skip to main content

Tool for creating FME Packages.

Project description

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

Available templates:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fme_packager-1.18.2.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fme_packager-1.18.2-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file fme_packager-1.18.2.tar.gz.

File metadata

  • Download URL: fme_packager-1.18.2.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fme_packager-1.18.2.tar.gz
Algorithm Hash digest
SHA256 ba5d01a1dc145a3d3263509a5755ab13ddda9eda684b52943b3a83a34fe7f83b
MD5 656d86c4b0c034523bb6a52c3517e107
BLAKE2b-256 e908c84688eee2709787138025523edd41f2011f939f1f4dc39a35a7fba12460

See more details on using hashes here.

Provenance

The following attestation bundles were made for fme_packager-1.18.2.tar.gz:

Publisher: release-pypi.yml on safesoftware/fme-packager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fme_packager-1.18.2-py3-none-any.whl.

File metadata

  • Download URL: fme_packager-1.18.2-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fme_packager-1.18.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fd31e1ae327ca3d7086cf49d09c7d77165474728e6e979a97f28b36e4fdae47
MD5 8a15ddb752c7215167f8fb0bf1a216d7
BLAKE2b-256 31e711a688b7736d73fd9901d387a0d383aeb591719bb9e68a0f6b6dcd676c9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fme_packager-1.18.2-py3-none-any.whl:

Publisher: release-pypi.yml on safesoftware/fme-packager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page