A python tool for parsing and storing transaction information from steam market emails.
Project description
Creates a SQLite3 database of your steam market transactions through the parsing of steam emails.
Steam-reporter will work only for english users with a $ currency designator. It has been tested with North American (US) transaction emails.
Usage
It's as simple as
$ steam_reporter config.ini
Installation
Using pip
Currently steam-reporter must be installed with pip from a local directory. Clone the repository and run pip install path/to/repo
Create config file
You must create a config file with your specific email settings. You can copy the default config to your preferred location.
cp steam_reporter/config/config.ini /your/preferred/location/
Configuration
Threads
Threads = 5
Steam-reporter is multi-threaded to speed up the fetching of emails from email servers. Note that it will have little impact on the actuall parsing of emails, and multiple threads probably isn't needed if you are using local .eml files.
Emails_Per_Transaction
Emails_Per_Transaction = 1000
This limits the number of emails parsed before performing the transaction with the database. Note that each email can have multiple steam market confirmations, so the number of steam transactions added per each database transaction can be greater than the number set. This setting can be useful for low memory situations, or to provide more frequent status updates during processing.
Database
Database = /home/user/example/database.db
The location of the database. A new database will be created if one does not exist at the provided path.
Local_Folder
Local_Folder = /home/user/example/downloaded_emails/
This is an optional configuration to allow you to use local email files instead of fetching them from the server. If you do not want to use this option, leave it commented out.
# Local_Folder =
Address
Address = example@email.com
The email address that your steam market confirmation emails are sent to.
Server
Server = imap.email.com
This is the server address for the provided email address.
Folder
Folder = Steam_Emails_Location
If you route your steam emails to a specific folder within your inbox, make sure to uncomment this line and add the name of the folder. If they are located in your main inbox, leave it commented out.
# Folder =
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
Hashes for steam_reporter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5588937f26e4ed27daed670a62bd67a87bbdb39826bb5705b700e2a4a2cd98 |
|
MD5 | 4c7ad07b315388b4bfa78615cb09a417 |
|
BLAKE2b-256 | fc395eccb661c1dc70bd93daf034736158623a2c1a272963ed6d4d3fa74c85c0 |