https://github.com/thevickypedia/volume-control
Python module to control volume
https://github.com/thevickypedia/volume-control
Last synced: 3 months ago
JSON representation
Python module to control volume
- Host: GitHub
- URL: https://github.com/thevickypedia/volume-control
- Owner: thevickypedia
- License: mit
- Created: 2023-01-10T17:04:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T19:57:00.000Z (over 1 year ago)
- Last Synced: 2025-02-28T10:33:45.831Z (3 months ago)
- Language: Python
- Size: 198 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Platform Supported**

**Deployments**
[](https://github.com/thevickypedia/volume-control/actions/workflows/pages/pages-build-deployment)
[](https://github.com/thevickypedia/volume-control/actions/workflows/python-publish.yml)# Volume Control
Light weight OS-agnostic volume controller for python### Installation
```shell
python -m pip install volume-control
```### Usage
```python
import pyvolumepyvolume.custom(percent=30)
```### Optional arguments
- **debug:** Display logs in the form of `info`, `warnings` and `errors` messages.
- **logger:** Bring your own [`Logger`](https://docs.python.org/3/library/logging.html#logging.Logger) for custom logging.## Coding Standards
Docstring format: [`Google`](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)
Styling conventions: [`PEP 8`](https://www.python.org/dev/peps/pep-0008/)
Clean code with pre-commit hooks: [`flake8`](https://flake8.pycqa.org/en/latest/) and
[`isort`](https://pycqa.github.io/isort/)## [Release Notes](https://github.com/thevickypedia/volume-control/blob/main/release_notes.rst)
**Requirement**
```shell
python -m pip install gitverse
```**Usage**
```shell
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
```## Linting
`PreCommit` will ensure linting, and the doc creation are run on every commit.**Requirement**
```shell
pip install sphinx==5.1.1 pre-commit recommonmark
```**Usage**
```shell
pre-commit run --all-files
```## Pypi Package
[](https://packaging.python.org/tutorials/packaging-projects/)[https://pypi.org/project/volume-control/](https://pypi.org/project/volume-control/)
## Runbook
[](https://www.sphinx-doc.org/en/master/man/sphinx-autogen.html)[https://thevickypedia.github.io/volume-control/](https://thevickypedia.github.io/volume-control/)
## License & copyright
© Vignesh Rao
Licensed under the [MIT License](https://github.com/thevickypedia/volume-control/blob/main/LICENSE)