Skip to main content

Handle DB save files from EA Sports NCAA games

Project description

ncaadb

Ncaadb is a Python package created for the handling of DB save files from EA Sports NCAA games.

Installation

Ncaadb is published to PyPI and is available using pip or any other Python package manager.

pip install ncaadb

Usage

The data from a DB file is loaded into a File by opening a file stream and sending it into the read_db function.

import ncaadb

with open("saves/USR-DATA", "rb") as f:
    db_data = ncaadb.read_db(f)

The contents of a table can then be accessed using the indexer operator, [], and the table's name as the index. This will return the tabular data as a pandas.DataFrame. The tabular data can be set using the same method.

player_data = db_data["PLAY"]
modified_player_data = player_data.replace(0, 1)
db_data["PLAY"] = modified_player_data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ncaadb-0.1.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ncaadb-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ncaadb-0.1.1.tar.gz.

File metadata

  • Download URL: ncaadb-0.1.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for ncaadb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6f00fd29a5791296759be82a2b36c1f590472a352ced161dd2eb7b14c572b88e
MD5 61d5b28fc8705b69a702e97029673038
BLAKE2b-256 9fe941b7d8b925812f95189ea1c30161a710d39531a28ceb0beb8720c03e393f

See more details on using hashes here.

File details

Details for the file ncaadb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ncaadb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for ncaadb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf2deaa4ea27c08b30bb67bf898d2c2e9f3869a8f8bb129962d5e0b9f26a5d73
MD5 79d4c292113775a04d77cdd4ef44b17a
BLAKE2b-256 6b12e735fd585df179c69b3b63449fa630bde74ca48b00015785365f2be20b84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page