Skip to main content

Painless Project

Painless project is a simple cross-platform command line tool written in Python for a build task configurations & management

Table of Contents

Getting Started

Installation

Install via pypi:

pip install project

Now you can use the cli tool to manage your build, here is an overview of it:

usage: project build_type [options]

A cli tool for manage and config project build

positional arguments:
  build_type            set the build type based on your task setup

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -i, --info            print the current build's information
  -f FILE, --file FILE  custom file task configuration
  -p PATH, --path PATH  custom build path for the project

Happy building your project! :)

Setup your configurations

The aim of this tool is not a replacement for any build system out there. It's an addon to them, so you can manage to setup your builds on multiple OS.

The tool is looking for one of the file for checking the command:

.projecttask

tasks.ini

.config/tasks.ini

If you don't like the file name or location, you can specify your own file tasks with -f flag.

And here is a task file example:

[win32]
init=cmake -B build -G "MinGW Makefiles"
build=cmake --build build
clean=rmdir /S/Q build && mkdir build
run=bin\main.exe

[macos]
init=cmake -B build -H.
build=cmake --build build
clean=rm -r build && mkdir build
run=bin/main

Then you can run the project init command, the tool will look into the right command to run based on your OS.

Metadata

Release files for ptask 0.0.1

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

Source distribution (sdist)

Source distribution for ptask 0.0.1
File Size Uploaded
ptask-0.0.1.tar.gz 5.6 kB Details

Built distribution (wheel)

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

Total release size: 12.6 kB

Release files / ptask-0.0.1.tar.gz

Download URL ptask-0.0.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
81e143a38e10c87ea0247ed1d8ebd54ed3cba0af0ccbb055cba23515292579cb
BLAKE2b-256 checksum
How to use checksums
f1a63a8ef48879aedde528b05dc49d135f87295b3e3a77224cfc371b8192b786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / ptask-0.0.1-py3-none-any.whl

Download URL ptask-0.0.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e29a5ac5a6e97b5e95a2f4e3c7c75f2257d348f7c9025add945e9f2ad1194a4
BLAKE2b-256 checksum
How to use checksums
0506933ddf5b982d554ff9ef47a8c034ff422d507b879acf1bc02e3eb4743a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.0.1 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