{ "info": { "author": "Harold Bradley III", "author_email": "harold@bradleystudio.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "ext_pylib\n#########\nextra python modules for server script scaffolding\n==================================================\n\n.. image:: https://travis-ci.org/hbradleyiii/ext_pylib.svg?branch=master\n :target: https://travis-ci.org/hbradleyiii/ext_pylib\n\n.. image:: https://www.quantifiedcode.com/api/v1/project/b9f8a6c7f3724ee4896e7cd8d2a865aa/badge.svg\n :target: https://www.quantifiedcode.com/app/project/b9f8a6c7f3724ee4896e7cd8d2a865aa :alt: Code issues\n\n----\n\nThis is a work in progress. Use at your own risk.\n\next_pylib is a group of submodules that are useful scaffolding for other larger\nprojects. I began developing it after noticing how often I was repeating\nseveral patterns for server scripts. It works well for building server scripts.\n\nInstalling and Including in projects\n====================================\n\nInstalling ext_pylib\n--------------------\n\n.. code:: bash\n\n $ git clone git@github.com:hbradleyiii/ext_pylib.git\n $ cd \n $ pip install -e .\n\nRunning Tests\n-------------\n\n.. code:: bash\n\n $ cd \n $ py.test\n\nModules\n=======\n\nDomain Module\n-------------\nTODO\n\nFiles Module\n------------\nA class to manage and create files. Also includes three\nmixin classes Parsable, Section, and Template.\n\nSection Mixin\n~~~~~~~~~~~~~\nThe Section mixin adds methods useful for processing\ntemplate section files. A section file is a template of a\nconfiguration file that only represents a particular\nsection of that file. It begins and ends with a delineator\n\nFor example:\n\n.. code:: bash\n\n ## START:SECTION_NAME ##\n content here...\n ## END:SECTION_NAME ##\n\nA use case would be how WordPress\ndelineates a particular section of the htaccess file in its\nroot directory with a start line and an end line. This is a\nsection of the full htaccess file and could be managed by a\nSection mixin.\n\nTemplate Mixin\n~~~~~~~~~~~~~~\nThe Template mixin adds a method useful for processing a\nregular template file: ``apply_using()``. It assumes that the\nfile contains placeholder text to be replaced by actual\ndata. The placeholders and actual data are passsed into the\nmethod as a dict. The resulting data is returned\n(presumably to be saved in another file.)\n#### Parsable Mixin\n\nThe Parsable mixin adds a method useful for parsing\n(presumably) configuration files. It takes a dict of\nattribute names and regexes to be used. When\n``setup_parsing()`` is called, a dynamic property is created\nfor getting and setting a value in self.data based on the\nregex.\n\nPassword Module\n---------------\nTODO\n\nPrompt Module\n---------------\nTODO\n\nUser Module\n-----------\nTODO\n\n----\n\nSoli Deo gloria.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/hbradleyiii/ext_pylib/archive/0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hbradleyiii/ext_pylib", "keywords": "server development,files,domain names", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "ext_pylib", "package_url": "https://pypi.org/project/ext_pylib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ext_pylib/", "project_urls": { "Download": "https://github.com/hbradleyiii/ext_pylib/archive/0.1.tar.gz", "Homepage": "https://github.com/hbradleyiii/ext_pylib" }, "release_url": "https://pypi.org/project/ext_pylib/0.1/", "requires_dist": null, "requires_python": null, "summary": "Extra python libraries for scaffolding server scripts.", "version": "0.1" }, "last_serial": 2004740, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f38820a0699d7d7d6ca250f116012db9", "sha256": "f80032fd9f588f84524479030420b31749f04d6243080366f48e8e7f3c1ddf14" }, "downloads": -1, "filename": "ext_pylib-0.1.tar.gz", "has_sig": false, "md5_digest": "f38820a0699d7d7d6ca250f116012db9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18960, "upload_time": "2016-03-13T19:56:54", "url": "https://files.pythonhosted.org/packages/5e/6d/c7d4e26d0c83315ec060999423e23c0b18d335e7b540ba99cfc81c82b003/ext_pylib-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f38820a0699d7d7d6ca250f116012db9", "sha256": "f80032fd9f588f84524479030420b31749f04d6243080366f48e8e7f3c1ddf14" }, "downloads": -1, "filename": "ext_pylib-0.1.tar.gz", "has_sig": false, "md5_digest": "f38820a0699d7d7d6ca250f116012db9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18960, "upload_time": "2016-03-13T19:56:54", "url": "https://files.pythonhosted.org/packages/5e/6d/c7d4e26d0c83315ec060999423e23c0b18d335e7b540ba99cfc81c82b003/ext_pylib-0.1.tar.gz" } ] }