معرفی شرکت ها


fortnite-replay-parser-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Minimal library intended to parse events in Fortnite replay files.
ویژگی مقدار
سیستم عامل -
نام فایل fortnite-replay-parser-0.1.0
نام fortnite-replay-parser
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده legitatx
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/fortnite-replay-parser/
مجوز MIT
# Fortnite Replay Parser Minimal Python library intended to parse events in Fortnite replay files from Chapter 4 Season 1 with backwards compatibility for earlier versions. ## Example Usage Here is an example function that will output match events regarding player eliminations and other statistics to a JSON file in the root directory. This should help you get started with using the library and collecting data from game replays: ```python import json import os from reader import FortniteReplayReader from pydantic.json import pydantic_encoder filename = os.path.join(os.path.dirname(__file__), "your_replay_file.replay") with FortniteReplayReader(filename) as replay: header = replay.header.dict() metadata = replay.metadata.dict(exclude={"encryption_key"}) output = {"header": header, "metadata": metadata, "events": replay.events} with open("replay_dump.json", "w") as f: json.dump(output, f, indent=4, default=pydantic_encoder) ``` ## Credits Credits to [Shiqan](https://github.com/Shiqan) for various protocol documentation and developing the original Python implementation. This library is a fork of [that project](https://github.com/Shiqan/fortnite-replay-reader). Credits to [xNocken](https://github.com/xNocken) whose Node library proved to be a great reference in getting started with updating this project.


نیازمندی

مقدار نام
>=4.0.1,<5.0.0 bitstring
>=3.17,<4.0 pycryptodome
>=1.10.4,<2.0.0 pydantic


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl fortnite-replay-parser-0.1.0:

    pip install fortnite-replay-parser-0.1.0.whl


نصب پکیج tar.gz fortnite-replay-parser-0.1.0:

    pip install fortnite-replay-parser-0.1.0.tar.gz