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")

Metadata

Release files for momake 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for momake 0.1.0
File Size Uploaded
momake-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for momake 0.1.0
File Interpreter ABI Platform
momake-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / momake-0.1.0.tar.gz

Download URL momake-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fe8fe63117bdeebabaaaa1fb6e91c1f897823f02ab8bb671e2734a7d2b93f27c
BLAKE2b-256 checksum
How to use checksums
1872537ad67d5f4c5de4e07a30098550c97ce7abbe3ee9bc12c2c2647815ffee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.2 Linux/6.14.2-arch1-1

Release files / momake-0.1.0-py3-none-any.whl

Download URL momake-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f07ecbf1dd0f133eb9cc9959094f272ae99d8db9235e831bae41087fbde595ef
BLAKE2b-256 checksum
How to use checksums
622c1a4cda9813bb0939e790070c5195654a8996277fd394354119f4748457a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.2 Linux/6.14.2-arch1-1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page