Coder Social home page Coder Social logo

terminal-colors's People

Contributors

codelongandprosper90 avatar eikenb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terminal-colors's Issues

[REQUEST]: Better Packaging

Is there any possibility of packaging only the script in the releases section as it would allow making packages for package managers (such as Portage easier) as there would be no need of any intermediate step such as distfiles to download the script.

An example of the packaging would just be script in a tar.gz or .gz file.

Option --test break the results

Hi
Im doing the packaging to colortest-python but testing the program im get this issue

$ ./terminal-colors --test
Running tests...


File "./terminal-colors", line 187, in main.term16.ansicodes
Failed example:
term16.ansicodes()[1][:6]
Expected:
[' ', ' _ ', ' 40m ', ' 41m ', ' 42m ', ' 43m ']
Got:
[' ', ' _ ', ' 40m ', ' 41m ', ' 42m ', ' 43m ']


File "./terminal-colors", line 191, in main.term16.ansicodes
Failed example:
term16.ansicodes()[2][17][0]
Expected:
'\x1b[1;37m\x1b[_ gYw \x1b[0m'
Got:
'\x1b[1;37m\x1b[_ gYw \x1b[0m'


1 items had failures:
2 of 4 in main.term16.ansicodes
Test Failed 2 failures.
Done.

Correctly sign releases with GnuPG

In #7 signatures for releases were added.

However, the signature files are invalid. How did you create them? What key did you use?

Current signatures are not valid:

$ gpg --verify terminal-colors-3.0.1.zip.asc
gpg: no signed data
gpg: can't hash datafile: No data


$ gpg --verify terminal-colors-3.0.1.tar.gz.asc
gpg: no signed data
gpg: can't hash datafile: No data


$ cat terminal-colors-3.0.1.tar.gz.asc
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEzPhKluB/h4GYxGUCPZqeWROpRaIFAl6KTvkACgkQPZqeWROp
RaL6/Af7BqGNEqXrlsH2p7gjpg3xFhu+bp8rULQQRtGYCukFM+q+uLBCEWWerIqQ
ocPB6cvIf4uSTTL8P8QIjykdjIcF7O4QTVcUiHDitpUDZW6ULoz4sUdJUHJP7T8T
Jyc+p4POXj0PZmpwldbVQHf6C/1KZpY/0ga7Uv5hkerQeTDobfatmn7ArRmzj2eC
DQabyz12ocsCMwE8rOBfj/GxWd5aOxXPA8E0+SujmLAJBNWuXTZy45txIZKsY+Eu
B9lXkdc/MdXC0r4a0DEK+OzvXOjTgXdp/UcPK0OxHtwdcMD0p/ywE93pWegtmL3o
VKbeDts1S/dA64ccSTCJiRxv/ThdXQ==
=wiqh
-----END PGP SIGNATURE-----

$ cat terminal-colors-3.0.1.zip.asc
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEzPhKluB/h4GYxGUCPZqeWROpRaIFAl6KegIACgkQPZqeWROp
RaJRzAf9ELI7OxuUI3uxYw6mEa7t97a+HTsf5k0s9qrv8ZdeNtShyJxNuoEm2c0/
z1PTz6hSDdFjxGRsuD2OS2jRNuXQhVCvFR8rcRwnDXqhY+wcb4ve2MANFnfaAd4e
v9QIyFAcTDoTZd3qSwIIZk+3GJmEmwOwVQDj7vTYKgCrLFGLdarumQ/cVOLrQQEG
uIdt6C8KcTxerS/n6cfc8XBcFJrwOOmBkF7ikh/804uchh7qfehMg13BeDOycUHj
47uGXL9LLzNbWIqM76o3VaXuAQe+WlW2ckKTLFF3hZcJM6mrOtKWE/wLAlHBbmyE
S+QttPo2Y+4qnYzJx0Bn6rNcsuYKng==
=RmRF
-----END PGP SIGNATURE-----

shorten the basic colors chart

for the basic chart, there are 2 spaces on both sides of the text(gYw), but one space is clearly enough

these spaces just broke every line on my phone, and this may help testing on a small screen

Migration to python3

Hi

My name is Pablo Mestre and I am interested in resuming the maintenance of your project to package in Debian where I leave it Jari Aalto
https://salsa.debian.org/elMor3no-guest/colortest-python/commit/12e18a3f5db1e90c0d610423ed5db68f5690d80f

I noticed that although the terminal-color is compatible with python3 it has not yet fully migrated which will be a problem in the next real Debian.
https://salsa.debian.org/elMor3no-guest/colortest-python/commit/1a5fec2f6bbdec6cb7079548abd0ff0039eb80fd

I would like to know if you have plans to update the project to python3?

Best regards,

Publish to pip and/or npm

Could you please upload this script to pip and/or npm? It makes things easier for everybody. Also, npm isn't only for JavaScript community, it's language-agnostic manager, that works too.

"no color support" on Windows with windows-curses

colortest-python quits with an error on Windows with windows-curses. If I remove if num_colors > 0: in _terminal, the script works just fine.

I would suggest to take an EAFP approach than LBYL, meaning, not to test curses.tigetnum('colors').

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.