Skip to main content

attr: ptask.__doc__

Project description

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.

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

ptask-0.0.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

ptask-0.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ptask-0.0.1.tar.gz.

File metadata

  • Download URL: ptask-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for ptask-0.0.1.tar.gz
Algorithm Hash digest
SHA256 81e143a38e10c87ea0247ed1d8ebd54ed3cba0af0ccbb055cba23515292579cb
MD5 785bc7f467a1408c4061fda20f71726f
BLAKE2b-256 f1a63a8ef48879aedde528b05dc49d135f87295b3e3a77224cfc371b8192b786

See more details on using hashes here.

File details

Details for the file ptask-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ptask-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for ptask-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e29a5ac5a6e97b5e95a2f4e3c7c75f2257d348f7c9025add945e9f2ad1194a4
MD5 5ba1d019dbeed56ebf59598412541f3d
BLAKE2b-256 0506933ddf5b982d554ff9ef47a8c034ff422d507b879acf1bc02e3eb4743a2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page