{ "info": { "author": "the1bit", "author_email": "youremail@mustbe.valid", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "Empty example PYPI package by The1bit\r\n############################################\r\n\r\n\r\nChange log \r\n###########\r\n\r\n* version 0.0.1.11\r\n * Basic unittest for Core module\r\n * Documentation\r\n* version 0.0.1.6\r\n * Execute this from command-line (pypr -v)\r\n* version 0.0.0.1\r\n * Init files and directory structure\r\n\r\n\r\nRequirements\r\n#############\r\n\r\n* Linux OS or Windows OS\r\n* Python (2.7)\r\n\r\n\r\nBasic install\r\n#############\r\n\r\n.. code-block::\r\n\r\n pip install pypi-project --upgrade\r\n\r\n\r\n(install without cache: pip install pypi-project --no-cache-dir )\r\n\r\n\r\nYou can find the detailed documentation in https://github.com/the1bit/pypi-project.\r\n\r\n\r\nUsage\r\n######\r\n\r\nFrom command line\r\n**********************\r\n\r\n* Usage:\r\n * pypr --version\r\n * pypr core --input TEXT\r\n * pypr core -i TEXT -o string\r\n * pypr core -i TEXT --output json\r\n* Arguments:\r\n* Options:\r\n * **-h** **--help** show this help message and exit\r\n * **-v --version** show version and exit\r\n * **--verbose** print status messages\r\n * **-i --input** set input and exit\r\n * **-o --output** output format default is string. Possible values: string, json\r\n\r\nYou merely type the **pypr** command to commandline with the required parameters.\r\n* *pypr --version* or *pypr -v* : Get version of our package\r\n* *pypr core --input TEXT * or *pypr core -i TEXT -o string* : Write out to screen the TEXT in string format. (module: core)\r\n* ``` pypr core -i TEXT --output json ``` : Write out to screen the TEXT in json format. (module: core)\r\n\r\nFrom Python\r\n*************************\r\n\r\nImport the required module from pypiproject package in python\r\n\r\n.. code-block::\r\n\r\n import pypiproject\r\n\r\n\r\nExamples\r\n########\r\n\r\nFrom command line\r\n**************************\r\n\r\n1. Get version:\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n pypr -v\r\n\r\n\r\nResult: \r\n.. code-block::\r\n\r\n 0.0.1.11\r\n\r\n\r\n\r\n2. Write out text in string format:\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n pypr core -i \"Hello World\"\r\n\r\nResult: \r\n\r\n.. code-block::\r\n\r\n Hello World\r\n\r\n\r\n\r\n3. Write out text in json format:\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n pypr core -i \"Hello World\" -o json\r\n\r\n\r\nResult: \r\n\r\n.. code-block::\r\n\r\n [{'text': 'Hello World'}]\r\n\r\n\r\n\r\nFrom Python\r\n*********************\r\n\r\nEvery example assumes you are in python shell\r\n\r\n1. Execute core module related unittest\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n from pypiproject.core.pypiproject_core_unittest import *\r\n testResult = runUnittests()\r\n\r\n\r\nResult:\r\n\r\n.. code-block::\r\n\r\n test_input (pypiproject.core.pypiproject_core_unittest.TestCoreModule) ... All tests passed so far!\r\n ok\r\n test_output (pypiproject.core.pypiproject_core_unittest.TestCoreModule) ... All tests passed so far!\r\n ok\r\n\r\n ----------------------------------------------------------------------\r\n Ran 2 tests in 0.003s\r\n\r\n OK\r\n\r\n\r\n2. Write out text in string format:\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n from pypiproject.core.pypiproject_core import *\r\n getText(\"Hello World\")\r\n\r\n\r\nResult: \r\n\r\n.. code-block::\r\n\r\n Hello World\r\n\r\n\r\n\r\n3. Write out text in json format:\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\n.. code-block::\r\n\r\n from pypiproject.core.pypiproject_core import *\r\n getText(\"Hello World\", \"json\")\r\n\r\nResult: \r\n\r\n.. code-block::\r\n\r\n {'text': 'Hello World'}\r\n\r\n\r\n\r\nKnown issues\r\n#############\r\n\r\n\r\n**Permission denied on /usr/bin/pypr**\r\n*******************************************\r\n\r\nSometimes you are facing the following issue when you execute the **pypr** command:\r\n\r\n.. code-block::\r\n\r\n -bash: /usr/bin/pypr: Permission denied\r\n\r\n\r\nSolution to execute the following command:\r\n\r\n.. code-block::\r\n\r\n sudo chmod +x /usr/bin/pypr\r\n\r\n\r\n**Command not found on /usr/bin/pypr**\r\n*******************************************\r\nAlthough the package is well prepared sometimes you are facing the following issue after a package update when you execute the **pypr** command:\r\n\r\n.. code-block::\r\n\r\n /usr/bin/pypr: line 2: $'\\r': command not found\r\n /usr/bin/pypr: line 19: syntax error: unexpected end of file\r\n\r\n\r\nSolution to execute the following command:\r\n\r\n.. code-block::\r\n\r\n sudo dos2unix /usr/bin/pypr\r\n\r\n\r\n\r\nLICENSE (MIT)\r\n#############\r\n\r\n\r\nCopyright (c) 2019\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of\r\nthis software and associated documentation files (the \"Software\"), to deal in\r\nthe Software without restriction, including without limitation the rights to\r\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\r\nof the Software, and to permit persons to whom the Software is furnished to do\r\nso, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/the1bit/pypi-project", "keywords": "python the1bithu", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pypi-project", "package_url": "https://pypi.org/project/pypi-project/", "platform": "", "project_url": "https://pypi.org/project/pypi-project/", "project_urls": { "Homepage": "https://github.com/the1bit/pypi-project" }, "release_url": "https://pypi.org/project/pypi-project/0.0.1.11/", "requires_dist": [ "docopt" ], "requires_python": ">=2.6, <3", "summary": "pypi-project - Empty example PYPI package by The1bit", "version": "0.0.1.11" }, "last_serial": 5326435, "releases": { "0.0.0.3": [ { "comment_text": "", "digests": { "md5": "19b91de2fda26d5b3809eaadbe9ea0ad", "sha256": "6c417a4acd144e4289f2a605e35c7461fbdcbe5d5fa819007df0099c12594cea" }, "downloads": -1, "filename": "pypi_project-0.0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19b91de2fda26d5b3809eaadbe9ea0ad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, <3", "size": 3022, "upload_time": "2019-03-28T11:05:25", "url": "https://files.pythonhosted.org/packages/b8/e9/35e5c91c344b0d0a8cc557ddd5ca8f72d8328012f2dd70ce1c8010586766/pypi_project-0.0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e500468834f07192db2001b87374806", "sha256": "3406c829c32a9fdab87a362515c9bc78693783d8fdaa15a67444228bf0e425c9" }, "downloads": -1, "filename": "pypi-project-0.0.0.3.tar.gz", "has_sig": false, "md5_digest": "7e500468834f07192db2001b87374806", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, <3", "size": 3021, "upload_time": "2019-03-28T11:05:27", "url": "https://files.pythonhosted.org/packages/ba/eb/7c92099a66bbe84771b11e8ccb869b15d8ab741396ee9966b662b7bba73f/pypi-project-0.0.0.3.tar.gz" } ], "0.0.1.11": [ { "comment_text": "", "digests": { "md5": "c4fb4120ae4dd6add8fcf22cc64b9c72", "sha256": "2c4f1a9e50cc04a65186ccb23b8a6d88b1531e90a680146a01084906d4fd1e90" }, "downloads": -1, "filename": "pypi_project-0.0.1.11-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4fb4120ae4dd6add8fcf22cc64b9c72", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, <3", "size": 6982, "upload_time": "2019-05-28T12:00:27", "url": "https://files.pythonhosted.org/packages/60/49/75fc7a09409917586ead7723d9a26977853ca156e22c970ca31eef6910e2/pypi_project-0.0.1.11-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "189083e32a5b10f885cb976bb14ea6c0", "sha256": "7a6bb65d57f6ad194a2aeeca8fa56831f0d7863aed32cd78bf5448a0b2087c90" }, "downloads": -1, "filename": "pypi-project-0.0.1.11.tar.gz", "has_sig": false, "md5_digest": "189083e32a5b10f885cb976bb14ea6c0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, <3", "size": 6070, "upload_time": "2019-05-28T12:00:28", "url": "https://files.pythonhosted.org/packages/51/21/67f62cdbb615a563b993bfc555765640997a9cb5bc474c58ef09161350de/pypi-project-0.0.1.11.tar.gz" } ], "0.0.1.6": [ { "comment_text": "", "digests": { "md5": "3cf8211f84ba181da2e9e79e34465419", "sha256": "a9417e6fb919304db95c3fce8f68fea6b0ba62c35ee80efba1970b42dd746622" }, "downloads": -1, "filename": "pypi_project-0.0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3cf8211f84ba181da2e9e79e34465419", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, <3", "size": 4578, "upload_time": "2019-05-27T12:29:46", "url": "https://files.pythonhosted.org/packages/a3/af/36d61ca7d9514c146cba505c98e29664f9da4f26a98d25cef802a7fa0f54/pypi_project-0.0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aff661b195d87b1034ccad8c6dc8e1de", "sha256": "52a12c1a246a39638df707f34aa45d3878c473ef6160e4786f9e65fd99d07aaf" }, "downloads": -1, "filename": "pypi-project-0.0.1.6.tar.gz", "has_sig": false, "md5_digest": "aff661b195d87b1034ccad8c6dc8e1de", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, <3", "size": 3998, "upload_time": "2019-05-27T12:29:48", "url": "https://files.pythonhosted.org/packages/4f/fb/a83003d59d8af8b3c00cbda02e1bff12a5c943ace19e340b85a9ada41cf3/pypi-project-0.0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4fb4120ae4dd6add8fcf22cc64b9c72", "sha256": "2c4f1a9e50cc04a65186ccb23b8a6d88b1531e90a680146a01084906d4fd1e90" }, "downloads": -1, "filename": "pypi_project-0.0.1.11-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4fb4120ae4dd6add8fcf22cc64b9c72", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, <3", "size": 6982, "upload_time": "2019-05-28T12:00:27", "url": "https://files.pythonhosted.org/packages/60/49/75fc7a09409917586ead7723d9a26977853ca156e22c970ca31eef6910e2/pypi_project-0.0.1.11-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "189083e32a5b10f885cb976bb14ea6c0", "sha256": "7a6bb65d57f6ad194a2aeeca8fa56831f0d7863aed32cd78bf5448a0b2087c90" }, "downloads": -1, "filename": "pypi-project-0.0.1.11.tar.gz", "has_sig": false, "md5_digest": "189083e32a5b10f885cb976bb14ea6c0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, <3", "size": 6070, "upload_time": "2019-05-28T12:00:28", "url": "https://files.pythonhosted.org/packages/51/21/67f62cdbb615a563b993bfc555765640997a9cb5bc474c58ef09161350de/pypi-project-0.0.1.11.tar.gz" } ] }