Skip to main content

The main tool to build, upload, and develop in general the Juju charms.

Project description

Charmcraft

Charmcraft Documentation Status Tests Spread Weekly Spread

Charmcraft is the command-line tool for initializing, packaging, and publishing charms, the software operators used by Juju. With Charmcraft, you can bypass the boilerplate steps of crafting a charm and focus on what matters — building scalable, configurable, and easy-to-deploy applications for Juju.

Basic usage

Charmcraft provides commands to streamline every step of the charm development process, from initializing your charm project to releasing it on Charmhub.

In your project's root directory, initialize your charm project with basic template content by running:

charmcraft init

Once you've configured your project to suit the needs of the application you're charming, build the charm by running:

charmcraft pack

If you're ready to distribute your charm, you can register its name on Charmhub with:

charmcraft register

Upload your charm and any subsequent revisions to Charmhub with:

charmcraft upload

Installation

Charmcraft is available on all major Linux distributions and macOS.

The recommended way to install Charmcraft on Linux systems is through its snap.

sudo snap install charmcraft --classic

For information on installing Charmcraft on other platforms, refer to our installation guide.

Documentation

The Charmcraft documentation provides guidance and learning materials for every step of the charming process. Whether you're new to charming or a seasoned expert, this is the best place to deepen your knowledge.

Community and support

To get in touch with developers and other charmcraft-badge: https://snapcraft.io/charmcraft/badge.svg charmcraft-site: https://snapcraft.io/charmcraft members of the charming community, reach out on the forum or in our Matrix channel.

You can report any issues or bugs on the project's GitHub repository.

Charmcraft is covered by the Ubuntu Code of Conduct.

Contribute to Charmcraft

Charmcraft is open source and part of the Canonical family. We would love your help.

If you're interested, start with the contribution guide.

We welcome any suggestions and help with the docs. The Canonical Open Documentation Academy is the hub for doc development, including Charmcraft docs. No prior coding experience is required.

License and copyright

Charmcraft is released under the Apache-2.0 license

© 2023-2025 Canonical Ltd.

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

charmcraft-4.3.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

charmcraft-4.3.0-py3-none-any.whl (281.5 kB view details)

Uploaded Python 3

File details

Details for the file charmcraft-4.3.0.tar.gz.

File metadata

  • Download URL: charmcraft-4.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for charmcraft-4.3.0.tar.gz
Algorithm Hash digest
SHA256 90e9f4f2d72223d0510e8752167bd8e0d45dc2b6c3fe3bac39990ffae1c6de20
MD5 d4f9337675970552baae2e4f7cda7e9e
BLAKE2b-256 5f4270ca3f5a4337f80b555de3355876de64869c84f8fcd927d78431b9252f20

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmcraft-4.3.0.tar.gz:

Publisher: release-publish.yaml on canonical/charmcraft

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

File details

Details for the file charmcraft-4.3.0-py3-none-any.whl.

File metadata

  • Download URL: charmcraft-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 281.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for charmcraft-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95c4e1562a667e1d9d3de66cc1554c72d43d373138b067140bc4027f147262b1
MD5 7e061b832c4118ee1e5aa531b8de2fe3
BLAKE2b-256 d8060d93ab31cc44f1cc2080b420a3049048292d40be4a5f99a92b0f71eb1118

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmcraft-4.3.0-py3-none-any.whl:

Publisher: release-publish.yaml on canonical/charmcraft

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