citate 1.0.0__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.
citate-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: citate
3
+ Version: 1.0.0
4
+ Summary: Quote formatter with different quote types
5
+ Author-email: MulticNews <escape.from.the.pickaxe@gmail.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # citate
10
+
11
+ Quote formatter with different quote types.
12
+
13
+ ## Usage
14
+
15
+ from citate import citate, Single, Double, Fir, Paws
16
+
17
+ citate(Fir, "Hello", "world") # «Hello world»
18
+ citate(Single, "Hello") # 'Hello'
19
+ citate(Double, "Hello") # "Hello"
20
+ citate(Paws, "Hello") # “Hello„
citate-1.0.0/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # citate
2
+
3
+ Quote formatter with different quote types.
4
+
5
+ ## Usage
6
+
7
+ from citate import citate, Single, Double, Fir, Paws
8
+
9
+ citate(Fir, "Hello", "world") # «Hello world»
10
+ citate(Single, "Hello") # 'Hello'
11
+ citate(Double, "Hello") # "Hello"
12
+ citate(Paws, "Hello") # “Hello„
@@ -0,0 +1,25 @@
1
+ Single = "Single"
2
+ Double = "Double"
3
+ Fir = "Fir"
4
+ Paws = "Paws"
5
+
6
+ Одинарные = Single
7
+ Двойные = Double
8
+ Ёлочки = Fir
9
+ Русскоязычные = Paws
10
+
11
+ def citate(quote_type, *args):
12
+ text = ' '.join(str(arg) for arg in args)
13
+
14
+ quotes = {
15
+ "Single": f"'{text}'",
16
+ "Double": f'"{text}"',
17
+ "Fir": f'«{text}»',
18
+ "Paws": f'“{text}„',
19
+ "Одинарные": f"'{text}'",
20
+ "Двойные": f'"{text}"',
21
+ "Ёлочки": f'«{text}»',
22
+ "Русскоязычные": f'“{text}„',
23
+ }
24
+
25
+ print(quotes.get(quote_type, f'«{text}»'))
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: citate
3
+ Version: 1.0.0
4
+ Summary: Quote formatter with different quote types
5
+ Author-email: MulticNews <escape.from.the.pickaxe@gmail.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # citate
10
+
11
+ Quote formatter with different quote types.
12
+
13
+ ## Usage
14
+
15
+ from citate import citate, Single, Double, Fir, Paws
16
+
17
+ citate(Fir, "Hello", "world") # «Hello world»
18
+ citate(Single, "Hello") # 'Hello'
19
+ citate(Double, "Hello") # "Hello"
20
+ citate(Paws, "Hello") # “Hello„
@@ -0,0 +1,7 @@
1
+ README.md
2
+ pyproject.toml
3
+ citate/__init__.py
4
+ citate.egg-info/PKG-INFO
5
+ citate.egg-info/SOURCES.txt
6
+ citate.egg-info/dependency_links.txt
7
+ citate.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ citate
@@ -0,0 +1,11 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "citate"
7
+ version = "1.0.0"
8
+ authors = [{ name = "MulticNews", email = "escape.from.the.pickaxe@gmail.com" }]
9
+ description = "Quote formatter with different quote types"
10
+ readme = "README.md"
11
+ requires-python = ">=3.8"
citate-1.0.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+