pysu


Namepysu JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/ionelmc/python-su
SummarySimple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu
upload_time2024-04-11 23:45:35
maintainerNone
docs_urlNone
authorIonel Cristian Mărieș
requires_python>=3.8
licenseBSD-2-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ========
Overview
========



Simple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu

* Free software: BSD 2-Clause License

Installation
============

::

    pip install pysu

You can also install the in-development version with::

    pip install https://github.com/ionelmc/python-su/archive/master.zip


Documentation
=============

Usage: pysu [-h] user[:group] command

Change user and exec command.

positional arguments:
  user
  command

optional arguments:
  -h, --help  show this help message and exit

Development
===========

To run all the tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox


Changelog
=========

1.0.0 (2024-04-12)
------------------

* Dropped support for old Pythons. Minium supported version is 3.8.
* Improved error handling and reporting.
* Increased compatibility with `gosu <https://github.com/tianon/gosu>`_.

0.2.0 (2016-05-06)
------------------

* Allow using ":group" as argument, just like ``gosu`` (it will use the current user, but with the given group).

0.1.0 (2016-04-19)
------------------

* First release on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ionelmc/python-su",
    "name": "pysu",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Ionel Cristian M\u0103rie\u0219",
    "author_email": "contact@ionelmc.ro",
    "download_url": "https://files.pythonhosted.org/packages/9e/98/f5eb34be834922c2faab3eb45c5031d77065c18adeb2ce994b4d45615d2f/pysu-1.0.0.tar.gz",
    "platform": null,
    "description": "========\nOverview\n========\n\n\n\nSimple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu\n\n* Free software: BSD 2-Clause License\n\nInstallation\n============\n\n::\n\n    pip install pysu\n\nYou can also install the in-development version with::\n\n    pip install https://github.com/ionelmc/python-su/archive/master.zip\n\n\nDocumentation\n=============\n\nUsage: pysu [-h] user[:group] command\n\nChange user and exec command.\n\npositional arguments:\n  user\n  command\n\noptional arguments:\n  -h, --help  show this help message and exit\n\nDevelopment\n===========\n\nTo run all the tests run::\n\n    tox\n\nNote, to combine the coverage data from all the tox environments run:\n\n.. list-table::\n    :widths: 10 90\n    :stub-columns: 1\n\n    - - Windows\n      - ::\n\n            set PYTEST_ADDOPTS=--cov-append\n            tox\n\n    - - Other\n      - ::\n\n            PYTEST_ADDOPTS=--cov-append tox\n\n\nChangelog\n=========\n\n1.0.0 (2024-04-12)\n------------------\n\n* Dropped support for old Pythons. Minium supported version is 3.8.\n* Improved error handling and reporting.\n* Increased compatibility with `gosu <https://github.com/tianon/gosu>`_.\n\n0.2.0 (2016-05-06)\n------------------\n\n* Allow using \":group\" as argument, just like ``gosu`` (it will use the current user, but with the given group).\n\n0.1.0 (2016-04-19)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "BSD-2-Clause",
    "summary": "Simple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu",
    "version": "1.0.0",
    "project_urls": {
        "Changelog": "https://github.com/ionelmc/python-su/blob/master/CHANGELOG.rst",
        "Homepage": "https://github.com/ionelmc/python-su",
        "Issue Tracker": "https://github.com/ionelmc/python-su/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ec9a0f7b2aa8d97e4bcbb6b43337e8357f15b1ef1454e05f55b9036b757bc35",
                "md5": "2ff63dde66e09eceb7b35d9b711f847a",
                "sha256": "46cf4602d9958d7c0cd87ff67e0d4e0fa7ecc451035a63b7f1204d1680c0683e"
            },
            "downloads": -1,
            "filename": "pysu-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2ff63dde66e09eceb7b35d9b711f847a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4889,
            "upload_time": "2024-04-11T23:45:34",
            "upload_time_iso_8601": "2024-04-11T23:45:34.035938Z",
            "url": "https://files.pythonhosted.org/packages/5e/c9/a0f7b2aa8d97e4bcbb6b43337e8357f15b1ef1454e05f55b9036b757bc35/pysu-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e98f5eb34be834922c2faab3eb45c5031d77065c18adeb2ce994b4d45615d2f",
                "md5": "56b40eb59a5890a4b41e45dc1d61b116",
                "sha256": "b410a4bc752641edc86606b6409c0a3f398f59caa2140e05f3bdca7045aefe02"
            },
            "downloads": -1,
            "filename": "pysu-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "56b40eb59a5890a4b41e45dc1d61b116",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16116,
            "upload_time": "2024-04-11T23:45:35",
            "upload_time_iso_8601": "2024-04-11T23:45:35.736263Z",
            "url": "https://files.pythonhosted.org/packages/9e/98/f5eb34be834922c2faab3eb45c5031d77065c18adeb2ce994b4d45615d2f/pysu-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 23:45:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ionelmc",
    "github_project": "python-su",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "pysu"
}
        
Elapsed time: 1.11065s