Metadata-Version: 2.4
Name: fmsave
Version: 0.14.10
Summary: Read Football Manager 26 and 27 save files into Python records, DataFrames, CSV, and JSON.
Keywords: football-manager,fm26,save,parser,data
Author: Randal S. Olson
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Games/Entertainment
Classifier: Typing :: Typed
Requires-Dist: backports-zstd>=1.7 ; python_full_version < '3.14'
Requires-Dist: pandas>=2.2 ; extra == 'pandas'
Requires-Dist: polars>=1.0 ; extra == 'polars'
Requires-Python: >=3.12
Project-URL: Documentation, https://rhiever.github.io/fmsave/
Project-URL: Repository, https://github.com/rhiever/fmsave
Project-URL: Issues, https://github.com/rhiever/fmsave/issues
Project-URL: Changelog, https://github.com/rhiever/fmsave/blob/main/CHANGELOG.md
Provides-Extra: pandas
Provides-Extra: polars
Description-Content-Type: text/markdown

# fmsave

Read Football Manager 26 and 27 saves into Python records, DataFrames, CSV, or JSON. Save access is read-only.

[Open fmsave in your browser](https://rhiever.github.io/fmsave/app/) and drop in a save. Browse players, compare staff, and download CSVs. Your save stays on your computer.

[Find your save file](https://rhiever.github.io/fmsave/#where-saves-live) or browse the [documentation](https://rhiever.github.io/fmsave/) and [release notes](https://rhiever.github.io/fmsave/changelog.html).

## Export your squad from the command line

Use [uv](https://docs.astral.sh/uv/) to run the command below. Replace `career.fm` with the path to your save.

```console
uvx fmsave export "career.fm" players --managed-club -o squad.csv
```

See the [CLI reference](https://rhiever.github.io/fmsave/reference/cli.html) for other tables and filters.

## Read a save in Python

Install with `pip install fmsave` on Python 3.12 or newer. Replace `career.fm` with the path to your save in the example below.

```python
import fmsave

with fmsave.open("career.fm") as save:
    for player in save.players()[:5]:
        print(player.name, player.age)
```

The [export guide](https://rhiever.github.io/fmsave/guides/exporting.html) covers pandas, Polars, CSV, and JSON.

## What you can read

A save can include players and staff, clubs and finances, fixtures and league tables, and match and season stats. The [data guide](https://rhiever.github.io/fmsave/guides/what-a-save-holds.html) lists available fields and limits.

[FM27 coverage](https://rhiever.github.io/fmsave/guides/trust.html#fm27-coverage) varies by game build.

## Support

[Open a GitHub issue](https://github.com/rhiever/fmsave/issues) to report a problem or suggest a feature. Keep save files and links to them private. See the [reporting guide](https://github.com/rhiever/fmsave/blob/main/CONTRIBUTING.md#reporting-a-wrong-value) for what to include.

## Contributors

Thanks to everyone who has reported bugs, suggested features, helped test or worked out how the
game stores its data:

<p>
<a href="https://github.com/1e16miin" title="@1e16miin"><img src="https://github.com/1e16miin.png?size=80" width="40" height="40" alt="@1e16miin"></a>
<a href="https://github.com/absalom12" title="@absalom12"><img src="https://github.com/absalom12.png?size=80" width="40" height="40" alt="@absalom12"></a>
<a href="https://github.com/Buglerru" title="@Buglerru"><img src="https://github.com/Buglerru.png?size=80" width="40" height="40" alt="@Buglerru"></a>
<a href="https://github.com/BWH95" title="@BWH95"><img src="https://github.com/BWH95.png?size=80" width="40" height="40" alt="@BWH95"></a>
<a href="https://github.com/GetChatGPTToDoIt" title="@GetChatGPTToDoIt"><img src="https://github.com/GetChatGPTToDoIt.png?size=80" width="40" height="40" alt="@GetChatGPTToDoIt"></a>
<a href="https://github.com/GiorgioGandolfi88" title="@GiorgioGandolfi88"><img src="https://github.com/GiorgioGandolfi88.png?size=80" width="40" height="40" alt="@GiorgioGandolfi88"></a>
<a href="https://github.com/guyluzon64" title="@guyluzon64"><img src="https://github.com/guyluzon64.png?size=80" width="40" height="40" alt="@guyluzon64"></a>
<a href="https://github.com/hostlund" title="@hostlund"><img src="https://github.com/hostlund.png?size=80" width="40" height="40" alt="@hostlund"></a>
<a href="https://github.com/ibaivalencia" title="@ibaivalencia"><img src="https://github.com/ibaivalencia.png?size=80" width="40" height="40" alt="@ibaivalencia"></a>
<a href="https://github.com/ironkay-beep" title="@ironkay-beep"><img src="https://github.com/ironkay-beep.png?size=80" width="40" height="40" alt="@ironkay-beep"></a>
<a href="https://github.com/javiercostoya" title="@javiercostoya"><img src="https://github.com/javiercostoya.png?size=80" width="40" height="40" alt="@javiercostoya"></a>
<a href="https://github.com/jeohist" title="@jeohist"><img src="https://github.com/jeohist.png?size=80" width="40" height="40" alt="@jeohist"></a>
<a href="https://github.com/johnmmcparland" title="@johnmmcparland"><img src="https://github.com/johnmmcparland.png?size=80" width="40" height="40" alt="@johnmmcparland"></a>
<a href="https://github.com/JR-4B3" title="@JR-4B3"><img src="https://github.com/JR-4B3.png?size=80" width="40" height="40" alt="@JR-4B3"></a>
<a href="https://github.com/jtstothard" title="@jtstothard"><img src="https://github.com/jtstothard.png?size=80" width="40" height="40" alt="@jtstothard"></a>
<a href="https://github.com/kdr6989" title="@kdr6989"><img src="https://github.com/kdr6989.png?size=80" width="40" height="40" alt="@kdr6989"></a>
<a href="https://github.com/mameabdou24" title="@mameabdou24"><img src="https://github.com/mameabdou24.png?size=80" width="40" height="40" alt="@mameabdou24"></a>
<a href="https://github.com/Marsinator" title="@Marsinator"><img src="https://github.com/Marsinator.png?size=80" width="40" height="40" alt="@Marsinator"></a>
<a href="https://github.com/matthiasvetter1104" title="@matthiasvetter1104"><img src="https://github.com/matthiasvetter1104.png?size=80" width="40" height="40" alt="@matthiasvetter1104"></a>
<a href="https://github.com/menidi" title="@menidi"><img src="https://github.com/menidi.png?size=80" width="40" height="40" alt="@menidi"></a>
<a href="https://github.com/Namhahaha1110" title="@Namhahaha1110"><img src="https://github.com/Namhahaha1110.png?size=80" width="40" height="40" alt="@Namhahaha1110"></a>
<a href="https://github.com/OdumWorld" title="@OdumWorld"><img src="https://github.com/OdumWorld.png?size=80" width="40" height="40" alt="@OdumWorld"></a>
<a href="https://github.com/onehoka" title="@onehoka"><img src="https://github.com/onehoka.png?size=80" width="40" height="40" alt="@onehoka"></a>
<a href="https://github.com/paul-anthony-oneill" title="@paul-anthony-oneill"><img src="https://github.com/paul-anthony-oneill.png?size=80" width="40" height="40" alt="@paul-anthony-oneill"></a>
<a href="https://github.com/rdutra7" title="@rdutra7"><img src="https://github.com/rdutra7.png?size=80" width="40" height="40" alt="@rdutra7"></a>
<a href="https://github.com/rui7avares-create" title="@rui7avares-create"><img src="https://github.com/rui7avares-create.png?size=80" width="40" height="40" alt="@rui7avares-create"></a>
<a href="https://github.com/SabrinaDoesStuff" title="@SabrinaDoesStuff"><img src="https://github.com/SabrinaDoesStuff.png?size=80" width="40" height="40" alt="@SabrinaDoesStuff"></a>
<a href="https://github.com/sebheusig" title="@sebheusig"><img src="https://github.com/sebheusig.png?size=80" width="40" height="40" alt="@sebheusig"></a>
<a href="https://github.com/spencergilbert" title="@spencergilbert"><img src="https://github.com/spencergilbert.png?size=80" width="40" height="40" alt="@spencergilbert"></a>
<a href="https://github.com/thaffy" title="@thaffy"><img src="https://github.com/thaffy.png?size=80" width="40" height="40" alt="@thaffy"></a>
<a href="https://github.com/thetowny" title="@thetowny"><img src="https://github.com/thetowny.png?size=80" width="40" height="40" alt="@thetowny"></a>
</p>

## Disclaimer

fmsave is an unofficial fan project. It is not affiliated with, endorsed by, or sponsored by Sports
Interactive or SEGA. Football Manager, Sports Interactive and SEGA are trademarks or registered
trademarks of their respective owners.

## License

MIT. See [LICENSE](LICENSE).
