getent2


Namegetent2 JSON
Version 0.2 PyPI version JSON
download
home_page
SummaryPython interface to the POSIX getent family of commands
upload_time2024-01-18 09:46:22
maintainer
docs_urlNone
authorWijnand Modderman-Lenstra
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ======
 fork
======

This is fork of https://github.com/tehmaze/getent

The goal is to make it installable from pypi.

========
 getent
========

Python interface to the POSIX getent family of commands (getpwent, getgrent, getnetent, etc.)


Usage
=====

Here a few examples.

Load the interface::

    >>> import getent

Doing a passwd lookup::

    >>> print dict(getent.passwd('root'))
    {'dir': '/root',
     'gecos': 'root',
     'gid': 0,
     'name': 'root',
     'password': 'x',
     'shell': '/bin/bash',
     'uid': 0}

Doing a group lookup::

    >>> print dict(getent.group('root'))
    {'gid': 0, 'members': [], 'name': 'root', 'password': 'x'}


Bugs
====

Please use the `bug tracker at GitHub`_ for bugs or feature requests.

.. _bug tracker at GitHub: https://github.com/tehmaze/getent/issues


Authors
=======

* `Wijnand Modderman-Lenstra <https://maze.io/>`_
* Thomas Kula
* `Olivier Cortès <http://oliviercortes.com/>`_


Build status
============

.. image:: https://landscape.io/github/tehmaze/getent/master/landscape.svg
   :target: https://landscape.io/github/tehmaze/getent/master

.. image:: https://travis-ci.org/tehmaze/getent.svg
   :target: https://travis-ci.org/tehmaze/getent

.. image:: https://coveralls.io/repos/tehmaze/getent/badge.svg
   :target: https://coveralls.io/r/tehmaze/getent


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "getent2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Wijnand Modderman-Lenstra",
    "author_email": "maze@pyth0n.org",
    "download_url": "https://files.pythonhosted.org/packages/dc/f2/b058ecdd87114ea33a1efd7aa1de1d76f6e797ecc5b5cca6ce141fbbde97/getent2-0.2.tar.gz",
    "platform": null,
    "description": "======\n fork\n======\n\nThis is fork of https://github.com/tehmaze/getent\n\nThe goal is to make it installable from pypi.\n\n========\n getent\n========\n\nPython interface to the POSIX getent family of commands (getpwent, getgrent, getnetent, etc.)\n\n\nUsage\n=====\n\nHere a few examples.\n\nLoad the interface::\n\n    >>> import getent\n\nDoing a passwd lookup::\n\n    >>> print dict(getent.passwd('root'))\n    {'dir': '/root',\n     'gecos': 'root',\n     'gid': 0,\n     'name': 'root',\n     'password': 'x',\n     'shell': '/bin/bash',\n     'uid': 0}\n\nDoing a group lookup::\n\n    >>> print dict(getent.group('root'))\n    {'gid': 0, 'members': [], 'name': 'root', 'password': 'x'}\n\n\nBugs\n====\n\nPlease use the `bug tracker at GitHub`_ for bugs or feature requests.\n\n.. _bug tracker at GitHub: https://github.com/tehmaze/getent/issues\n\n\nAuthors\n=======\n\n* `Wijnand Modderman-Lenstra <https://maze.io/>`_\n* Thomas Kula\n* `Olivier Cort\u00e8s <http://oliviercortes.com/>`_\n\n\nBuild status\n============\n\n.. image:: https://landscape.io/github/tehmaze/getent/master/landscape.svg\n   :target: https://landscape.io/github/tehmaze/getent/master\n\n.. image:: https://travis-ci.org/tehmaze/getent.svg\n   :target: https://travis-ci.org/tehmaze/getent\n\n.. image:: https://coveralls.io/repos/tehmaze/getent/badge.svg\n   :target: https://coveralls.io/r/tehmaze/getent\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python interface to the POSIX getent family of commands",
    "version": "0.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7da174303548cbdd2eb54469ea301b215abddbfd0a0516f04b50932dcc04a390",
                "md5": "54186224a011f56e555461a582aa2655",
                "sha256": "04097b123086adfa6eaa9ca8ae9b49f586194aa32b77bcd0cf33a77aa4d9cdbc"
            },
            "downloads": -1,
            "filename": "getent2-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "54186224a011f56e555461a582aa2655",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 8608,
            "upload_time": "2024-01-18T09:46:21",
            "upload_time_iso_8601": "2024-01-18T09:46:21.361564Z",
            "url": "https://files.pythonhosted.org/packages/7d/a1/74303548cbdd2eb54469ea301b215abddbfd0a0516f04b50932dcc04a390/getent2-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dcf2b058ecdd87114ea33a1efd7aa1de1d76f6e797ecc5b5cca6ce141fbbde97",
                "md5": "4aa9549c1a5c6740af1fc2a1f3a778c9",
                "sha256": "ebb1ee2995b71dd24e48843e12fce7adb0a30b8494c7dd15687fb456797b350e"
            },
            "downloads": -1,
            "filename": "getent2-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4aa9549c1a5c6740af1fc2a1f3a778c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 8020,
            "upload_time": "2024-01-18T09:46:22",
            "upload_time_iso_8601": "2024-01-18T09:46:22.854719Z",
            "url": "https://files.pythonhosted.org/packages/dc/f2/b058ecdd87114ea33a1efd7aa1de1d76f6e797ecc5b5cca6ce141fbbde97/getent2-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-18 09:46:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "getent2"
}
        
Elapsed time: 0.29250s