bleepy 0.1.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.
bleepy-0.1.0/LICENSE ADDED
@@ -0,0 +1 @@
1
+ License TBD
bleepy-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: bleepy
3
+ Version: 0.1.0
4
+ Summary: A simple foul language filter for Python
5
+ License: TBD
6
+ Project-URL: Homepage, https://github.com/vikh-ram/bleepy
7
+ Project-URL: Repository, https://github.com/vikh-ram/bleepy
8
+ Project-URL: Issues, https://github.com/vikh-ram/bleepy/issues
9
+ Keywords: profanity,filter,foul language,censorship,text
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Text Processing :: Filters
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Dynamic: license-file
24
+
25
+ # bleepy
26
+
27
+ A simple foul language filter for Python.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ pip install bleepy
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ from bleepy import Bleepy
39
+
40
+ b = Bleepy()
41
+
42
+ b.clean("What the hell is going on?")
43
+ # "What the **** is going on?"
44
+
45
+ b.contains("This is clean text")
46
+ # False
47
+ ```
48
+
49
+ ## License
50
+
51
+ TBD
bleepy-0.1.0/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # bleepy
2
+
3
+ A simple foul language filter for Python.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install bleepy
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from bleepy import Bleepy
15
+
16
+ b = Bleepy()
17
+
18
+ b.clean("What the hell is going on?")
19
+ # "What the **** is going on?"
20
+
21
+ b.contains("This is clean text")
22
+ # False
23
+ ```
24
+
25
+ ## License
26
+
27
+ TBD
@@ -0,0 +1,4 @@
1
+ from .filter import Bleepy
2
+
3
+ __version__ = "0.1.0"
4
+ __all__ = ["Bleepy"]
@@ -0,0 +1,13 @@
1
+ class Bleepy:
2
+ """A simple foul language filter."""
3
+
4
+ def __init__(self, replacement: str = "*"):
5
+ self.replacement = replacement
6
+
7
+ def clean(self, text: str) -> str:
8
+ """Replace foul words in text with the replacement character."""
9
+ return text
10
+
11
+ def contains(self, text: str) -> bool:
12
+ """Return True if the text contains foul language."""
13
+ return False
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: bleepy
3
+ Version: 0.1.0
4
+ Summary: A simple foul language filter for Python
5
+ License: TBD
6
+ Project-URL: Homepage, https://github.com/vikh-ram/bleepy
7
+ Project-URL: Repository, https://github.com/vikh-ram/bleepy
8
+ Project-URL: Issues, https://github.com/vikh-ram/bleepy/issues
9
+ Keywords: profanity,filter,foul language,censorship,text
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.8
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Text Processing :: Filters
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Dynamic: license-file
24
+
25
+ # bleepy
26
+
27
+ A simple foul language filter for Python.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ pip install bleepy
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ from bleepy import Bleepy
39
+
40
+ b = Bleepy()
41
+
42
+ b.clean("What the hell is going on?")
43
+ # "What the **** is going on?"
44
+
45
+ b.contains("This is clean text")
46
+ # False
47
+ ```
48
+
49
+ ## License
50
+
51
+ TBD
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ bleepy/__init__.py
5
+ bleepy/filter.py
6
+ bleepy.egg-info/PKG-INFO
7
+ bleepy.egg-info/SOURCES.txt
8
+ bleepy.egg-info/dependency_links.txt
9
+ bleepy.egg-info/top_level.txt
10
+ tests/test_filter.py
@@ -0,0 +1 @@
1
+ bleepy
@@ -0,0 +1,34 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "bleepy"
7
+ version = "0.1.0"
8
+ description = "A simple foul language filter for Python"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ license = { text = "TBD" }
12
+ keywords = ["profanity", "filter", "foul language", "censorship", "text"]
13
+ classifiers = [
14
+ "Development Status :: 1 - Planning",
15
+ "Intended Audience :: Developers",
16
+
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.8",
19
+ "Programming Language :: Python :: 3.9",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Topic :: Text Processing :: Filters",
24
+ "Topic :: Software Development :: Libraries :: Python Modules",
25
+ ]
26
+
27
+ [project.urls]
28
+ Homepage = "https://github.com/vikh-ram/bleepy"
29
+ Repository = "https://github.com/vikh-ram/bleepy"
30
+ Issues = "https://github.com/vikh-ram/bleepy/issues"
31
+
32
+ [tool.setuptools.packages.find]
33
+ where = ["."]
34
+ include = ["bleepy*"]
bleepy-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,6 @@
1
+ from bleepy import Bleepy
2
+
3
+
4
+ def test_placeholder():
5
+ b = Bleepy()
6
+ assert b is not None