Trade and interact with steam market, webapi, guard
Project description
AIOSTEAMPY
Previously this library was a soft fork of bukson/steampy with intend to provide asynchronous methods and proxies support. But now it standalone project.
Created for steam trading purposes mostly. Inspired by DoctorMcKay/node-steamcommunity
[!IMPORTANT] The project is unstable and there might be some breaking changes in the future unless stable (first major) version is released.
Take a look at TODO
See full documentation here 📖
Installation
pip install aiosteampy
pipenv install aiosteampy
poetry add aiosteampy
Project have some extras currencies converter,
socks proxies.
To install them all, please, use aiosteampy[all]
install target:
poetry add aiosteampy[all]
[!TIP] aiohttp docs recommends installing speedups (
aiodns
,cchardet
, ...)
AIOSTEAMPY use aiohttp underneath to do asynchronous requests to steam servers, with modern async/await syntax.
Key features ✨
- Stateless: low-middle layer API wrapper of some steam services and methods like market, tradeoffers, confirmations, steamguard, etc.
- Declarative: there is models or
TypedDict
s for every data. - Typed: High-end support with extensive typing, tested on
VSCode
andPyCharm
. - Simple: Fit most important related to steam trading process methods.
- Web proxy support.
What can I do with this
- Operate with steam trade offers.
- Sell, buy items on market. Place, cancel orders.
- Login trough steam to 3rd party sites.
- Fetch data from market.
- Manipulate many accounts with proxies for each session.
- Get and load cookies to stay logged in (session persistence).
- Convert market prices into different currencies.
What I can't do
- Chat.
- Get apps, packages.
- All, that need connection to CM.
- Interact with game servers (inspect CS2 (ex. CSGO) items, ...).
- Social interaction(groups, clans).
- Handle entities (listings, items, tradeoffers) lifecycle for easy if you need to store it.
Tests 🧪
[!WARNING] Test cases and test code as a whole are deprecated and will not work until they are updated (a lot of work). I'll leave the code and this heading here as a reminder 🫣
TODO 📃
Hard to say roadmap. Can be a little changed or updated later, get ready.
Path to first stable release. Non-exhaustive list, scheduled tasks can be done earlier than the version mentioned, but not otherwise.
v0.6.0
- Listings, items, offers pagination/iteration
- Get single item from inventory as browser does
- Change client username method
v0.7.0
- Remove storage methods. Caching entities must be user responsibility
- Rename
fetch_...
methods toget_...
to remove annoying methods symantic mess -
Web browser mechanism to fetch trade offers fromSteam
, avoidingSteam Web Api
- Edit profile privacy settings
v0.8.0
- Context managers as helpers to login/logout, load/dump or get/put cookies
- Fetch/paginate over market search pages
v0.9.0
-
Steam user
model with minimal attrs, retrieving/fetching - Refresh
access_token
mechanism
v1.0.0
- Tests with
Steam API
mocking. Target coverage ~70%. Key points (listings, inventory items, trade offers) testing suits is mandatory - Maturity, battle-testing in more different cases by more participants/users
Contribution 💛
There is no rules or requirements to contribute. Feedbacks, suggests, other are welcome. I will be very grateful for helping me get the things right.
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiosteampy-0.7.1.tar.gz
.
File metadata
- Download URL: aiosteampy-0.7.1.tar.gz
- Upload date:
- Size: 57.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6baf399f38bb0325b918d09c25b8993f2fb459f9bb3963a170ef99a709dc1da0 |
|
MD5 | efe9184c80ac623b52788c50dc2f13af |
|
BLAKE2b-256 | 3e52db21f363baffeb460cab2deffb384b8d3d1ece68505553f543ac6ff6027d |
Provenance
The following attestation bundles were made for aiosteampy-0.7.1.tar.gz
:
Publisher:
publish.yml
on somespecialone/aiosteampy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiosteampy-0.7.1.tar.gz
- Subject digest:
6baf399f38bb0325b918d09c25b8993f2fb459f9bb3963a170ef99a709dc1da0
- Sigstore transparency entry: 148196820
- Sigstore integration time:
- Predicate type:
File details
Details for the file aiosteampy-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: aiosteampy-0.7.1-py3-none-any.whl
- Upload date:
- Size: 65.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7198b8a479d274da067fb4939320be6000f57a7f5f30ae35c9d52c8a3d142c |
|
MD5 | 7fbd985401242f091a6696f5046c974f |
|
BLAKE2b-256 | 5b4b3742aebf96896930a050a373e1aa3fbaed90d796178ae78e52874f29b3d9 |
Provenance
The following attestation bundles were made for aiosteampy-0.7.1-py3-none-any.whl
:
Publisher:
publish.yml
on somespecialone/aiosteampy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiosteampy-0.7.1-py3-none-any.whl
- Subject digest:
9b7198b8a479d274da067fb4939320be6000f57a7f5f30ae35c9d52c8a3d142c
- Sigstore transparency entry: 148196822
- Sigstore integration time:
- Predicate type: