# pysetns
[![pypi](https://img.shields.io/pypi/v/pysetns?logo=python&logoColor=white)](https://pypi.org/project/pysetns/)
[![downloads](https://img.shields.io/pypi/dm/pysetns?logo=python&logoColor=white)](https://pypi.org/project/pysetns/)
[![license](https://img.shields.io/pypi/l/pysetns?logo=open-source-initiative&logoColor=white)](https://github.com/baskiton/pysetns/blob/main/LICENSE)
[![build](https://img.shields.io/github/actions/workflow/status/baskiton/pysetns/build.yml?logo=github)](https://github.com/baskiton/pysetns/actions/workflows/build.yml)
[![upload](https://img.shields.io/github/actions/workflow/status/baskiton/pysetns/pypi-upload.yml?label=upload&logo=github)](https://github.com/baskiton/pysetns/actions/workflows/pypi-upload.yml)
[![docs](https://img.shields.io/readthedocs/pysetns?logo=readthedocs&logoColor=white)][documentation]
`pysetns` - is a Python wrapper for the Linux `setns` system call. \
See the [manpage][man_setns] for an introduction to `setns` and namespaces.
To detail see the [documentation][documentation]
### IMPORTANT!
`setns` required execution from **ROOT**!
## Requirements
* Linux 3.0+
* Python 3
## Installing
### Using PIP
```sh
$ pip install pysetns
```
### From sources
```sh
$ git clone https://github.com/baskiton/pysetns.git
$ cd pysetns
$ python setup.py install
```
## Usage
See [examples][examples]
[man_setns]: https://man7.org/linux/man-pages/man2/setns.2.html
[examples]: https://github.com/baskiton/pysetns/blob/main/examples
[documentation]: https://pysetns.readthedocs.io
Raw data
{
"_id": null,
"home_page": "https://github.com/baskiton/pysetns",
"name": "pysetns",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "linux kernel namespace setns",
"author": "Alexander Baskikh",
"author_email": "baskiton@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/20/06/065ae33f6ad5b4bb65c1d076a9250f9484b8c642015df3a3d7a7005e8118/pysetns-0.3.0.tar.gz",
"platform": null,
"description": "# pysetns\n[![pypi](https://img.shields.io/pypi/v/pysetns?logo=python&logoColor=white)](https://pypi.org/project/pysetns/)\n[![downloads](https://img.shields.io/pypi/dm/pysetns?logo=python&logoColor=white)](https://pypi.org/project/pysetns/)\n[![license](https://img.shields.io/pypi/l/pysetns?logo=open-source-initiative&logoColor=white)](https://github.com/baskiton/pysetns/blob/main/LICENSE)\n\n[![build](https://img.shields.io/github/actions/workflow/status/baskiton/pysetns/build.yml?logo=github)](https://github.com/baskiton/pysetns/actions/workflows/build.yml)\n[![upload](https://img.shields.io/github/actions/workflow/status/baskiton/pysetns/pypi-upload.yml?label=upload&logo=github)](https://github.com/baskiton/pysetns/actions/workflows/pypi-upload.yml)\n[![docs](https://img.shields.io/readthedocs/pysetns?logo=readthedocs&logoColor=white)][documentation]\n\n`pysetns` - is a Python wrapper for the Linux `setns` system call. \\\nSee the [manpage][man_setns] for an introduction to `setns` and namespaces.\n\nTo detail see the [documentation][documentation]\n\n### IMPORTANT!\n`setns` required execution from **ROOT**!\n\n## Requirements\n * Linux 3.0+\n * Python 3\n\n## Installing\n### Using PIP\n```sh\n$ pip install pysetns\n```\n\n### From sources\n```sh\n$ git clone https://github.com/baskiton/pysetns.git\n$ cd pysetns\n$ python setup.py install\n```\n\n## Usage\nSee [examples][examples]\n\n\n[man_setns]: https://man7.org/linux/man-pages/man2/setns.2.html\n[examples]: https://github.com/baskiton/pysetns/blob/main/examples\n[documentation]: https://pysetns.readthedocs.io\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper for setns Linux syscall.",
"version": "0.3.0",
"split_keywords": [
"linux",
"kernel",
"namespace",
"setns"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2006065ae33f6ad5b4bb65c1d076a9250f9484b8c642015df3a3d7a7005e8118",
"md5": "e5b1bd5da6fc093e6f006b53f1c61cb5",
"sha256": "98760eb525b086c78b9f79bc1f38e1999d40cc4ef98cf0cac0bd432f43abadc0"
},
"downloads": -1,
"filename": "pysetns-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "e5b1bd5da6fc093e6f006b53f1c61cb5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 7369,
"upload_time": "2023-04-20T19:22:05",
"upload_time_iso_8601": "2023-04-20T19:22:05.751182Z",
"url": "https://files.pythonhosted.org/packages/20/06/065ae33f6ad5b4bb65c1d076a9250f9484b8c642015df3a3d7a7005e8118/pysetns-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-20 19:22:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "baskiton",
"github_project": "pysetns",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pysetns"
}