abstract-modules 0.0.3.61__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.
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.1
2
+ Name: abstract_modules
3
+ Version: 0.0.3.61
4
+ Summary: abstract_modules allows you to easily upload your Python module to the Python Package Index (PyPI) using Twine. It automates several steps of the packaging and distribution process, making it easier to share your module with the Python community..
5
+ Home-page: https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_modules
6
+ Author: putkoff
7
+ Author-email: partners@abstractendeavors.com
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Requires-Python: >=3.6
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: abstract_utilities>=0.0.1740
16
+ Requires-Dist: abstract_gui>=0.0.53.5
17
+ Requires-Dist: pexpect>=4.8.0
18
+
19
+ #abstract_modules
20
+ # Python Module Upload to PyPI
21
+
22
+ This utility script allows you to easily upload your Python module to the Python Package Index (PyPI) using Twine. It automates several steps of the packaging and distribution process, making it easier to share your module with the Python community.
23
+
24
+ ## Prerequisites
25
+
26
+ Before using this script, ensure you have the following prerequisites:
27
+
28
+ - Python 3.x installed on your system
29
+ - `twine`, `build`,`abstract_utilities`,`abstract_gui` and `pexpect` packages installed. You can install them using `pip`:
30
+
31
+ ```bash
32
+ pip install twine build pexpect
33
+ ```
34
+
35
+ ## Getting Started
36
+
37
+ 1. Clone the repository or download the script file (`upload_to_pypi.py`) to your local machine.
38
+
39
+ 2. Navigate to the directory where your Python module is located using the command line.
40
+
41
+ 3. **Optional**: If you use a virtual environment, activate it before proceeding.
42
+
43
+ ## Usage
44
+
45
+ Run the script `upload_to_pypi.py` with Python 3:
46
+
47
+ ```bash
48
+ python3 upload_to_pypi.py
49
+ ```
50
+
51
+ The script will guide you through the following steps:
52
+
53
+ 1. **Selecting Module Directory**: You will be prompted to pick the module directory using a GUI window. This directory should contain the necessary files, including the `setup.py` file.
54
+ ![Screenshot from 2023-08-31 02-37-23](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/beaf5c3f-54d3-4565-a562-c209ee7db96a)
55
+
56
+
57
+ 2. **Updating Version Number**: If the version number in the `setup.py` file matches an existing version in the `dist` directory, you will be asked to enter a new version number.
58
+ ![Screenshot from 2023-08-31 02-38-10](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/292e7977-c177-4c87-9448-ede4d041ba84)
59
+
60
+
61
+ 3. **Building the Module**: The script will build your module using the `setup.py` script. The distribution files (wheels) will be placed in the `dist` directory.
62
+ ![Screenshot from 2023-08-31 02-38-22](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/33a5b335-cb62-4cac-8ea1-187150db682c)
63
+
64
+ ![image](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/296bbc62-16ed-41d4-81d6-d5023355ca68)
65
+
66
+
67
+ 4. **Uploading to PyPI**: The script will prompt you to enter your PyPI username and password securely. It will then upload the module to PyPI using Twine.
68
+
69
+ 5. **Installing the Module**: After successful upload, you will have the option to install the module using pip for testing purposes.
70
+ ![Screenshot from 2023-08-31 02-38-55](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/d48027cf-61ba-496e-9b02-8e50db60021c)
71
+
72
+
73
+
74
+ ## Example
75
+
76
+ ```bash
77
+ $ python3 upload_to_pypi.py
78
+ # Output will guide you through the process
79
+ ```
80
+
81
+ ## Contributing
82
+
83
+ Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request.
84
+
85
+ ## License
86
+
87
+ This utility script is open-source and distributed under the [MIT License](LICENSE).
88
+
89
+ ## Acknowledgments
90
+
91
+ This script utilizes the following packages and resources:
92
+
93
+ - [pexpect](https://pexpect.readthedocs.io/) - For automating interactive command-line applications.
94
+ - [Twine](https://twine.readthedocs.io/) - For securely uploading Python packages to PyPI.
95
+ - [Python](https://www.python.org/) - The Python programming language.
96
+
97
+ ## Disclaimer
98
+
99
+ This script is provided "as is" without warranty of any kind. Use it at your own risk.
100
+
101
+ ## Support
102
+
103
+ If you encounter any issues or need assistance, please [create an issue](https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_modules) or seek support in the Python community forums.
104
+
105
+ ---
106
+
107
+ Thank you for using our utility script! If you have any feedback or questions, don't hesitate to contact us. Happy packaging and distributing!
@@ -0,0 +1,89 @@
1
+ #abstract_modules
2
+ # Python Module Upload to PyPI
3
+
4
+ This utility script allows you to easily upload your Python module to the Python Package Index (PyPI) using Twine. It automates several steps of the packaging and distribution process, making it easier to share your module with the Python community.
5
+
6
+ ## Prerequisites
7
+
8
+ Before using this script, ensure you have the following prerequisites:
9
+
10
+ - Python 3.x installed on your system
11
+ - `twine`, `build`,`abstract_utilities`,`abstract_gui` and `pexpect` packages installed. You can install them using `pip`:
12
+
13
+ ```bash
14
+ pip install twine build pexpect
15
+ ```
16
+
17
+ ## Getting Started
18
+
19
+ 1. Clone the repository or download the script file (`upload_to_pypi.py`) to your local machine.
20
+
21
+ 2. Navigate to the directory where your Python module is located using the command line.
22
+
23
+ 3. **Optional**: If you use a virtual environment, activate it before proceeding.
24
+
25
+ ## Usage
26
+
27
+ Run the script `upload_to_pypi.py` with Python 3:
28
+
29
+ ```bash
30
+ python3 upload_to_pypi.py
31
+ ```
32
+
33
+ The script will guide you through the following steps:
34
+
35
+ 1. **Selecting Module Directory**: You will be prompted to pick the module directory using a GUI window. This directory should contain the necessary files, including the `setup.py` file.
36
+ ![Screenshot from 2023-08-31 02-37-23](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/beaf5c3f-54d3-4565-a562-c209ee7db96a)
37
+
38
+
39
+ 2. **Updating Version Number**: If the version number in the `setup.py` file matches an existing version in the `dist` directory, you will be asked to enter a new version number.
40
+ ![Screenshot from 2023-08-31 02-38-10](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/292e7977-c177-4c87-9448-ede4d041ba84)
41
+
42
+
43
+ 3. **Building the Module**: The script will build your module using the `setup.py` script. The distribution files (wheels) will be placed in the `dist` directory.
44
+ ![Screenshot from 2023-08-31 02-38-22](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/33a5b335-cb62-4cac-8ea1-187150db682c)
45
+
46
+ ![image](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/296bbc62-16ed-41d4-81d6-d5023355ca68)
47
+
48
+
49
+ 4. **Uploading to PyPI**: The script will prompt you to enter your PyPI username and password securely. It will then upload the module to PyPI using Twine.
50
+
51
+ 5. **Installing the Module**: After successful upload, you will have the option to install the module using pip for testing purposes.
52
+ ![Screenshot from 2023-08-31 02-38-55](https://github.com/AbstractEndeavors/abstract_essentials/assets/57512254/d48027cf-61ba-496e-9b02-8e50db60021c)
53
+
54
+
55
+
56
+ ## Example
57
+
58
+ ```bash
59
+ $ python3 upload_to_pypi.py
60
+ # Output will guide you through the process
61
+ ```
62
+
63
+ ## Contributing
64
+
65
+ Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request.
66
+
67
+ ## License
68
+
69
+ This utility script is open-source and distributed under the [MIT License](LICENSE).
70
+
71
+ ## Acknowledgments
72
+
73
+ This script utilizes the following packages and resources:
74
+
75
+ - [pexpect](https://pexpect.readthedocs.io/) - For automating interactive command-line applications.
76
+ - [Twine](https://twine.readthedocs.io/) - For securely uploading Python packages to PyPI.
77
+ - [Python](https://www.python.org/) - The Python programming language.
78
+
79
+ ## Disclaimer
80
+
81
+ This script is provided "as is" without warranty of any kind. Use it at your own risk.
82
+
83
+ ## Support
84
+
85
+ If you encounter any issues or need assistance, please [create an issue](https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_modules) or seek support in the Python community forums.
86
+
87
+ ---
88
+
89
+ Thank you for using our utility script! If you have any feedback or questions, don't hesitate to contact us. Happy packaging and distributing!
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,27 @@
1
+ from time import time
2
+ import setuptools
3
+ with open("README.md", "r", encoding="utf-8") as fh:
4
+ long_description = fh.read()
5
+ setuptools.setup(
6
+ name='abstract_modules',
7
+ version='0.0.3.61',
8
+ author='putkoff',
9
+ author_email='partners@abstractendeavors.com',
10
+ description='abstract_modules allows you to easily upload your Python module to the Python Package Index (PyPI) using Twine. It automates several steps of the packaging and distribution process, making it easier to share your module with the Python community..',
11
+ long_description=long_description,
12
+ long_description_content_type='text/markdown',
13
+ url='https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_modules',
14
+ classifiers=[
15
+ 'Development Status :: 3 - Alpha',
16
+ 'Intended Audience :: Developers',
17
+ 'License :: OSI Approved :: MIT License',
18
+ 'Programming Language :: Python :: 3',
19
+ 'Programming Language :: Python :: 3.11',
20
+ ],
21
+ install_requires=['abstract_utilities>=0.0.1740', 'abstract_gui>=0.0.53.5', 'pexpect>=4.8.0'],
22
+ package_dir={"": "src"},
23
+ packages=setuptools.find_packages(where="src"),
24
+ python_requires=">=3.6",
25
+ # Add this line to include wheel format in your distribution
26
+ setup_requires=['wheel'],
27
+ )
@@ -0,0 +1 @@
1
+ from .upload_utils import upload_module