{"id":17618264,"url":"https://github.com/vroncevic/gen_kernel_module","last_synced_at":"2026-03-06T11:01:50.169Z","repository":{"id":21707985,"uuid":"93829253","full_name":"vroncevic/gen_kernel_module","owner":"vroncevic","description":"Generate kernel module","archived":false,"fork":false,"pushed_at":"2025-11-26T05:16:15.000Z","size":7496,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T06:42:47.303Z","etag":null,"topics":["c","gen-kernel","generator","kernel","kernel-modules","linux","linux-kernel-module","lkm","macos","makefile","python3","template","unix"],"latest_commit_sha":null,"homepage":"https://vroncevic.github.io/gen_kernel_module","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vroncevic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-09T07:02:50.000Z","updated_at":"2025-11-26T05:10:33.000Z","dependencies_parsed_at":"2024-10-24T16:46:14.165Z","dependency_job_id":"444a2f4d-f33b-4cf3-9105-c13e8df01c60","html_url":"https://github.com/vroncevic/gen_kernel_module","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":0.303030303030303,"last_synced_commit":"2dedce794002034175c1fa637d1776d35e4cf159"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/vroncevic/gen_kernel_module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vroncevic%2Fgen_kernel_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vroncevic%2Fgen_kernel_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vroncevic%2Fgen_kernel_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vroncevic%2Fgen_kernel_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vroncevic","download_url":"https://codeload.github.com/vroncevic/gen_kernel_module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vroncevic%2Fgen_kernel_module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","gen-kernel","generator","kernel","kernel-modules","linux","linux-kernel-module","lkm","macos","makefile","python3","template","unix"],"created_at":"2024-10-22T19:42:36.928Z","updated_at":"2026-03-06T11:01:45.161Z","avatar_url":"https://github.com/vroncevic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generating Kernel Modules\n\n\u003cimg align=\"right\" src=\"https://raw.githubusercontent.com/vroncevic/gen_kernel_module/dev/docs/gen_kernel_module_logo.png\" width=\"25%\"\u003e\n\n**gen_kernel_module** is tool for generation Linux Kernel Module project.\n\nDeveloped in **[python](https://www.python.org/)** code: **100%**.\n\nThe README is used to introduce the modules and provide instructions on\nhow to install the modules, any machine dependencies it may have and any\nother information that should be provided before the modules are installed.\n\n[![gen_kernel_module python checker](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_python_checker.yml/badge.svg)](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_python_checker.yml) [![gen_kernel_module package checker](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_package_checker.yml/badge.svg)](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/vroncevic/gen_kernel_module.svg)](https://github.com/vroncevic/gen_kernel_module/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/gen_kernel_module.svg)](https://github.com/vroncevic/gen_kernel_module/graphs/contributors)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**\n\n- [Installation](#installation)\n    - [Install using pip](#install-using-pip)\n    - [Install using build](#install-using-build)\n    - [Install using py setup](#install-using-py-setup)\n    - [Install using docker](#install-using-docker)\n- [Dependencies](#dependencies)\n- [Tool structure](#tool-structure)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [Copyright and licence](#copyright-and-licence)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### Installation\n\nUsed next development environment\n\n![debian linux os](https://raw.githubusercontent.com/vroncevic/gen_kernel_module/dev/docs/debtux.png)\n\n[![gen_kernel_module python3 build](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_python3_build.yml/badge.svg)](https://github.com/vroncevic/gen_kernel_module/actions/workflows/gen_kernel_module_python3_build.yml)\n\nCurrently there are three ways to install package\n* Install process based on using pip mechanism\n* Install process based on build mechanism\n* Install process based on setup.py mechanism\n* Install process based on docker mechanism\n\n##### Install using pip\n\nPython package is located at **[pypi.org](https://pypi.org/project/gen_kernel_module/)**.\n\nYou can install by using pip\n\n```bash\n# python3\npip3 install gen-kernel-module\n```\n\n##### Install using build\n\nNavigate to release **[page](https://github.com/vroncevic/gen_kernel_module/releases/)** download and extract release archive.\n\nTo install **gen_kernel_module** type the following\n\n```bash\ntar xvzf gen_kernel_module-x.y.z.tar.gz\ncd gen_kernel_module-x.y.z/\n# python3\nwget https://bootstrap.pypa.io/get-pip.py\npython3 get-pip.py \npython3 -m pip install --upgrade setuptools\npython3 -m pip install --upgrade pip\npython3 -m pip install --upgrade build\npip3 install -r requirements.txt\npython3 -m build --no-isolation --wheel\npip3 install ./dist/gen_kernel_module-*-py3-none-any.whl\nrm -f get-pip.py\nchmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_kernel_module_run.py\nln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_kernel_module_run.py /usr/local/bin/gen_kernel_module_run.py\n```\n\n##### Install using py setup\n\nNavigate to release **[page](https://github.com/vroncevic/gen_kernel_module/releases/)** download and extract release archive.\n\nTo install **gen_kernel_module** locate and run setup.py with arguments\n\n```bash\ntar xvzf gen_kernel_module-x.y.z.tar.gz\ncd gen_kernel_module-x.y.z/\n# python3\npip3 install -r requirements.txt\npython3 setup.py install_lib\npython3 setup.py install_data\npython3 setup.py install_egg_info\n```\n\n##### Install using docker\n\nYou can use Dockerfile to create image/container.\n\n### Dependencies\n\n**gen_kernel_module** requires next modules and libraries\n\n* [ats-utilities - Python App/Tool/Script Utilities](https://vroncevic.github.io/ats_utilities)\n\n### Tool structure\n\n**gen_kernel_module** is based on OOP.\n\nGenerator structure\n\n```bash\n    gen_kernel_module/\n        ├── conf/\n        │   ├── gen_kernel_module.cfg\n        │   ├── gen_kernel_module.logo\n        │   ├── gen_kernel_module_util.cfg\n        │   ├── project.yaml\n        │   └── template/\n        │       ├── block/\n        │       │   ├── lkm.template\n        │       │   ├── Makefile.template\n        │       │   └── test.template\n        │       ├── char/\n        │       │   ├── lkm.template\n        │       │   ├── Makefile.template\n        │       │   └── test.template\n        │       ├── net/\n        │       │   ├── lkm.template\n        │       │   ├── Makefile.template\n        │       │   └── test.template\n        │       └── vma/\n        │           ├── lkm.template\n        │           ├── Makefile.template\n        │           └── test.template\n        ├── __init__.py\n        ├── lkm/\n        │   ├── __init__.py\n        │   ├── read_template.py\n        │   └── write_template.py\n        ├── log/\n        │   └── gen_kernel_module.log\n        └── run/\n            └── gen_kernel_module_run.py\n        \n        10 directories, 22 files\n```\n\n### Code coverage\n\n| Name | Stmts | Miss | Cover |\n|------|-------|------|-------|\n| `gen_kernel_module/__init__.py` | 75 | 14 | 81% |\n| `gen_kernel_module/lkm/__init__.py` | 62 | 2 | 97% |\n| `gen_kernel_module/lkm/read_template.py` | 63 | 9 | 86% |\n| `gen_kernel_module/lkm/write_template.py` | 54 | 3 | 94% |\n| **Total** | 254 | 28 | 89% |\n\n### Docs\n\n[![Documentation Status](https://readthedocs.org/projects/gen_kernel_module/badge/?version=latest)](https://gen-kernel-module.readthedocs.io/en/latest/?badge=latest)\n\nMore documentation and info at\n* [gen_kernel_module.readthedocs.io](https://gen-kernel-module.readthedocs.io/en/latest/)\n* [www.python.org](https://www.python.org/)\n\n### Copyright and licence\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nCopyright (C) 2017 - 2024 by [vroncevic.github.io/gen_kernel_module](https://vroncevic.github.io/gen_kernel_module)\n\n**gen_kernel_module** is free software; you can redistribute it and/or modify\nit under the same terms as Python itself, either Python version 3.x or,\nat your option, any later version of Python 3 you may have available.\n\nLets help and support PSF.\n\n[![Python Software Foundation](https://raw.githubusercontent.com/vroncevic/gen_kernel_module/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)\n\n[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvroncevic%2Fgen_kernel_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvroncevic%2Fgen_kernel_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvroncevic%2Fgen_kernel_module/lists"}