Skip to main content

PyTenno

PyTenno is an asynchronous wrapper for the warframe.market API, written in Python.

Read Documentation

Disclaimer

PyTenno is not associated with warframe.market or any of its affiliates. PyTenno is not associated with Digital Extremes or any of its affiliates.

Installation

Git

Use your favorite spice of the following:

py -m pip install git+https://github.com/ShadowMagic896/pytenno.git
  • Git-SCM is required for direct installation

PyPi

py -m pip install pytenno

Requirements

The project's only requirement is aiohttp, which is available on PyPi.

aiohttp >= 3.8.1

Skill-Set Requirements

PyTenno Requires Fundamental understanding of the following:

  1. Python datatypes, attributes, etc.
  2. Asyncrhonous programming in Python (Coroutines, async, await)
  3. Fundamental understanding of context managers in Python (async with)
  4. How warframe.market works
  5. Warframe mechanics

Examples

The Following Code Will Be Used in the Examples

import asyncio # To use asynchronous programming
import pytenno
from pytenno.models.enums import Platform # To specify platforms for requests

async def main(): # PyTenno is asynchronous, so it must be done in an asynchronous context
    default_language = "en" # Set default response language to English
    default_platform = Platform.pc # Set default platform to PC

    # Create a client with the default language and platform
    # This must be done in an asynchronous context manager (async with ... [as ...])
    async with pytenno.PyTenno(default_language, default_platform) as tenno:
        ... # Example code goes here
    
if __name__ == "__main__":
    asyncio.run(main()) # Create a new asyncio loop and run the coroutine

Log into warframe.market

        email = "you@example.com" # Email to account
        password = "password123" # Password to account
        current_user = await tenno.Auth.login(
            email=email,
            password=password
        ) # Log in to warframe.market
        # Note: the API stores absoloutely zero information about data passed. All code
        # is open-source and available at https://github.com/ShadowMagic896/pytenno
        print(current_user.ingame_name) # Print the ingame name of the user that was logged in

Metadata

Release files for pytenno 1.3.3

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

Source distribution (sdist)

Source distribution for pytenno 1.3.3
File Size Uploaded
pytenno-1.3.3.tar.gz 23.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytenno 1.3.3
File Interpreter ABI Platform
pytenno-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 58.8 kB

Release files / pytenno-1.3.3.tar.gz

Download URL pytenno-1.3.3.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b1c074e076213e5f542577fd2b5a22adfb04459a5882d81b9de7cccc18438f94
BLAKE2b-256 checksum
How to use checksums
f62e78eeba85eeebb1b92d76d7645527e1c21cda025af5e227e2e6979a1fcc35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.3 Windows/10

Release files / pytenno-1.3.3-py3-none-any.whl

Download URL pytenno-1.3.3-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2932f89973163d6a8470004bf7f7a482564d1ef889652e21319ef19ba9017284
BLAKE2b-256 checksum
How to use checksums
09ac6a7e189bbc4ab99608e4960b98db61359e3546dff884a81e3bdd3eddc5f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.3 Windows/10

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 release files

1.3.2

2 release files

1.3.1

3 release files

1.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

3 release files

0.1.1

2 release files

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