{ "info": { "author": "Niklas Sombert", "author_email": "niklas@ytvwld.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet", "Topic :: Utilities" ], "description": "metecli\n=======\n\n|Code Health|\n\nThis is a CLI for `mete `__ (or any\nother server supporting the `Space-Market\nAPI `__\n`v1 `__).\n\nGetting Started\n---------------\n\nInstallation\n~~~~~~~~~~~~\n\nAlthough this isn't strictly needed you might want to install metecli\nfirst before using it.\n\nUpgrading (or downgrading) is done the same way as installing.\n\nInstalling the current stable version\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n``sudo -H pip3 install metecli``\n\nInstalling the development version\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n1. Clone this repository.\n (``git clone https://github.com/YtvwlD/metecli.git``)\n2. Install it. (``sudo -H ./setup.py install``)\n\nOr just use it without installing\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n1. Clone this repository.\n (``git clone https://github.com/YtvwlD/metecli.git``)\n2. Install the dependencies (either via your distribution's package\n manager or via pip): 2.1. requests 2.2. PyYAML 2.3. tabulate\n3. Start it. (``./run.sh``)\n4. Remember to mentally replace ``metecli`` with ``./run.sh`` in the\n next sections.\n\nConfiguration\n~~~~~~~~~~~~~\n\nThe initial configuration is done by calling ``metecli setup``. You'll\nsee an exemplary invocation below:\n\n::\n\n $ metecli setup\n Please enter the url for mete: http://mete/\n The URL you entered doesn't use HTTPS. Do you want to try again? (y/n) n\n WARNING:metecli.setup:Using HTTP. The connection won't be secure.\n Please enter your username (or a part of it) or your uid: 1\n\nmetecli is now configured and ready.\n\na few use-cases\n---------------\n\nbuy a drink\n~~~~~~~~~~~\n\n::\n\n $ metecli account buy Mate\n\ndeposit money\n~~~~~~~~~~~~~\n\n::\n\n $ metecli account deposit 2.50\n\nshow information about your account\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ metecli account show\n +----------------------------------+---------+\n | ID | 2 |\n +----------------------------------+---------+\n | name | test |\n +----------------------------------+---------+\n | email | |\n +----------------------------------+---------+\n | account balance | -1.50 \u20ac |\n +----------------------------------+---------+\n | active? | no |\n +----------------------------------+---------+\n | log transactions? | no |\n +----------------------------------+---------+\n | redirect after buying something? | yes |\n +----------------------------------+---------+\n\nmodify your account\n~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ metecli account modify\n name [test]: \n email []: test@example.com\n account balance [-1.5]: \n active? [no]: yes\n log transactions? [no]: \n redirect after buying something? [yes]:\n\nlist your recent transactions\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou'll need to have the setting \"log transactions\" (``audit``) enabled\nfor this to work.\n\n::\n\n $ metecli account logs\n Audits for user 1:\n +--------------------------+---------+--------------+\n | time | drink | difference |\n +==========================+=========+==============+\n | 2017-09-11T09:01:23.816Z | Mate | -1.5 |\n +--------------------------+---------+--------------+\n | 2017-09-10T13:41:50.372Z | n/a | -5 |\n +--------------------------+---------+--------------+\n\nlist all drinks\n~~~~~~~~~~~~~~~\n\n::\n\n $ metecli drinks list\n All drinks:\n +------+---------+---------------+------------+---------+-----------+\n | ID | name | bottle size | caffeine | price | active? |\n +======+=========+===============+============+=========+===========+\n | 1 | Mate | 0.5 | | 1.50 \u20ac | yes |\n +------+---------+---------------+------------+---------+-----------+\n | 2 | Cola | 0 | | 1.50 \u20ac | yes |\n +------+---------+---------------+------------+---------+-----------+\n\ndisplay information about a drink\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ metecli drinks show Mate\n +-------------+--------+\n | ID | 1 |\n +-------------+--------+\n | name | Mate |\n +-------------+--------+\n | price | 1.50 \u20ac |\n +-------------+--------+\n | bottle size | 0.5 |\n +-------------+--------+\n | caffeine | |\n +-------------+--------+\n | active? | yes |\n +-------------+--------+\n\nmodify a drink\n~~~~~~~~~~~~~~\n\n::\n\n $ metecli drinks modify Mate\n name [Mate]: \n price [1.5]: \n bottle size [0.5]: \n caffeine [None]: 100\n active? [yes]:\n\n.. |Code Health| image:: https://landscape.io/github/YtvwlD/metecli/master/landscape.svg?style=plastic\n :target: https://landscape.io/github/YtvwlD/metecli/master\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/YtvwlD/metecli", "keywords": "mete", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "metecli", "package_url": "https://pypi.org/project/metecli/", "platform": "", "project_url": "https://pypi.org/project/metecli/", "project_urls": { "Homepage": "https://github.com/YtvwlD/metecli" }, "release_url": "https://pypi.org/project/metecli/0.7.0/", "requires_dist": [ "PyYAML", "requests", "tabulate", "typing" ], "requires_python": "~=3.3", "summary": "a cli for mete", "version": "0.7.0" }, "last_serial": 3656831, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5312580590f890c8141c990885f6116d", "sha256": "d6d13b10dfe5f708b30b4dbd70362906c34761629aa82fa7611f4c7f84b6ea18" }, "downloads": -1, "filename": "metecli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5312580590f890c8141c990885f6116d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8468, "upload_time": "2017-09-06T14:27:20", "url": "https://files.pythonhosted.org/packages/62/02/5cd3e5dac8a943c5f2e1593d193f413bd576fd75a8778e65c602f4d742bc/metecli-0.1.0-py2.py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "97c52159cd31851cd81dd9e2b12df866", "sha256": "107a1281a21283d039bcbb7a542f0cef282322aa6c1b8b90c92e5139de66ef8d" }, "downloads": -1, "filename": "metecli-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97c52159cd31851cd81dd9e2b12df866", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9714, "upload_time": "2017-09-09T15:59:45", "url": "https://files.pythonhosted.org/packages/e6/73/63cb5c8188fba0e9e2106d7337708cb71de8caab4347558e0f64b31fa905/metecli-0.2.0-py2.py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d4193434dd57bec4f523292f19fbef3e", "sha256": "58a3e094e7cd54c7a94c96a39a6e6abad697e78b4f109160f89304af968576b6" }, "downloads": -1, "filename": "metecli-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d4193434dd57bec4f523292f19fbef3e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 14260, "upload_time": "2017-09-11T10:00:33", "url": "https://files.pythonhosted.org/packages/89/68/8d1271d46b74bb63e0e081e7cb5f32742710d0ccda42960db7236df3a098/metecli-0.3.0-py2.py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "93c5495c762cada80825b1249b1d663c", "sha256": "0fdf92c4eb4208c43212e256007bc6b2332e6e27abd6a94571ce65c6142c8695" }, "downloads": -1, "filename": "metecli-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "93c5495c762cada80825b1249b1d663c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 14260, "upload_time": "2017-09-13T16:12:24", "url": "https://files.pythonhosted.org/packages/bb/73/bf4ee83064e84d9562636fa0eeed5df9424d74ef432ccb527834bb920deb/metecli-0.3.1-py2.py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4d25adf4337ae9b66b23f573f8c2be6a", "sha256": "df3ae1cb77aa5e4bea3181d337c07003e6249ed374ff6657f2e8af1cd414e84a" }, "downloads": -1, "filename": "metecli-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4d25adf4337ae9b66b23f573f8c2be6a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 15626, "upload_time": "2017-09-14T11:32:29", "url": "https://files.pythonhosted.org/packages/a8/70/1e1f05d224e7514a3adb89e2f6f94a0334c6b1987e3825d966d839d408d4/metecli-0.4.0-py2.py3-none-any.whl" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "b3b39ebedc35c1dbc6286707f4cdcf2c", "sha256": "6ca3b9367c841dd86ed97d1649c36d7b41112d443f8247f55f3af38b64304a1d" }, "downloads": -1, "filename": "metecli-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b3b39ebedc35c1dbc6286707f4cdcf2c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 16603, "upload_time": "2017-09-19T13:40:19", "url": "https://files.pythonhosted.org/packages/57/82/cb964d9fbea69f261c7e395a640e3028f4e59e786561ffcd61ba25180743/metecli-0.5.0-py2.py3-none-any.whl" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "b2ef21d6bb6cab828580b12ec6dcef0a", "sha256": "1313e0534a05893bc5ce9076d673f16dd8213158c58c3cc213b0d463d630a82f" }, "downloads": -1, "filename": "metecli-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2ef21d6bb6cab828580b12ec6dcef0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 17448, "upload_time": "2017-10-06T17:02:56", "url": "https://files.pythonhosted.org/packages/05/e7/066fcf4876e68bf4149c05455526cd3027c47baaf82e80a523ab02c8a1f0/metecli-0.6.0-py2.py3-none-any.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "a5cced59b1e1e25faa95d6ee75b86ae3", "sha256": "45d30d76e25d9dcac895613ca5f9328313d678405063272e5a3d1f8b27f62a6f" }, "downloads": -1, "filename": "metecli-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5cced59b1e1e25faa95d6ee75b86ae3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 18744, "upload_time": "2018-03-10T11:35:52", "url": "https://files.pythonhosted.org/packages/c9/72/c7ffc64bac378aa11090d6702319aa7d6ccec93675f89c1962ddfa91354f/metecli-0.7.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5cced59b1e1e25faa95d6ee75b86ae3", "sha256": "45d30d76e25d9dcac895613ca5f9328313d678405063272e5a3d1f8b27f62a6f" }, "downloads": -1, "filename": "metecli-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5cced59b1e1e25faa95d6ee75b86ae3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.3", "size": 18744, "upload_time": "2018-03-10T11:35:52", "url": "https://files.pythonhosted.org/packages/c9/72/c7ffc64bac378aa11090d6702319aa7d6ccec93675f89c1962ddfa91354f/metecli-0.7.0-py2.py3-none-any.whl" } ] }