{ "info": { "author": "Michal Belica", "author_email": "devel@beli.sk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "Unix Account\n============\n\nPython module to manipulate unix system accounts by calling standard unix\ncommands user{add,mod,del} which do the actual system files manipulation.\n\nUses ``sudo`` to run the commands if not root (EUID not 0).\n\nLocations\n---------\n\nUnix Account packages are available from Cheese shop (PyPI)\nat https://pypi.python.org/pypi/unixaccount\n\nThe `project page `_ is hosted on Github.\n\nIf you've never worked with *git* or contributed to a project on Github,\nthere is a `quick start guide `_.\n\nIf you find something wrong or know of a missing feature, please\n`create an issue `_ on the project\npage. If you find that inconvenient or have some security concerns, you could\nalso drop me a line at .\n\nInstall\n-------\n\n::\n\n pip install unixaccount\n\nContents\n--------\n\nCLASSES\n~~~~~~~\n\n* exceptions.Exception(exceptions.BaseException)\n\n * UnixAccountError\n\n * AlreadyExists\n * Busy\n * NotFound\n\nFUNCTIONS\n~~~~~~~~~\n\n::\n\n create_user(username, group=None, homedir=None, password=None, mkhome=False, shell=None)\n Create a new user account\n \n delete_user(username)\n Delete user account.\n \n modify_user(username, group=None, homedir=None, password=None, mkhome=False, shell=None)\n Modify existing user account.\n \n get_gid(groupname)\n Return numeric group ID for given group name or raise NotFound exception.\n \n get_uid(username)\n Return numeric user ID for given username or raise NotFound exception.\n \n get_username(uid)\n Return user name for given numeric user ID or raise NotFound exception\n\n\nLicense\n-------\n\nCopyright 2014 Michal Belica \n\n::\n\n Unix Account is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n Unix Account is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with Unix Account. If not, see < http://www.gnu.org/licenses/ >.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/beli-sk/unixaccount", "keywords": null, "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "unixaccount", "package_url": "https://pypi.org/project/unixaccount/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/unixaccount/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/beli-sk/unixaccount" }, "release_url": "https://pypi.org/project/unixaccount/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python module to manipulate unix system accounts.", "version": "0.1.1" }, "last_serial": 1126134, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "41a743373968c5c071dc528fba504b68", "sha256": "e92432718b0f91e25371789fddad8987ee16dbd0d679e4f1be636d80fc81e73c" }, "downloads": -1, "filename": "unixaccount-0.1.0.tar.gz", "has_sig": true, "md5_digest": "41a743373968c5c071dc528fba504b68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3547, "upload_time": "2014-06-13T13:30:51", "url": "https://files.pythonhosted.org/packages/9f/6d/45c06549a3048a1b296a0c5678618611edc0a8ffa76d2d028043cb72f5f8/unixaccount-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0a7d6e7bf4d014db647130b149e7e8ef", "sha256": "db8a6f19008ed743aa32f29c3ebe82efd002d8bf2f1b633ed5afa8dc9f001e70" }, "downloads": -1, "filename": "unixaccount-0.1.1.tar.gz", "has_sig": true, "md5_digest": "0a7d6e7bf4d014db647130b149e7e8ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3611, "upload_time": "2014-06-16T08:35:09", "url": "https://files.pythonhosted.org/packages/9b/1f/4e8f5b385e8ae899b7e0d1f2ab59ec43fe10e4e168ca9da07775413909d3/unixaccount-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a7d6e7bf4d014db647130b149e7e8ef", "sha256": "db8a6f19008ed743aa32f29c3ebe82efd002d8bf2f1b633ed5afa8dc9f001e70" }, "downloads": -1, "filename": "unixaccount-0.1.1.tar.gz", "has_sig": true, "md5_digest": "0a7d6e7bf4d014db647130b149e7e8ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3611, "upload_time": "2014-06-16T08:35:09", "url": "https://files.pythonhosted.org/packages/9b/1f/4e8f5b385e8ae899b7e0d1f2ab59ec43fe10e4e168ca9da07775413909d3/unixaccount-0.1.1.tar.gz" } ] }