nbtlib | A python library to read and edit nbt data | Video Game library

 by   vberlier Python Version: 2.0.4 License: MIT

kandi X-RAY | nbtlib Summary

kandi X-RAY | nbtlib Summary

nbtlib is a Python library typically used in Gaming, Video Game, Minecraft applications. nbtlib has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install nbtlib' or download it from GitHub, PyPI.

A python library to read and edit nbt data. Requires python 3.8.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nbtlib has a low active ecosystem.
              It has 95 star(s) with 13 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 26 have been closed. On average issues are closed in 12 days. There are 8 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of nbtlib is 2.0.4

            kandi-Quality Quality

              nbtlib has 0 bugs and 0 code smells.

            kandi-Security Security

              nbtlib has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              nbtlib code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              nbtlib is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              nbtlib releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              nbtlib saves you 892 person hours of effort in developing the same functionality from scratch.
              It has 2049 lines of code, 206 functions and 26 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed nbtlib and discovered the below as its top functions. This is intended to give you an instant insight into nbtlib implemented functionality, and help decide if they suit your requirements.
            • Return a string representation of a compound tag
            • Increase the current indent level
            • Expand separator
            • Serialize tag
            • Parse a compound tag
            • Yields tokens from the stream
            • Get the next token
            • Parse the next token
            • Write the message to the given buffer
            • Read an Nbt file
            • Write tags to fileobj
            • Parse tag from fileobj
            • Return a string representation of a list
            • Parse a nbt tag
            • Return the value at index
            • Create a compound schema
            • Write this tag to a file - like object
            • Parse the binary stream
            • Write this array to a file - like object
            • Parse binary data from fileobj
            • Delete tag from tag
            • Parse an array from a file - like object
            • Find the tag with the given key
            • Read an NBT file
            • Print tag
            • Parse the tag from a file - like object
            • Parse a list
            Get all kandi verified functions for this library.

            nbtlib Key Features

            No Key Features are available at this moment for nbtlib.

            nbtlib Examples and Code Snippets

            No Code Snippets are available at this moment for nbtlib.

            Community Discussions

            QUESTION

            error creating nbt file that includes nbt.tag.List file
            Asked 2021-Sep-08 at 18:49

            I am creating a nbt file whose root has two tags:

            • DataVersion. It must be a tag_Int.
            • size. You must set a tag_List of 3 tag_ints.

            I did a few tests and determined that an error occurs when I try to pass a tag_List to the file.

            This is my code:

            ...

            ANSWER

            Answered 2021-Sep-08 at 18:49

            I already fixed it, turns out I had the nbtlib out of date. I updated it and it works!

            Source https://stackoverflow.com/questions/69105288

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nbtlib

            Notice 🚧 Version 2.0 is actively being worked on and is not stable yet. You should probably keep using version 1.12.1 for the moment. You can check out the 2.0 roadmap in the nbtlib 2.0 issue. The package can be installed with pip.

            Support

            Contributions are welcome. This project uses poetry so you'll need to install it first if you want to be able to work with the project locally. You should now be able to install the required dependencies. You can run the tests with poetry run pytest.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install nbtlib

          • CLONE
          • HTTPS

            https://github.com/vberlier/nbtlib.git

          • CLI

            gh repo clone vberlier/nbtlib

          • sshUrl

            git@github.com:vberlier/nbtlib.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Video Game Libraries

            Proton

            by ValveSoftware

            ArchiSteamFarm

            by JustArchiNET

            MinecraftForge

            by MinecraftForge

            byte-buddy

            by raphw

            nes

            by fogleman

            Try Top Libraries by vberlier

            narwhal

            by vberlierC

            poll

            by vberlierRust

            pytest-insta

            by vberlierPython

            json-model-viewer

            by vberlierJavaScript

            endermite

            by vberlierPython