Metadata-Version: 2.1
Name: add-swap-space
Version: 1.0.0
Summary: A Python package to add swap space to a Linux system
Author-email: rb ashish <dev@rbashish.tech>
Project-URL: Homepage, https://rbashish.tech
Project-URL: Repository, https://github.com/rbashish/add-swap-space
Project-URL: Issue Tracker, https://github.com/rbashish/add-swap-space/issues
Project-URL: Changelog, https://github.com/rbashish/add-swap-space/blob/main/CHANGELOG.md
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: System :: Installation/Setup
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# add-swap-space
A Python package to add swap space to a Linux system

![GitHub language count](https://img.shields.io/github/languages/count/rbashish/add-swap-space?style=plastic)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/add-swap-space?style=plastic)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/add-swap-space?style=plastic)



![GitHub issues](https://img.shields.io/github/issues/rbashish/add-swap-space?style=plastic)
![PyPI - License](https://img.shields.io/pypi/l/add-swap-space?style=plastic)
![PyPI - Downloads](https://img.shields.io/pypi/dm/add-swap-space?color=orange&label=PyPI%20downloads&style=plastic)


Description
-----
This package provides a command-line interface to add swap space to a Linux system.

It prompts the user for the desired swap size in GB and then adds the swap space using the dd and mkswap commands. After the swap space has been added, it updates `/etc/fstab` to make the swap permanent.

Download & Install
-----
```
pip install add-swap-space
```

`Note:` If pip is unrecognized try pip3 instead. Report any issue at [issue page](https://github.com/rbashish/add-swap-space/issues)

Usage
----
```
sudo python3 -m add-swap-space
```
`Note:` Make sure you have pip install under root user.
