Skip to main content

SteamID Converter

Provides conversions between different SteamID formats in Python

Overview

Steam provides 3 types of ID for each unique account on the platform: SteamID, SteamID3 and SteamID64

ID SteamID SteamID3 SteamID64
Format STEAM_0:X:XXXXXXXX [U:1:XXXXXXXX] 17 digit int

This package provides conversions between these formats.
For more in-depth information on steamIDs see the Valve Software Wiki Page

Functionality

All functions currently avaliable are located in steamid_converter.Converter
Each function can take any of the steamID formats (Including the function's target format) as a string or integer. Then will return that ID converted to the function's target format.

Avaliable Functions

Converter.to_steamID(steamID)
"""
Convert to steamID

A steamID is unique to each steam account, 
Formatted with digits as x "STEAM_0:x:xxxxxxxx"

Parameters
----------
steamID : int or str
    steamID3 or steamID64 to convert to steamID

Returns
-------
str
    steamID value

"""

Converter.to_steamID3(steamID)
"""
Convert to steamID3

A steamID3 is unique to each steam account, 
Formatted with digits as x "[U:1:xxxxxxxx]"

Parameters
----------
steamID : int or str
    steamID or steamID64 to convert to steamID3

Returns
-------
str
    steamID3 value

"""

Converter.to_steamID64(steamID, as_int=False)
"""
Convert to steamID64

A steamID64 is a 17 digit number, unique to each steam account

Parameters
----------
steamID : int or str
    steamID or steamID3 to convert to steamID64
as_int : bool
    If the steamID64 is returned as an integer rather than string, Default = False

Returns
-------
int or str
    steamID64 value

"""

Other Info

This package was created by Alex Hodgson

Steam is a copyright of Valve Corporation, Valve Corporation is in no way affiliated with this package or it's author.

Release files for steamid-converter 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steamid-converter 1.0.1
File Size Uploaded
steamid-converter-1.0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for steamid-converter 1.0.1
File Interpreter ABI Platform
steamid_converter-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / steamid-converter-1.0.1.tar.gz

Download URL steamid-converter-1.0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
daec2eb9db7190a71b8bbaf689df83540dfbe0d59e47c4df4f317c33055cb641
BLAKE2b-256 checksum
How to use checksums
75a47658d5065eeab7884d26f41c4bc06804c48d82f260baba955bd6d8718a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.7

Release files / steamid_converter-1.0.1-py3-none-any.whl

Download URL steamid_converter-1.0.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ac05c2285837d1b7e5645d0edd0e685774df76f988cba60aa88384a0c3ce1a3
BLAKE2b-256 checksum
How to use checksums
08ffb824fb8d778f772c923a2916348c47bacbaa7e322ae82ca751bd185164c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page