Cairo dependency management and packaging made easy.
Project description
Felucca: Dependency Management for Cairo
Felucca helps you declare, manage and install dependencies of Cairo projects, ensuring you have the right stack everywhere.
Installation
It supports Python 3.9+:
pip install felucca
Introduction
felucca
is a tool to handle Cairo contracts installation as well as its packaging levaraging Python native capabilities. Felucca uses Poetry under the hood to handle all Python project management using the standardized pyproject.toml
.
Why?
Cairo contracts development works very closely with Python for project management, dependency installation and testing. Felucca tries to simplify the process of sharing, installing and managing Cairo contracts between differents projects and working in a more natural manner where packages evolve over time and dependant projects doesn't have to upgrade Cairo contracts manually. Using Felucca's approach to leverage Python capabilties in terms of dependency management and project structure gives many advantages:
- Unified project structure across Cairo packages.
- Rapid adaptation to changes as the ecosystem evolves.
- Compatibility management between Cairo contracts with different Cairo versions.
- Effortless installation for quick usage in new packages.
- Traceability of Cairo packages and releases.
- Global availability of Cairo packages.
- Many more...
Usage
This tool provides a set of different command to handle all the product lifecycle for dependency and package management.
Cairo package project structure creation
felucca new <package_name>
This command will create a project structure for Cairo packages from a template ready to be used for development.
Cairo package installation
felucca install felucca-package-example
This command will install the Cairo package into the project while checking Cairo compatibility, keeping traceability using the pyproject.toml
file to save required metadata and installing the Cairo contracts into the project.
Cairo package uninstall
felucca uninstall felucca-package-example
This command will remove the Cairo package from the project and all the related metadata.
Cairo package setup
felucca setup
If you want to check if your project is ready to work as a Cairo package this command will check all the needed requirements to do so. If not properly setup it will fix it for you automatically.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file felucca-0.2.5.tar.gz
.
File metadata
- Download URL: felucca-0.2.5.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ee861cde7700be41ce485d763ba41d3a392366a1d27a7afe419c17df813721b |
|
MD5 | beaa274c0e3ee814bbc894a5ee011dba |
|
BLAKE2b-256 | 15977d788cd8495ad563241d22f36324eaaca47ca40e8151a51314620b50236a |
File details
Details for the file felucca-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: felucca-0.2.5-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.16 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e98e833618a8e708d89759659a3b202c5f82a5d85b826817724311adb04b053 |
|
MD5 | bc8e9c712cf2f1f2d0f1ea6e380adf31 |
|
BLAKE2b-256 | 033be844e1f84de26527f88bc5950fd6a36e1a89bc13ed2cebb5538d06566711 |