Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jramrath committed Dec 22, 2022
2 parents 814390e + 7bd6ba2 commit 66121e1
Show file tree
Hide file tree
Showing 23 changed files with 88 additions and 321 deletions.
35 changes: 30 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# textColor

This is an easy to use Python library which allows you to make your terminal outputs more colorful and therefore easier to read and understand.

It currently only works with Python3
Expand All @@ -8,7 +6,12 @@ The creator and maintainer is Jannik Ramrath (jramrath)

GitHub: https://github.com/jramrath/textColor

PiPy: https://pypi.org/project/textColor/
PyPi: https://pypi.org/project/textColor/


# Contributing

If you've found a bug or a typo, feel free to open an Issue on GitHub. Already have a solution? Make a Pull request and I'll take a look at your changes. Please make sure a similar Issue/Pull request doesn't already exist.


# Installation
Expand Down Expand Up @@ -48,6 +51,28 @@ print(tc.output("Success")) # will output '[>] Success' while '[>]' is gr
This library was published under the **GNU General Public License**. For more information take a look at the **LICENSE** file.


# Contributing
# Uploading to PyPi

More info [here](https://packaging.python.org/en/latest/tutorials/packaging-projects/).

Remove all old distribution files in 'dist/'

Make sure you have the latest version of 'build':

> python3 -m pip install --upgrade build
In the same directory as 'pyproject.toml':

> python3 -m build
Now that the distribution files have been generated, make sure twine is up to date:

> python3 -m pip install --upgrade twine
Again, in the same directory as 'pyproject.toml':

If you've found a bug or a typo, feel free to open an Issue on GitHub. Already have a solution? Make a Pull request and I'll take a look at your changes.
> python3 -m twine upload dist/*
>
> username: \_\_token__
>
> password: \<API token from pypi>
Empty file removed build/lib/test/__init__.py
Empty file.
14 changes: 0 additions & 14 deletions build/lib/test/test_textColor.py

This file was deleted.

Empty file removed build/lib/textColor/__init__.py
Empty file.
36 changes: 0 additions & 36 deletions build/lib/textColor/color.py

This file was deleted.

36 changes: 0 additions & 36 deletions build/lib/textColor/tc.py

This file was deleted.

36 changes: 0 additions & 36 deletions build/lib/textColor/textColor.py

This file was deleted.

36 changes: 0 additions & 36 deletions build/lib/textColor/textColorFunctions.py

This file was deleted.

Binary file removed dist/textColor-1.0.1-py3-none-any.whl
Binary file not shown.
Binary file removed dist/textColor-2.0.0-py3-none-any.whl
Binary file not shown.
Binary file removed dist/textColor-2.0.1-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file added dist/textcolor-3.0.0.tar.gz
Binary file not shown.
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "textColor"
version = "3.0.0"
authors = [
{ name="Jannik Ramrath", email="[email protected]" },
]
description = "This is an easy to use Python library which allows you to make your terminal outputs more colorful and therefore easier to read and understand "
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]

[project.urls]
"Homepage" = "https://github.com/jramrath/textColor"
"Bug Tracker" = "https://github.com/jramrath/textColor/issues"
25 changes: 0 additions & 25 deletions setup.py

This file was deleted.

Empty file removed test/__init__.py
Empty file.
14 changes: 0 additions & 14 deletions test/test_textColor.py

This file was deleted.

69 changes: 0 additions & 69 deletions textColor.egg-info/PKG-INFO

This file was deleted.

11 changes: 0 additions & 11 deletions textColor.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion textColor.egg-info/dependency_links.txt

This file was deleted.

2 changes: 0 additions & 2 deletions textColor.egg-info/top_level.txt

This file was deleted.

Loading

0 comments on commit 66121e1

Please sign in to comment.