Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Flitsmeister: python-fm

Asyncio package to communicate with Flitsmeister This package is aimed to get basic information about your Flitsmeister account.

❗This is an unofficial repo and is not created, maintained or in any sense linked to Flitsmeister. Use at your own risk!

Usage

Instantiate the FM class and access the data.

Installation

python3 -m pip install python-fm

Example

import asyncio
from flitsmeister import FM
from flitsmeister.models import Auth

async def main():

    async with FM() as api:
        auth = await api.login(USERNAME, PASSWORD)

    # - Persist auth in a file or database
    # - Create a new auth object from the persisted data

    auth = Auth(session_token=SESSION_TOKEN, access_token=ACCESS_TOKEN)
    async with FM(auth=auth) as api:
        print(await api.user())
        print(await api.statistics())

if __name__ == "__main__":
    asyncio.run(main())

Development and contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Feel free to take a look a the open issues if you like to contribute.

Requirements

Installation and setup

poetry install
poetry shell
pre-commit install

You can now start developing. The pre-commit hooks will run automatically when you commit your changes. Please note that a failed pre-commit hook will prevent you from committing your changes. This is to make sure that the code is formatted correctly and that the tests pass.

Metadata

Release files for python-fm 1.0.0b1

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

Source distribution (sdist)

Source distribution for python-fm 1.0.0b1
File Size Uploaded
python_fm-1.0.0b1.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-fm 1.0.0b1
File Interpreter ABI Platform
python_fm-1.0.0b1-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / python_fm-1.0.0b1.tar.gz

Download URL python_fm-1.0.0b1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
26cec3503d1456a8ccf50e9ad60b72827eef6d0b0b6bdf2dc2e98f4a16bae9d5
BLAKE2b-256 checksum
How to use checksums
eb52c8cd4c00d08c8d01e8380f91b25997718a8ff23090cfd7d98f427040e412
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1021-azure

Release files / python_fm-1.0.0b1-py3-none-any.whl

Download URL python_fm-1.0.0b1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddfc064df2d7c7f9ce0ccbbff37ea76286c5741887fb6cba36257445fd90eb32
BLAKE2b-256 checksum
How to use checksums
78e51cbbb3856f63d45d7f47865b912adb05a0f0ba892be82c8666bf0c55a32a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1021-azure

Release history Release notifications | RSS feed

This release

1.0.0b1 This release

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