stuff-with-strings 0.1.0__py2.py3-none-any.whl
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
class ItmToBeConverted(object):
|
|
2
|
+
|
|
3
|
+
def __init__(self, string):
|
|
4
|
+
self.string = string
|
|
5
|
+
|
|
6
|
+
def to_title(self):
|
|
7
|
+
|
|
8
|
+
splitted_str = f"{self.string}".split()
|
|
9
|
+
splitted_str.append("loremipsum")
|
|
10
|
+
result = ""
|
|
11
|
+
index = index = -1
|
|
12
|
+
|
|
13
|
+
for i in range(len(splitted_str) - 1):
|
|
14
|
+
index += 1
|
|
15
|
+
f = splitted_str[index]
|
|
16
|
+
ff = f[0]
|
|
17
|
+
ffc = ff.upper()
|
|
18
|
+
ffc_remaining = f[1:]
|
|
19
|
+
ffl = ffc_remaining.lower()
|
|
20
|
+
self.string = ffc + ffl
|
|
21
|
+
result += self.string + " "
|
|
22
|
+
|
|
23
|
+
result = result.rstrip()
|
|
24
|
+
return result
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: stuff_with_strings
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A Python package intended for manipulating strings
|
|
5
|
+
Home-page: https://github.com/earthstar71
|
|
6
|
+
Author: earthstar71
|
|
7
|
+
Author-email: iwishtoremainsomewhatanonymous@gmail.com
|
|
8
|
+
License: BSD 2-clause
|
|
9
|
+
Classifier: Development Status :: 1 - Planning
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Requires-Python: >=3.8
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: author-email
|
|
25
|
+
Dynamic: classifier
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: requires-python
|
|
29
|
+
Dynamic: summary
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
stuff_with_strings/__init__.py,sha256=3iaKOC-tUcbiJyOSOb1irfjlzfrozF6Vt0YYZLMgKgc,87
|
|
2
|
+
stuff_with_strings/to_title.py,sha256=yDZqnO4Vx2ECJLRZ8LYF8QQzges6UOGakg6U0W8qLaY,655
|
|
3
|
+
stuff_with_strings-0.1.0.dist-info/METADATA,sha256=lXfpBz9HdoGBL1twZRX99e-0dhIAfq0pzh6F3vcE2I0,1098
|
|
4
|
+
stuff_with_strings-0.1.0.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
|
|
5
|
+
stuff_with_strings-0.1.0.dist-info/top_level.txt,sha256=g7uTvQJiHkNOIGm24MDz4KzL9RWXlq2ekvchhPsKmzw,19
|
|
6
|
+
stuff_with_strings-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
stuff_with_strings
|