Git Product home page Git Product logo

parallel-launcher's Introduction

parallel-launcher

Это обертка над GNU Parallel, призванная уменьшить ручной труд и увеличить производительность труда. Обычно я пишу код на С и со временем мне приходится передаватьв негов качестве аргументов больше 10 параметров. Это эмммм... утомляет. А пропустить один и получить на выходе мусор - совсем неприятно.:unamused:

Поэтому я написал parallel-launcher!

Особенности

  • Каждый вводимый параметр является строкой (если не должен быть раскрыт). Никаких потерь на приведение типов.

  • Киллер-фича: диапазоны!

Легким движением руки 20:20:300 превращается в 20 40 60 80 100 120 140 160 180 200 220 240 260 280 300

  • Авто-подстановка значения по умолчанию. Просто нажми Enter!

Как оно работает

  • Подготавливается конфигурация, она же файл настроек, включающая в себя список всех параметров, их порядок, значения по умолчанию и т. д. Если посмотреть на пример, станет понятнее.

  • Конфигурация импортируется в основном файле.

  • Всё! Интерактивная программа запуска готова к работе!

parallel-launcher GIF


It is a wrapper for GNU Parallel created to minimize manual labor with my scientific code. My simulation programs are often written in C and have 10+ command line arguments. Filling them all up is really tedious. I have grown tired of losing a parameter and having computed junk:unamused:

So now we have parallel-launcher!

Features

  • Every input is treated as a string unless they should be expanded, so they are safe!

  • Killer-feature: Ranges expansion!

20:20:300 will be transmuted into 20 40 60 80 100 120 140 160 180 200 220 240 260 280 300

  • Auto substitute of default value. Just press Enter!

How it works

  • A configuration ('settings') file must be prepared. It includes all parameters to pass to main executable, their order and other stuff. Have a look at an example, it is documented.
  • Import settings inside main file.
  • That's it! You now have an interactive GNU Parallel launcher.

parallel-launcher's People

Contributors

xtotdam avatar

Watchers

 avatar  avatar

parallel-launcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.