Git Product home page Git Product logo

cowsay-python's Issues

PyPI version?

You granted me access to push updates to the cowsay PyPI package, and I uploaded v2.0 about 5 months ago. Lots of demos in https://github.com/pipxproject/pipx depend on cowsay. Recently it looks like v2.0 was erased. Should I stop relying on this version and just start a new one? cowsay is nice as a "hello world" package to test that tools are working, so hopefully it can remain with a valid console entry point.

Custom characters feature!

A cool feature that allows users to create their own custom characters and send them to get_output_string() and be able to see their messages being poped up by their custom-designed characters. Like a make such a thing:

my_worm = r'''
\
  \  _
    ("\
     ) )
    ( /
'''
print(cowsay.get_output_string(my_worm 'So much dust here..'))

The ascii art is not alignd in Python command line?

I have an issue about cowsay 2.0 in python,the ascii art is not alignd in Python command line. Like the picture below:

  • OS version: Microsoft Windows 10 version 1803
  • Python version:Python 3.7.2
  • cowsay version: cowsay.about() version ---> 2.0

pic_0129210255
pic_0129210307
pic_0129210319

Include methods that output cowsay as a string return value

I believe this project would benefit from providing some means of outputing cowsay as a string return value. For example, in my fork, cowsay.cow would return a string instead of printing to the console.

My fork: 24352a7

The reason I did that is so my discord bot can send cowsays in chats.

Please support piping into cowsay!

It would be great if cowsay command-line tool supported piping into it, eg.

echo Hello, world! | cowsay

As a simple way to implement it, you could use a different command-line switch (eg. -c or --) for pipe input, or syntax like -t -

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.