stuff-with-strings 0.1.0__tar.gz → 1.1.2__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,11 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stuff_with_strings
3
- Version: 0.1.0
3
+ Version: 1.1.2
4
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
5
+ Author-email: earthstar71 <iwishtoremainsomewhatanonymous@gmail.com>
8
6
  License: BSD 2-clause
7
+ Project-URL: Homepage, https://github.com
9
8
  Classifier: Development Status :: 1 - Planning
10
9
  Classifier: Intended Audience :: Science/Research
11
10
  Classifier: License :: OSI Approved :: BSD License
@@ -20,10 +19,31 @@ Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
22
21
  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
22
+ Description-Content-Type: text/markdown
23
+
24
+ # stuff_with_strings
25
+
26
+ A Python package intended for manipulating strings.
27
+
28
+ ## Installation
29
+
30
+ ```bash
31
+ pip install stuff_with_strings
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ ```python
37
+ from stuff_with_strings import *
38
+
39
+ name = "jane doe"
40
+ name = StringThing(name)
41
+
42
+ print(name.to_title())
43
+ ```
44
+
45
+ ### Output
46
+
47
+ ```
48
+ Jane Doe
49
+ ```
@@ -0,0 +1,26 @@
1
+ # stuff_with_strings
2
+
3
+ A Python package intended for manipulating strings.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install stuff_with_strings
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from stuff_with_strings import *
15
+
16
+ name = "jane doe"
17
+ name = StringThing(name)
18
+
19
+ print(name.to_title())
20
+ ```
21
+
22
+ ### Output
23
+
24
+ ```
25
+ Jane Doe
26
+ ```
@@ -0,0 +1,36 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "stuff_with_strings"
7
+ version = "1.1.2"
8
+ description = "A Python package intended for manipulating strings"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ license = { text = "BSD 2-clause" }
12
+ authors = [
13
+ { name = "earthstar71", email = "iwishtoremainsomewhatanonymous@gmail.com" }
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 1 - Planning",
17
+ "Intended Audience :: Science/Research",
18
+ "License :: OSI Approved :: BSD License",
19
+ "Operating System :: POSIX :: Linux",
20
+ "Operating System :: Microsoft :: Windows",
21
+ "Operating System :: MacOS :: MacOS X",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.8",
24
+ "Programming Language :: Python :: 3.9",
25
+ "Programming Language :: Python :: 3.10",
26
+ "Programming Language :: Python :: 3.11",
27
+ "Programming Language :: Python :: 3.12",
28
+ "Programming Language :: Python :: 3.13",
29
+ ]
30
+ dependencies = []
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com"
34
+
35
+ [tool.setuptools]
36
+ packages = { find = {} }
@@ -1,15 +1,13 @@
1
- class ItmToBeConverted(object):
2
-
1
+ class StringThing:
3
2
  def __init__(self, string):
4
3
  self.string = string
5
4
 
6
5
  def to_title(self):
7
-
8
6
  splitted_str = f"{self.string}".split()
9
7
  splitted_str.append("loremipsum")
10
8
  result = ""
11
- index = index = -1
12
-
9
+ index = -1
10
+
13
11
  for i in range(len(splitted_str) - 1):
14
12
  index += 1
15
13
  f = splitted_str[index]
@@ -19,6 +17,10 @@ class ItmToBeConverted(object):
19
17
  ffl = ffc_remaining.lower()
20
18
  self.string = ffc + ffl
21
19
  result += self.string + " "
22
-
20
+
23
21
  result = result.rstrip()
24
- return result
22
+ return result
23
+
24
+ # string = "abc defg"
25
+ # string = StringThing(string)
26
+ # print(string.to_title())
@@ -0,0 +1,5 @@
1
+ __version__ = "1.1.2"
2
+ __author__ = 'earthstar71'
3
+ __credits__ = 'earthstar71 - Github'
4
+
5
+ from .StringThing import StringThing
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stuff_with_strings
3
- Version: 0.1.0
3
+ Version: 1.1.2
4
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
5
+ Author-email: earthstar71 <iwishtoremainsomewhatanonymous@gmail.com>
8
6
  License: BSD 2-clause
7
+ Project-URL: Homepage, https://github.com
9
8
  Classifier: Development Status :: 1 - Planning
10
9
  Classifier: Intended Audience :: Science/Research
11
10
  Classifier: License :: OSI Approved :: BSD License
@@ -20,10 +19,31 @@ Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
22
21
  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
22
+ Description-Content-Type: text/markdown
23
+
24
+ # stuff_with_strings
25
+
26
+ A Python package intended for manipulating strings.
27
+
28
+ ## Installation
29
+
30
+ ```bash
31
+ pip install stuff_with_strings
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ ```python
37
+ from stuff_with_strings import *
38
+
39
+ name = "jane doe"
40
+ name = StringThing(name)
41
+
42
+ print(name.to_title())
43
+ ```
44
+
45
+ ### Output
46
+
47
+ ```
48
+ Jane Doe
49
+ ```
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ stuff_with_strings/StringThing.py
4
+ stuff_with_strings/__init__.py
5
+ stuff_with_strings.egg-info/PKG-INFO
6
+ stuff_with_strings.egg-info/SOURCES.txt
7
+ stuff_with_strings.egg-info/dependency_links.txt
8
+ stuff_with_strings.egg-info/top_level.txt
@@ -1,37 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- setup(
4
- name='stuff_with_strings',
5
- version='0.1.0',
6
- description='A Python package intended for manipulating strings',
7
- url='https://github.com/earthstar71',
8
- author='earthstar71',
9
- author_email='iwishtoremainsomewhatanonymous@gmail.com',
10
- license='BSD 2-clause',
11
- # packages=['stuff_with_strings'],
12
-
13
- package_dir={"": "src"},
14
- packages=find_packages(where="src"),
15
-
16
- python_requires=">=3.8",
17
- install_requires=[],
18
-
19
- classifiers=[
20
- 'Development Status :: 1 - Planning',
21
- 'Intended Audience :: Science/Research',
22
-
23
- 'License :: OSI Approved :: BSD License',
24
-
25
- "Operating System :: POSIX :: Linux",
26
- "Operating System :: Microsoft :: Windows",
27
- "Operating System :: MacOS :: MacOS X",
28
-
29
- 'Programming Language :: Python :: 3',
30
- 'Programming Language :: Python :: 3.8',
31
- 'Programming Language :: Python :: 3.9',
32
- 'Programming Language :: Python :: 3.10',
33
- 'Programming Language :: Python :: 3.11',
34
- 'Programming Language :: Python :: 3.12',
35
- 'Programming Language :: Python :: 3.13',
36
- ],
37
- )
@@ -1,3 +0,0 @@
1
- __version__ = "0.1.1"
2
- __author__ = 'earthstar71'
3
- __credits__ = 'earthstar71 - Github'
@@ -1,7 +0,0 @@
1
- setup.py
2
- src/stuff_with_strings/__init__.py
3
- src/stuff_with_strings/to_title.py
4
- src/stuff_with_strings.egg-info/PKG-INFO
5
- src/stuff_with_strings.egg-info/SOURCES.txt
6
- src/stuff_with_strings.egg-info/dependency_links.txt
7
- src/stuff_with_strings.egg-info/top_level.txt