python-sc2 | A StarCraft II bot api client library for Python | Bot library

 by   BurnySc2 Python Version: v0.11.1 License: MIT

kandi X-RAY | python-sc2 Summary

kandi X-RAY | python-sc2 Summary

python-sc2 is a Python library typically used in Automation, Bot applications. python-sc2 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However python-sc2 build file is not available. You can download it from GitHub.

A StarCraft II bot api client library for Python 3
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python-sc2 has a low active ecosystem.
              It has 365 star(s) with 141 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 23 open issues and 56 have been closed. On average issues are closed in 270 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of python-sc2 is v0.11.1

            kandi-Quality Quality

              python-sc2 has 0 bugs and 0 code smells.

            kandi-Security Security

              python-sc2 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              python-sc2 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              python-sc2 is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              python-sc2 releases are not available. You will need to build from source code and install.
              python-sc2 has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 19482 lines of code, 1198 functions and 116 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed python-sc2 and discovered the below as its top functions. This is intended to give you an instant insight into python-sc2 implemented functionality, and help decide if they suit your requirements.
            • This method is called on_step
            • Determine if an upgrade is already pending
            • Return the number of pending upgrades for a given unit type
            • Return a new unit filtered by predicate
            • Performs the attack
            • Perform a single action
            • Build building
            • Return the terrain height at pos
            • Gets the resources for each worker
            • Handles a request
            • Workhorse function
            • Attack the command center
            • Returns a dict of all upgrades and their respective upgrades
            • This function is called when a game is finished
            • Performs the attack on a single unit
            • Build pylon
            • Builds a new unit
            • This method is called when a random switch is reached
            • Parse the unit train ability
            • Run multiple matches
            • Update workers and distribute resources
            • Run a ladder game
            • Generate a dictionary of unit aliases
            • This function is called when the game is ready
            • Build a new unit test
            • Attack weapon
            Get all kandi verified functions for this library.

            python-sc2 Key Features

            No Key Features are available at this moment for python-sc2.

            python-sc2 Examples and Code Snippets

            No Code Snippets are available at this moment for python-sc2.

            Community Discussions

            QUESTION

            Download python library from Github "requires a different Python"
            Asked 2022-Jan-24 at 11:29

            I'm trying to download python library from github, by using this comand in cmd: pip install --upgrade --force-reinstall https://github.com/BurnySc2/python-sc2/archive/develop.zip But in the end, I catch an error:

            ERROR: Package 'burnysc2' requires a different Python: 3.10.2 not in '<3.10,>=3.7'

            I have the latest version of Python (3.10.2) Is there any ways to solve this problem?

            ...

            ANSWER

            Answered 2022-Jan-20 at 13:10

            That library doesn't officially support Python 3.10, as the error message says.

            I have the latest version of Python (3.10.2) Is there any ways to solve this problem?

            I believe you can try adding --python-version 3.9 to your command. This should let you install with Python 3.10 even though it isn't officially supported:

            The Python interpreter version to use for wheel and “Requires-Python” compatibility checks. Defaults to a version derived from the running interpreter.

            If this works and all tests pass, consider changing the version constraint to include Python 3.10 and submitting a pull request.

            Or you could downgrade to Python 3.9.

            Source https://stackoverflow.com/questions/70786401

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install python-sc2

            By installing this library you agree to be bound by the terms of the AI and Machine Learning License. For this fork, you'll need Python 3.7 or newer.

            Support

            You have questions but don't want to create an issue? Join the Starcraft 2 AI Discord server or aiarena.net Discord server. Questions about this repository can be asked in text channel #python. There are discussions and questions about SC2 bot programming and this repository every day.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/BurnySc2/python-sc2.git

          • CLI

            gh repo clone BurnySc2/python-sc2

          • sshUrl

            git@github.com:BurnySc2/python-sc2.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link