Commit Graph

47 Commits

Author SHA1 Message Date
PCoder 7698db24ce Also print total vm count + make result clearer 2019-08-20 15:12:36 +05:30
PCoder fc9dbe9e57 Fix multiple packages error + add tabulate
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pipenv/project.py", line 527, in _parse_pipfile
    return tomlkit.parse(contents)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/tomlkit/api.py", line 49, in parse
    return Parser(string).parse()
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/tomlkit/parser.py", line 152, in parse
    body.append(key, value)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/tomlkit/container.py", line 129, in append
    raise KeyAlreadyPresent(key)
tomlkit.exceptions.KeyAlreadyPresent: Key "packages" already exists.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==2018.11.15.dev0', 'console_scripts', 'pipenv')()
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pipenv/cli/command.py", line 254, in install
    editable_packages=state.installstate.editables,
  File "/usr/lib/python3.7/site-packages/pipenv/core.py", line 1741, in do_install
    pypi_mirror=pypi_mirror,
  File "/usr/lib/python3.7/site-packages/pipenv/core.py", line 578, in ensure_project
    if project.required_python_version:
  File "/usr/lib/python3.7/site-packages/pipenv/project.py", line 243, in required_python_version
    required = self.parsed_pipfile.get("requires", {}).get(
  File "/usr/lib/python3.7/site-packages/pipenv/project.py", line 509, in parsed_pipfile
    parsed = self._parse_pipfile(contents)
  File "/usr/lib/python3.7/site-packages/pipenv/project.py", line 531, in _parse_pipfile
    return toml.loads(contents)
  File "/usr/lib/python3.7/site-packages/pipenv/vendor/toml/decoder.py", line 425, in loads
    original, pos)
toml.decoder.TomlDecodeError: What? packages already exists?{'source': [{'url': 'https://pypi.python.org/simple', 'verify_ssl': True, 'name': 'pypi'}], 'packages': {'requests': '*', 'pyotp': '*'}, 'dev-packages': {}, 'requires': {'python_version': '3.7'}} (line 15 column 1 char 173)
2019-08-20 13:52:12 +05:30
PCoder 0b838b0172 #6430: display response nicely in tabular format 2019-08-20 11:50:27 +05:30
PCoder c3c9ba4a72 Show error message elegantly 2019-08-13 14:59:12 +05:30
PCoder 3e6d535a74 Replace token with seed and obtain token from seed + fix bug
Bug = getting data from dict
2019-08-13 14:48:53 +05:30
PCoder 1b8c8793f0 Update .gitignore: ignroe .idea folder 2019-08-13 14:47:32 +05:30
PCoder 5b3bb10677 Fix arguments for issue and fix missing endpoint trailing slash 2019-08-13 13:26:55 +05:30
PCoder 66a27d435f Allow ungleich_pay_server parameter to be passed by the user 2019-08-13 13:03:59 +05:30
PCoder 3af7d04a9a #6430: add customers-list feature 2019-08-13 12:00:19 +05:30
wcolmenares 992bd6d11b add response print 2019-06-12 21:02:04 -04:00
wcolmenares f84ab49365 include pyotp 2019-06-12 06:29:38 -04:00
wcolmenares cdd370f9c2 updated readme 2019-06-11 21:11:27 -04:00
wcolmenares ba6e83f925 config to read/store user data in json file 2019-06-11 20:57:55 -04:00
Nico Schottelius 79abf872f2 Merge remote-tracking branch 'upstream/master' 2019-06-08 19:30:10 +02:00
Nico Schottelius 49f1229aca ++ changes 2019-06-08 19:29:03 +02:00
Nico Schottelius d28748618d Add usage description, --bugs 2019-06-08 19:18:37 +02:00
Nico Schottelius 5766e65b20 add apixu
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-06-08 19:14:21 +02:00
Nico Schottelius 29d1247f42 Add pipfile, add ssh key handling 2019-06-08 19:10:08 +02:00
nico14571 10e8af17e5 Merge branch 'master' into 'master'
Use pipenv instead of requirements.txt

See merge request ungleich-public/ungleich-cli!4
2019-06-07 13:38:39 +02:00
ahmadbilalkhalid 56c341805b README.md updated 2019-06-07 16:37:42 +05:00
ahmadbilalkhalid f38e1bda14 Merge remote-tracking branch 'upstream/master' 2019-06-07 16:07:43 +05:00
ahmadbilalkhalid bdb21e285a Now using Pipenv, requirements.txt removed 2019-06-07 15:48:48 +05:00
wcolmenares 9772a479b6 use urllib instead of requests 2019-06-06 10:19:43 -04:00
Nico Schottelius 307446e596 + weather header 2019-06-06 16:15:04 +02:00
nico14571 8c02790666 Merge branch 'master' into 'master'
Weather subcommand added

See merge request ungleich-public/ungleich-cli!2
2019-06-06 16:11:21 +02:00
meow b8794b900b .gitignore updated not to track __pycache__ directory and __pycache__ removed 2019-06-06 19:01:24 +05:00
ahmadbilalkhalid 5d14de9045 README.md updated 2019-06-06 15:37:39 +05:00
ahmadbilalkhalid 4dd9b8cb29 requirements.txt added, weather sub command added 2019-06-06 15:26:07 +05:00
wcolmenares 78d2083e4d Updated readme 2019-05-30 05:26:12 -04:00
wcolmenares a185cf6a32 Set correct endpoint for dns 2019-05-30 05:24:09 -04:00
wcolmenares 0c45d87616 added account creation command 2019-05-30 05:23:43 -04:00
wcolmenares d6e29ead71 remove metavar 2019-05-18 12:39:28 -04:00
wcolmenares d4d03d6add delete unnecesary files 2019-05-15 18:53:34 -04:00
wcolmenares 64f9e32e8c Updated readme 2019-05-15 18:49:22 -04:00
wcolmenares 6f3d4a9890 fix and add the dev vm 2019-05-15 18:49:00 -04:00
Nico Schottelius 7d5a33178c Merge remote-tracking branch 'upstream/master' 2019-05-12 12:43:39 +02:00
Nico Schottelius 672418af19 Cleanup 2019-05-12 12:42:28 +02:00
nico14571 0e47c9f253 Merge branch 'master' into 'master'
Update readme

See merge request ungleich-public/ungleich-cli!1
2019-05-12 12:33:23 +02:00
Nico Schottelius 25e57e89ab update readme 2019-05-12 12:31:51 +02:00
Nico Schottelius cf21ec33a9 update
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-05-12 12:22:14 +02:00
Nico Schottelius 44a846a646 Print help by default 2019-05-12 11:29:58 +02:00
Nico Schottelius 19c0eead5c + add ripe description 2019-05-12 11:25:50 +02:00
Nico Schottelius ab9aacec17 update RIPE for first requests 2019-05-12 11:24:31 +02:00
Nico Schottelius 60edbc5f05 Split into sub parts so working individually works 2019-05-12 10:27:07 +02:00
Nico Schottelius c23e25df82 begin introducing structure & sub parsers 2019-05-12 10:09:47 +02:00
wcolmenares 4c97be7226 use argparse for commands instead of Click 2019-04-29 02:07:40 -04:00
wcolmenares 83c00fee5d First commit 2019-04-27 00:56:57 -04:00