-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added updated docstrings and tox for tests
- Loading branch information
Showing
7 changed files
with
132 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
''' | ||
acrylic is a simple and intutive library to work with color in python. | ||
It can be used to handle color data, easily convert between different | ||
color spaces and work with colorschemes. acrylic currently supports the | ||
following color formats: | ||
rgb, hsl, hsv, hex, name, ryb | ||
Try this for more details on how to use acrylic: | ||
>>> from acrylic import Color | ||
>>> help(Color) | ||
''' | ||
|
||
|
||
__version__ = '0.3.0' | ||
|
||
|
||
from .Color import Color | ||
from .Defaults import RANDOM | ||
from . import Schemes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name="acrylic", | ||
version="0.2.2", | ||
version="0.3.0", | ||
author="Arsh", | ||
author_email="[email protected]", | ||
description="A simple and intuitive library to work with colors in python", | ||
|
@@ -18,6 +18,7 @@ | |
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 4 - Beta", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND=noninteractive apt install -y \ | ||
software-properties-common python3-pip && \ | ||
add-apt-repository -y ppa:deadsnakes/ppa && \ | ||
python3 -m pip install pytest tox | ||
|
||
RUN apt install -y python3.6 python3.7 python3.9 | ||
|
||
WORKDIR /tests | ||
|
||
CMD ["tox"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[tox] | ||
envlist = py36,py37,py38,py39 | ||
|
||
[testenv] | ||
deps = pytest | ||
commands = pytest |