Betfairdatabase

Latest version: v1.3.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.3.1

Bug fixes
- Field `marketTime` is aliased to `marketStartTime` in processed market definitions, rather than renamed.

1.3.0

Improvements
- Supports indexing official historical Betfair data, both free and purchased.
- Market metadata file is created from the market data file's market catalogue if a market catalogue file is missing. `marketCatalogueFilePath` field is renamed to `marketMetadataFilePath` to reflect this change.
- New fields added: `numberOfWinners`, `marketSettledTime` and `localMarketSettledTime`. Reindex the database to upgrade it to the new format.

1.2.0

Deprecations
- Short command line option for retrieving the tool version has been changed from `-v` to `-V` (lowercase to uppecase). The lowercase version continues to be supported, but will be removed in the future.
Improvements
- Logging statements added. Default logging level is `INFO` in command line mode and `WARNING` otherwise.
- Added `-v` and `--verbose` command line switches for setting the logging level to `DEBUG`.
- Added `-q` and `--quiet` command line switches for disabling the logging altogether.
- Added `size` method which returns the number of indexed markets in the database.
- Long running methods (`index`, `insert`, `clean` and `export`) display optional progress bars.
- Python 3.13 support added.
Bug fixes
- In command line mode,`export` command defaults `dest` argument to the current working directory if not specified. This is in line with how the other APIs behave.

1.1.0

Improvements
- `DatabaseDirectoryError` is raised when a database directory is not a directory or it does not exist.
- Command line application catches errors and prints meaningful error messages.

1.0.1

Bug fixes
- Unparsable market catalogue files do not break indexing and inserting.

1.0.0

Improvements
- `insert` method handles duplicate files.
- Python 3.12 support added.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.