Git Product home page Git Product logo

pycrypcli's Introduction

CI Code style: black Maintainability PyPI PyPI Downloads

PyCrypCli

Python Cryptic Game Client

Prerequisites

Install via pip

$ python -m pip install -U PyCrypCli
$ pycrypcli [<server>]

Or clone from GitHub

$ git clone https://github.com/Defelo/PyCrypCli.git
$ cd PyCrypCli/
$ python -m pip install -r requirements.txt
$ python -m PyCrypCli [<server>]

Or pull the Docker Image

# docker run -it --rm ghcr.io/defelo/pycrypcli

pycrypcli's People

Contributors

adridevelopsthings avatar defelo avatar dependabot[bot] avatar marcelcoding avatar thecataliastnt2k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pycrypcli's Issues

Files not shown

If you are logged in and write any file list command (dir, l, ls), files wont be shown

device delete

Add a device delete subcommand to delete devices.

TypeError: __init__() missing 1 required positional argument: 'error'

Sentry Issue: PYCRYPCLI-2H

TypeError: __init__() missing 1 required positional argument: 'error'
(6 additional frame(s) were not displayed)
...
  File "PyCrypCli\commands\miner.py", line 36, in handle_miner_look
    miner: Miner = get_miner(context)
  File "PyCrypCli\commands\miner.py", line 14, in get_miner
    return context.host.get_miner()
  File "PyCrypCli\game_objects\device.py", line 102, in get_miner
    return Miner.get_miner(self._client, self.uuid)
  File "PyCrypCli\game_objects\service\miner.py", line 27, in get_miner
    miner: Miner = Service.get_service_by_name(client, device_uuid, "miner").clone(Miner)
  File "PyCrypCli\game_objects\service\service.py", line 43, in get_service_by_name
    raise ServiceNotFoundException

DeviceNotFoundException in spot command

Sentry Issue: PYCRYPCLI-9

DeviceNotFoundException: device_not_found
(2 additional frame(s) were not displayed)
...
  File "PyCrypCli/pycrypcli.py", line 85, in mainloop
    context.get_commands()[cmd].handle(context, args)
  File "PyCrypCli/commands/command.py", line 42, in handle
    cmd.func(context, args)
  File "PyCrypCli/commands/service.py", line 316, in handle_spot
    device: Device = Device.spot(context.client)
  File "PyCrypCli/game_objects/device.py", line 53, in spot
    return Device(client, client.ms("device", ["device", "spot"]))
  File "PyCrypCli/client.py", line 96, in ms
    raise exception(error, list(match.groups()))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.