vm-tool 1.0.1__tar.gz → 1.0.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.
vm_tool-1.0.2/PKG-INFO ADDED
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.2
2
+ Name: vm_tool
3
+ Version: 1.0.2
4
+ Summary: A Comprehensive Tool for Setting Up Virtual Machines Using Ansible.
5
+ License: MIT
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: ansible
9
+ Requires-Dist: ansible-runner
10
+ Dynamic: description
11
+ Dynamic: description-content-type
12
+ Dynamic: license
13
+ Dynamic: requires-dist
14
+ Dynamic: summary
15
+
16
+ # VM Setup Tool
17
+
18
+ ### A Comprehensive Tool for Setting Up Virtual Machines Using Ansible
19
+
20
+ ## Overview
21
+
22
+ The VM Setup Tool is designed to simplify the process of setting up virtual machines (VMs) using Ansible. This tool is particularly useful for automating the deployment and configuration of VMs, ensuring consistency and efficiency across your infrastructure.
23
+
24
+ ## Pre-requisites
25
+
26
+ Currently, the tool supports projects that use Docker Compose. Ensure you have a `docker-compose.yml` file at the root level of your project.
27
+
28
+ ## Installation
29
+
30
+ To install the VM Setup Tool, you can use pip, the Python package installer. Run the following command in your terminal:
31
+
32
+ ```bash
33
+ pip install vm-tool
34
+ ```
35
+
36
+ ## Example Usage
37
+
38
+ ```python
39
+ from vm_tool import SetupRunner
40
+
41
+ runner = SetupRunner(
42
+ github_username='your_github_username', # e.g. username
43
+ github_token='your_github_token', # e.g. token
44
+ github_project_url='your_github_project_url' # e.g. https://github.com/username/repo
45
+ )
46
+
47
+ runner.run_setup()
48
+ ```
49
+
50
+ ## What This Will Do
51
+
52
+ ### When you run the setup, the VM Setup Tool will perform the following actions:
53
+
54
+ - Clone the specified GitHub repository to your local machine.
55
+ - Install Docker on the target machine if it is not already installed.
56
+ - Install Docker Compose to manage multi-container Docker applications.
57
+ - Create, enable, and start a Docker service on the machine.
58
+ - Ensure that the Docker container remains up and running, providing a stable environment for your applications.
59
+
60
+ By automating these steps, the VM Setup Tool helps you save time and reduce the potential for errors, allowing you to focus on developing and deploying your applications.
vm_tool-1.0.2/setup.py ADDED
@@ -0,0 +1,25 @@
1
+ from setuptools import setup, find_packages
2
+ import os
3
+
4
+ # Read the contents of README.md
5
+ with open(os.path.join(os.path.dirname(__file__), 'Readme.md'), encoding='utf-8') as f:
6
+ long_description = f.read()
7
+
8
+ setup(
9
+ name='vm_tool',
10
+ version='1.0.2', # This will be updated by bump2version
11
+ packages=find_packages(),
12
+ description='A Comprehensive Tool for Setting Up Virtual Machines Using Ansible.',
13
+ long_description=long_description,
14
+ long_description_content_type='text/markdown',
15
+ install_requires=[
16
+ 'ansible',
17
+ 'ansible-runner',
18
+ ],
19
+ entry_points={
20
+ 'console_scripts': [
21
+ 'vm_tool=vm_tool.cli:main',
22
+ ],
23
+ },
24
+ license='MIT',
25
+ )
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.2
2
+ Name: vm_tool
3
+ Version: 1.0.2
4
+ Summary: A Comprehensive Tool for Setting Up Virtual Machines Using Ansible.
5
+ License: MIT
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: ansible
9
+ Requires-Dist: ansible-runner
10
+ Dynamic: description
11
+ Dynamic: description-content-type
12
+ Dynamic: license
13
+ Dynamic: requires-dist
14
+ Dynamic: summary
15
+
16
+ # VM Setup Tool
17
+
18
+ ### A Comprehensive Tool for Setting Up Virtual Machines Using Ansible
19
+
20
+ ## Overview
21
+
22
+ The VM Setup Tool is designed to simplify the process of setting up virtual machines (VMs) using Ansible. This tool is particularly useful for automating the deployment and configuration of VMs, ensuring consistency and efficiency across your infrastructure.
23
+
24
+ ## Pre-requisites
25
+
26
+ Currently, the tool supports projects that use Docker Compose. Ensure you have a `docker-compose.yml` file at the root level of your project.
27
+
28
+ ## Installation
29
+
30
+ To install the VM Setup Tool, you can use pip, the Python package installer. Run the following command in your terminal:
31
+
32
+ ```bash
33
+ pip install vm-tool
34
+ ```
35
+
36
+ ## Example Usage
37
+
38
+ ```python
39
+ from vm_tool import SetupRunner
40
+
41
+ runner = SetupRunner(
42
+ github_username='your_github_username', # e.g. username
43
+ github_token='your_github_token', # e.g. token
44
+ github_project_url='your_github_project_url' # e.g. https://github.com/username/repo
45
+ )
46
+
47
+ runner.run_setup()
48
+ ```
49
+
50
+ ## What This Will Do
51
+
52
+ ### When you run the setup, the VM Setup Tool will perform the following actions:
53
+
54
+ - Clone the specified GitHub repository to your local machine.
55
+ - Install Docker on the target machine if it is not already installed.
56
+ - Install Docker Compose to manage multi-container Docker applications.
57
+ - Create, enable, and start a Docker service on the machine.
58
+ - Ensure that the Docker container remains up and running, providing a stable environment for your applications.
59
+
60
+ By automating these steps, the VM Setup Tool helps you save time and reduce the potential for errors, allowing you to focus on developing and deploying your applications.
vm_tool-1.0.1/PKG-INFO DELETED
@@ -1,30 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: vm_tool
3
- Version: 1.0.1
4
- Summary: A tool to setup VMs using Ansible.
5
- License: MIT
6
- Description-Content-Type: text/markdown
7
- License-File: LICENSE
8
- Requires-Dist: ansible
9
- Requires-Dist: ansible-runner
10
- Dynamic: description
11
- Dynamic: description-content-type
12
- Dynamic: license
13
- Dynamic: requires-dist
14
- Dynamic: summary
15
-
16
-
17
- This is a tool to setup VMs using Ansible.
18
-
19
- Example usage:
20
-
21
- from vm_tool.runner import SetupRunner
22
-
23
- runner = SetupRunner(
24
- github_username='your_github_username', # e.g. username
25
- github_token='your_github_token', # e.g. token
26
- github_project_url='your_github_project_url' # e.g. https://github.com/username/repo
27
- )
28
-
29
- runner.run_setup()
30
-
vm_tool-1.0.1/setup.py DELETED
@@ -1,34 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- setup(
4
- name='vm_tool',
5
- version='1.0.1', # This will be updated by bump2version
6
- packages=find_packages(),
7
- description='A tool to setup VMs using Ansible.',
8
- long_description='''
9
- This is a tool to setup VMs using Ansible.
10
-
11
- Example usage:
12
-
13
- from vm_tool.runner import SetupRunner
14
-
15
- runner = SetupRunner(
16
- github_username='your_github_username', # e.g. username
17
- github_token='your_github_token', # e.g. token
18
- github_project_url='your_github_project_url' # e.g. https://github.com/username/repo
19
- )
20
-
21
- runner.run_setup()
22
- ''',
23
- long_description_content_type='text/markdown',
24
- install_requires=[
25
- 'ansible',
26
- 'ansible-runner',
27
- ],
28
- entry_points={
29
- 'console_scripts': [
30
- 'vm_tool=vm_tool.cli:main',
31
- ],
32
- },
33
- license='MIT',
34
- )
@@ -1,30 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: vm_tool
3
- Version: 1.0.1
4
- Summary: A tool to setup VMs using Ansible.
5
- License: MIT
6
- Description-Content-Type: text/markdown
7
- License-File: LICENSE
8
- Requires-Dist: ansible
9
- Requires-Dist: ansible-runner
10
- Dynamic: description
11
- Dynamic: description-content-type
12
- Dynamic: license
13
- Dynamic: requires-dist
14
- Dynamic: summary
15
-
16
-
17
- This is a tool to setup VMs using Ansible.
18
-
19
- Example usage:
20
-
21
- from vm_tool.runner import SetupRunner
22
-
23
- runner = SetupRunner(
24
- github_username='your_github_username', # e.g. username
25
- github_token='your_github_token', # e.g. token
26
- github_project_url='your_github_project_url' # e.g. https://github.com/username/repo
27
- )
28
-
29
- runner.run_setup()
30
-
File without changes
File without changes
File without changes
File without changes
File without changes