steampy | A Steam trading library for python | REST library

 by   bukson Python Version: 1.1.2 License: MIT

kandi X-RAY | steampy Summary

kandi X-RAY | steampy Summary

steampy is a Python library typically used in Web Services, REST applications. steampy has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install steampy' or download it from GitHub, PyPI.

Steam Trade Offers Client for Python. [Obtaining SteamGuard from mobile device] ). [Obtaining SteamGuard using Android emulation] If you have steamid, shared_secret and identity_secret you can place it in file Steamguard.txt instead of fetching SteamGuard file from device.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              steampy has a low active ecosystem.
              It has 391 star(s) with 111 fork(s). There are 22 watchers for this library.
              There were 3 major release(s) in the last 12 months.
              There are 31 open issues and 169 have been closed. On average issues are closed in 147 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of steampy is 1.1.2

            kandi-Quality Quality

              steampy has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              steampy 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

              steampy releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              steampy saves you 590 person hours of effort in developing the same functionality from scratch.
              It has 1379 lines of code, 152 functions and 22 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed steampy and discovered the below as its top functions. This is intended to give you an instant insight into steampy implemented functionality, and help decide if they suit your requirements.
            • Fetch all received messages from Steam
            • Convert an account id to steam id
            • Make an API call
            • Poll events
            • Accept a trade offer
            • Send confirmation request
            • Confirm a transaction
            • Return a list of confirmations
            • Get all trade offers
            • Filter offers that are not active
            • Recursively merge items from offers response
            • Login to Steam
            • Send a login request
            • Enter steam guard if necessary
            • Get trades
            • Make a request to Steam
            • Login to the chat
            • Get the access token
            • Send a text message
            • Get friend list
            • Generate a one - time code
            • Logs a user
            • Get trade receipt for a given trade id
            • Logout a user
            • Check if an offer is a donor
            • Get steam profile
            Get all kandi verified functions for this library.

            steampy Key Features

            No Key Features are available at this moment for steampy.

            steampy Examples and Code Snippets

            How to use local python library
            Pythondot img1Lines of Code : 2dot img1License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            pip install -e 
            

            Community Discussions

            QUESTION

            How do I run a loop in Django while server is working as usual?
            Asked 2022-Feb-15 at 18:43

            I am trying to create a csgo trading website where the users can withdraw and deposit skins. To do so I have created a bot account that sends trading offers to the customer. Now I need to somehow confirm that the trade was accepted by the user. I am new to this so there might be a better, simple solution that I just can't figure out. I am using steampy library.

            What I think would be the solution is to run a function loop that checks for the offers and their state. And on state change would update the database. But I do not know how I can create a function like this in Django so the server would also be running at the same time. I want to also use this project in production so running a script from my computer isn't the solution.

            Can someone please help me with the issue or lead me in the right direction?

            ...

            ANSWER

            Answered 2022-Feb-15 at 18:43

            the solution for your problem would be to use BackgroundSchedulers and/or Cron jobs. These work in the background and won't affect your django server so you can server files and data as usual.

            I personally use APScheduler for my django application to scheduler background tasks, it is an amazing module but requires some documentation. It has different types of task scheduler so you can try them.

            APScheduler Guide

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

            QUESTION

            How to use local python library
            Asked 2020-Nov-29 at 16:55

            I've written a script in python that uses steampy.
            I want to contribute to that library so I forked it and cloned it to a local folder but now I don't know how I can make my script use the local library instead of the installed one.

            I'm coming from Angular and this is achievable by making a link with npm link between the two libraries.

            Also, in my local steampy all imports referring steampy have an error, for e.g.:
            from steampy.exceptions import ApiException, ...

            No name 'exceptions' in module 'steampy.exceptions' pylint(no-name-in-module)
            Unable to import 'steampy.exceptions' pylint(import-error)`

            I'm using VS Code if that's relevant.

            ...

            ANSWER

            Answered 2020-Nov-29 at 00:28

            If you are working in a virtualenv, you can just try:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install steampy

            You can install using 'pip install steampy' or download it from GitHub, PyPI.
            You can use steampy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install steampy

          • CLONE
          • HTTPS

            https://github.com/bukson/steampy.git

          • CLI

            gh repo clone bukson/steampy

          • sshUrl

            git@github.com:bukson/steampy.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