Skip to main content

Data management system with modding and Panda3D engine in mind.

Project description

PandaDataCore Build Status Documentation Status Coverage Status PyPI version PyPI - Python Version

So, if you already played games like Factorio, Rimworld or Dwarf Fortress and tried to mod them, you will find that it’s absurdly easy to mod those games for simple things like changing the balancing, adding items, changing descriptions and etc. Because the data files of the games are simple raws and not binaries. This library pretty much makes the task of using raws as simple as possible. Raws in our case is plain text files like xml, json, yaml and etc that is commonly used to hold data, for now the library supports yaml and json.

The library might have modding in mind, however it pretty much be used for any sort of software or game engine that uses python.

Internally the library use dataclasses to handle the data and TinyDB to load them from raws.

Thanks for your interest in our package! But for now our things are still a bit of a todo. But, you can check a basic api documentation here: https://pandacoredata.readthedocs.io/

Install

This package only works with python 3.7 and above because it uses dataclasses.

The package is now available with pip, so to install all you need is to run this command:

pip install panda-core-data

Quick Start

Once installed, you can run this command:

panda_core_data_commands.py -o directory-name

It will automatically generate the basic directory structure, plus a basic main file.

How to Collaborate

If you want to help with the development of this library, I would say that I love you but my fiancee would get jealous, so I will just say thank you :D

First, make sure you have at least Python 3.7, git and pip up and running:

python -V
pip -V
git --version

download this repository with the following command using git:

git clone https://github.com/Cerberus1746/PandaCoreData.git

And then cd into the directory with:

cd PandaCoreData

Now, if you want to just run the tests to test your changes, you can run:

python setup.py test

If you want to generate docs, you can install all dependencies with:

pip install panda-core-data[docs]

And then generate the docs with the command:

python setup.py build_sphinx

The docs will be located by default inside the directory docs/build/html

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

panda_core_data-0.0.2.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

panda_core_data-0.0.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file panda_core_data-0.0.2.tar.gz.

File metadata

  • Download URL: panda_core_data-0.0.2.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for panda_core_data-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d8bc2ff035fe64a5e785da4f7cc1a73dca396647f24c15054eb21e0b944a17a7
MD5 51e95f1e61cedb78550716ea1dbcb82b
BLAKE2b-256 0d5eaa993b73fc2760fa3595e6fc6b289086bbd2211af3b2b2ec9e07e71bae69

See more details on using hashes here.

File details

Details for the file panda_core_data-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: panda_core_data-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for panda_core_data-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 349ed6cd4ef540527e2a3c23b63fc29b6b9ba72127cb2c55680b7480a63b8296
MD5 1c93a978140ed7168bb412843fce0ba8
BLAKE2b-256 dd665fabc01ebc67dacbdbc1822e7230b912a6382b93631db5155e7443e3f627

See more details on using hashes here.

Supported by

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