Skip to main content

Python package that loads data from Minecraft: Bedrock Edition packs into SQLite database

Project description

Documentation Status

SQLite bedrock packs

Python package that loads data from Minecraft: Bedrock Edition packs into SQLite database.

Documentation

If you’re looking for documentation please visit:

https://sqlite-bedrock-packs.readthedocs.io/en/stable/

Installation

pip install sqlite-bedrock-packs

Changelog

3.2.0

Added new tables:

  • FeatureFile

  • Feature

  • FeaturePlacesFeatureField

  • FeaturePlacesFeatureFieldValue

  • FeatureFeaturetypeEnum

  • FeatureRuleFile

  • FeatureRule

3.1.1

Better type hints.

3.1.0

Added new tables for behavior pack blocks and terrain textures:

  • BpBlockFile

  • BpBlock

  • BpBlockLootField

  • BpBlockGeometryField

  • BpBlockMaterialInstancesField

  • BpBlockMaterialInstancesFieldInstance

  • TerrainTextureFile

  • TerrainTexture

  • TerrainTextureVariation

3.0.2

Fixed invalid caching and extended the annotations:

  • The table properties used to always return the values from the first row of the table that run ‘query_result’ function

  • The annotation for creating table classes was mostly rewritten with a custom solution that doesn’t use ‘namedtuple’ anymore (it shouldn’t be noticable from user perspective).

  • Added ‘build_query’ to annotations

3.0.1

Removed from the code the use of an unsupported on Python 3.9 TypeVarTupl type annotation.

3.0.0

Removed the EasyQuery object and relpaced it with functions:

  • build_easy_query

  • yield_from_easy_query

  • yield_from_any_query

The functions are properly annotated so their results don’t requrie casting to the wrapper classes anymore.

2.1.1

Changed the minimal supported version of Python from 3.10 to 3.9

2.1.0

Added new tables for storing the information about relations of entity spawn eggs and their presence in loot tables and the trade tables:

  • LootTableItemSpawnEggReferenceField

  • TradeTableItemSpawnEggReferenceField

  • EntitySpawnEggField

2.0.0

Restructured the project to be more object oriented, added EasyQuery object.

1.2.0

  • Added new tables:
    • BpAnimation

    • BpAnimationController

    • BpAnimationControllerFile

    • BpAnimationFile

    • BpItem

    • BpItemFile

    • BpItemParserVersionEnum

    • EntityLootField

    • EntityLootFieldComponentTypeEnum

    • EntityTradeField

    • EntityTradeFieldComponentTypeEnum

    • LootTable

    • LootTableFile

    • LootTableItemField

    • LootTableLootTableField

    • RpItem

    • RpItemFile

    • TradeTable

    • TradeTableFile

    • TradeTableItemField

  • Added new fields to the entity
    • LootTable

    • TradeTable

1.1.1

Fixed crashes caused by missing client_entity identifier.

1.1.0

  • Added new tables:
    • BehaviorPack

    • Entity

    • EntityFile

    • SoundDefinition

    • SoundDefinitionSoundField

    • SoundDefinitionsFile

    • SoundFile

  • Added type annotations and py.typed file.

  • renamed better_json module to better_json_tools

1.0.2

  • Supported objects:
    • Attachable

    • AttachableAnimationControllerField

    • AttachableAnimationField

    • AttachableFile

    • AttachableGeometryField

    • AttachableItemField

    • AttachableMaterialField

    • AttachableRenderControllerField

    • AttachableTextureField

    • ClientEntity

    • ClientEntityAnimationControllerField

    • ClientEntityAnimationField

    • ClientEntityFile

    • ClientEntityGeometryField

    • ClientEntityMaterialField

    • ClientEntityRenderControllerField

    • ClientEntityTextureField

    • Geometry

    • GeometryFile

    • Particle

    • ParticleFile

    • RenderController

    • RenderControllerFile

    • RenderControllerGeometryField

    • RenderControllerMaterialsField

    • RenderControllerTexturesField

    • ResourcePack

    • RpAnimation

    • RpAnimationController

    • RpAnimationControllerFile

    • RpAnimationControllerParticleEffect

    • RpAnimationControllerSoundEffect

    • RpAnimationFile

    • RpAnimationParticleEffect

    • RpAnimationSoundEffect

    • TextureFile

Older releases

No changelog for releases before PyPI

MIT License

Copyright (c) 2022 Nusiq

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

sqlite_bedrock_packs-3.2.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

sqlite_bedrock_packs-3.2.0-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

Details for the file sqlite_bedrock_packs-3.2.0.tar.gz.

File metadata

  • Download URL: sqlite_bedrock_packs-3.2.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.1

File hashes

Hashes for sqlite_bedrock_packs-3.2.0.tar.gz
Algorithm Hash digest
SHA256 935a6e700687dd1ef438821c95b6020ea05261b17af8bfd0c74fdd7963bcef6f
MD5 c1e66ec4156ab37b752c9f56cb366364
BLAKE2b-256 afbf23fedfac5eb2f8bb6d277ee1441305176425b36387dd1adaa2773a1244ad

See more details on using hashes here.

File details

Details for the file sqlite_bedrock_packs-3.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlite_bedrock_packs-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0aec8ae099589465b34e82b67ea7529fedc1c7c0cbdcf01a3e1bba21d500ef
MD5 9d7bfd0ba06b40f43bad9588da8e0fa6
BLAKE2b-256 81e04d52f88a54b654246f06fe3abd5a27c14d7183813883ef0a8ba6e51bbd80

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