Skip to main content

Modern Make

Proof of concept for a python make

How to use

$ poetry install
$ poetry run momake

All tasks needs to be in momaketasks.py or momaketasks module.

Example:

from momake.dependency import FileDependency
from momake.task import Task


class Readme(Task):
    name = "readme"

    dependecies = [
        FileDependency(".", "README.md"),
    ]

    def action(self):
        print("readme task")


readme = Readme()


class Lint(Task):
    name = "lint"

    dependecies = [
        readme,
        FileDependency("momake", "*.py"),
    ]

    def action(self):
        print("lint task")

Download files

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

Source Distribution

momake-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

momake-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file momake-0.1.0.tar.gz.

File metadata

  • Download URL: momake-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Linux/6.14.2-arch1-1

File hashes

Hashes for momake-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe8fe63117bdeebabaaaa1fb6e91c1f897823f02ab8bb671e2734a7d2b93f27c
MD5 594ce8979e0a01d7f64890a100c1d17a
BLAKE2b-256 1872537ad67d5f4c5de4e07a30098550c97ce7abbe3ee9bc12c2c2647815ffee

See more details on using hashes here.

File details

Details for the file momake-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: momake-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Linux/6.14.2-arch1-1

File hashes

Hashes for momake-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f07ecbf1dd0f133eb9cc9959094f272ae99d8db9235e831bae41087fbde595ef
MD5 e35b98558c1760c714422d715a965cf5
BLAKE2b-256 622c1a4cda9813bb0939e790070c5195654a8996277fd394354119f4748457a5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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