fixop 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.
fixop-0.1.0/LICENSE ADDED
File without changes
fixop-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: fixop
3
+ Version: 0.1.0
4
+ Summary: A Python package for fixing operations
5
+ Home-page: https://github.com/wronai/fixop
6
+ Author: Your Name
7
+ Author-email: Your Name <your.email@example.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/wronai/fixop
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.7
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Requires-Python: >=3.7
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Dynamic: author
23
+ Dynamic: home-page
24
+ Dynamic: license-file
25
+ Dynamic: requires-python
fixop-0.1.0/README.md ADDED
File without changes
@@ -0,0 +1,28 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "fixop"
7
+ version = "0.1.0"
8
+ description = "A Python package for fixing operations"
9
+ readme = "README.md"
10
+ requires-python = ">=3.7"
11
+ authors = [
12
+ {name = "Your Name", email = "your.email@example.com"}
13
+ ]
14
+ license = {text = "MIT"}
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.7",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ ]
26
+
27
+ [project.urls]
28
+ Homepage = "https://github.com/wronai/fixop"
fixop-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
fixop-0.1.0/setup.py ADDED
@@ -0,0 +1,27 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='fixop',
5
+ version='0.1.0',
6
+ description='A Python package for fixing operations',
7
+ long_description=open('README.md').read(),
8
+ long_description_content_type='text/markdown',
9
+ author='Your Name',
10
+ author_email='your.email@example.com',
11
+ url='https://github.com/wronai/fixop',
12
+ packages=find_packages(where='src'),
13
+ package_dir={'': 'src'},
14
+ install_requires=[],
15
+ python_requires='>=3.7',
16
+ classifiers=[
17
+ 'Development Status :: 3 - Alpha',
18
+ 'Intended Audience :: Developers',
19
+ 'License :: OSI Approved :: MIT License',
20
+ 'Programming Language :: Python :: 3',
21
+ 'Programming Language :: Python :: 3.7',
22
+ 'Programming Language :: Python :: 3.8',
23
+ 'Programming Language :: Python :: 3.9',
24
+ 'Programming Language :: Python :: 3.10',
25
+ 'Programming Language :: Python :: 3.11',
26
+ ],
27
+ )
File without changes
@@ -0,0 +1,18 @@
1
+ def fix_operation(data):
2
+ """
3
+ Perform a basic fix operation on the provided data.
4
+
5
+ Args:
6
+ data: The data to be fixed
7
+
8
+ Returns:
9
+ The fixed data
10
+ """
11
+ # Basic implementation - this can be expanded based on actual requirements
12
+ if isinstance(data, str):
13
+ return data.strip()
14
+ return data
15
+
16
+ def get_version():
17
+ """Return the package version"""
18
+ return "0.1.0"
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: fixop
3
+ Version: 0.1.0
4
+ Summary: A Python package for fixing operations
5
+ Home-page: https://github.com/wronai/fixop
6
+ Author: Your Name
7
+ Author-email: Your Name <your.email@example.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/wronai/fixop
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.7
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Requires-Python: >=3.7
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Dynamic: author
23
+ Dynamic: home-page
24
+ Dynamic: license-file
25
+ Dynamic: requires-python
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ src/fixop/__init__.py
6
+ src/fixop/main.py
7
+ src/fixop.egg-info/PKG-INFO
8
+ src/fixop.egg-info/SOURCES.txt
9
+ src/fixop.egg-info/dependency_links.txt
10
+ src/fixop.egg-info/top_level.txt
11
+ tests/test_main.py
@@ -0,0 +1 @@
1
+ fixop
@@ -0,0 +1,19 @@
1
+ import unittest
2
+ from fixop.main import fix_operation, get_version
3
+
4
+ class TestFixOperation(unittest.TestCase):
5
+ def test_fix_operation_string(self):
6
+ """Test fix_operation with string input"""
7
+ self.assertEqual(fix_operation(" test "), "test")
8
+
9
+ def test_fix_operation_non_string(self):
10
+ """Test fix_operation with non-string input"""
11
+ self.assertEqual(fix_operation(123), 123)
12
+ self.assertEqual(fix_operation([1, 2, 3]), [1, 2, 3])
13
+
14
+ def test_get_version(self):
15
+ """Test get_version function"""
16
+ self.assertEqual(get_version(), "0.1.0")
17
+
18
+ if __name__ == '__main__':
19
+ unittest.main()