Coder Social home page Coder Social logo

aurornis's Introduction

Hi there ๐Ÿ‘‹

I'm a backend developer at Les-Tilleuls.coop and an amateur astronomer.

On my free time, I create and maintain:

  • Kosmorro, an astronomy software that helps you to prepare your observation nights
  • f2ap, a server application to connect your website to the Fediverse thanks to your RSS/Atom feed.
  • Twason, a Twitch chatbot that you configure with a JSON file
  • checksitemap, a simple program to validate a website sitemap
  • Aurornis, a Python library to help testing command line software

I also contribute to the following projects on a more or less regular basis:

You can also find me on:

aurornis's People

Contributors

dependabot[bot] avatar deuchnord avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aurornis's Issues

Add support for standard input

Provide a new argument to the run() command:

def run(
    command: [str],
    environment: {str: str} = None,
    remove_colors: bool = False,
+   stdin: [str] = []
) -> CommandResult

When the stdin argument is set, each value is consecutively sent to the standard input each time the command waits for an user input.

When the command finishes, there are three possible scenarii:

  • the command has consumed all the values
  • the command has consumed less values than provided
  • the command has tried to consume more values than provided

In all these cases, the command should return a CommandResult object. This object will contain a new value, consumed_stdin_values of type int, which contains the number of values of the standard input that have actually by consumed.
The object may also provide a new method, is_stdin_fully_consumed(): bool, that returns True if and only if consumed_stdin_values is exacly equal to the number of values provided in the stdin argument of the run() function.

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.