colorim 0.2.2__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: colorim
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: A library based off Colorama/Rich with extra features like RGB and hex
5
5
  Author: im-lemon
6
6
  Requires-Python: >=3.8
@@ -24,3 +24,7 @@ Upcoming updates:
24
24
  - Gradient (Lolcat) type text.
25
25
  - More custom predefined colours.
26
26
  - *And more!*
27
+
28
+ ---
29
+ # !! DYNAMICBLOX DID NOT CONTRIBUTE !!
30
+ **IT IS A GLITCH.**
@@ -15,4 +15,8 @@ Upcoming updates:
15
15
  -
16
16
  - Gradient (Lolcat) type text.
17
17
  - More custom predefined colours.
18
- - *And more!*
18
+ - *And more!*
19
+
20
+ ---
21
+ # !! DYNAMICBLOX DID NOT CONTRIBUTE !!
22
+ **IT IS A GLITCH.**
@@ -3,6 +3,6 @@ from .rgb import Rgb
3
3
  from .hex_codes import Hex
4
4
  from .hextorgb import Convert
5
5
 
6
- __version__ = "0.2.2"
6
+ __version__ = "0.2.4"
7
7
 
8
8
  __all__ = ["Hex","Rgb","Color","Convert"]
@@ -3,6 +3,8 @@ class Color:
3
3
  GREEN_CODE = "\033[32;1m"
4
4
  BLUE_CODE = "\033[34;1m"
5
5
  PURPLE_CODE = "\033[38;2;179;0;254m"
6
+ CHROME_YELLOW_CODE = "\033[38;255;171;0"
7
+ DIAMOND_CODE = "\033[38;204;202;251"
6
8
  CYAN_CODE = "\033[36;1m"
7
9
  YELLOW_CODE = "\033[0;93m"
8
10
  LIGHT_YELLOW_CODE = "\033[1;93m"
@@ -41,4 +43,12 @@ class Color:
41
43
  @classmethod
42
44
  def light_yellow(cls, text):
43
45
  output=cls.LIGHT_YELLOW_CODE+text+cls.END
46
+ return output
47
+ @classmethod
48
+ def chrome_yellow(cls, text):
49
+ output=cls.CHROME_YELLOW_CODE+text+cls.END
50
+ return output
51
+ @classmethod
52
+ def diamond(cls, text):
53
+ output=cls.DIAMOND_CODE+text+cls.END
44
54
  return output
@@ -9,5 +9,4 @@ class Convert:
9
9
  r=int(r,16)
10
10
  g=int(g,16)
11
11
  b=int(b,16)
12
- return f"{hex} is {r},{g},{b} in RGB. It looks like this:\n"
13
- return Rgb.rgb(r,g,b, text="Hello world")
12
+ return f"{hex} is {r} ,{g} ,{b} in RGB."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: colorim
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: A library based off Colorama/Rich with extra features like RGB and hex
5
5
  Author: im-lemon
6
6
  Requires-Python: >=3.8
@@ -24,3 +24,7 @@ Upcoming updates:
24
24
  - Gradient (Lolcat) type text.
25
25
  - More custom predefined colours.
26
26
  - *And more!*
27
+
28
+ ---
29
+ # !! DYNAMICBLOX DID NOT CONTRIBUTE !!
30
+ **IT IS A GLITCH.**
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "colorim"
7
- version = "0.2.2"
7
+ version = "0.2.4"
8
8
  description = "A library based off Colorama/Rich with extra features like RGB and hex"
9
9
  authors = [
10
10
  { name = "im-lemon" }
File without changes
File without changes
File without changes