Quarry

Latest version: v1.9.6

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

Scan your dependencies

Page 3 of 5

0.9

----

- Added support for Minecraft 1.12.2.
- Added documentation for proxies
- Added a "fast forwarding" mode for proxies that skips packing/unpacking of
packets.
- Re-arranged some proxy internals.
- Replaced ``quarry.net.tasks`` with ``quarry.net.ticker``. An instance of the
``Ticker`` class is available as ``self.ticker`` from protocols. This object
has ``add_delay()`` and ``add_loop()`` methods for setting up delayed and
repeating tasks respectively. The interface similar to the previous ``Tasks``
object, except that timings are now given in ticks rather than seconds. The
new tick loop is closer to the vanilla minecraft tick loop: delayed ticks are
run faster the usual, and when too many ticks are queued they are skipped
altogether.
- Added ``quarry.types.chat`` module for handling Minecraft chat. Chat
packing/unpacking methods in ``Buffer`` now accept/return an instance of the
``Message`` class.
- Added ``Buffer.pack_slot()`` method.
- Added ``Buffer.pack_entity_metadata()`` and
``Buffer.unpack_entity_metadata()`` methods.
- Added ``ServerFactory.prevent_proxy_connections`` attribute, defaulting to
``True``, that prevents clients from connecting via a proxy. Note that this
specifically affects online mode, and works by comparing the IP of the
connecting client with the IP recorded as making the authentication request
with the Mojang session server.

0.8

----

- Added support for Minecraft 1.12.1. Thanks to Christian Hogan for the patch.

0.7

----

- Added support for Minecraft 1.12
- Several breaking changes! Read on for more.
- Removed the ``quarry.utils`` package. Its contents have been distributed
as follows:

- The ``buffer``, ``chunk``, ``nbt`` and ``uuid`` (renamed from ``types``)
modules have moved into a new ``quarry.types`` package.
- The ``auth``, ``crypto``, ``http`` and ``tasks`` modules have moved into
the ``quarry.net`` package.
- The ``error`` module was removed. ``ProtocolError`` is now part of
``quarry.net.protocol``.

- Revised the NBT implementation

- ``TagByteArray`` and ``TagIntArray`` have more straightforward signatures
for ``__init__`` and ``from_buff``
- ``TagList`` now stores its contents as a list of tags, rather than a list
of tag *values*. It no longer accepts an ``inner_kind`` initialiser
parameter, as this is derived from the type of the first supplied tag.
- ``NamedTag`` is removed.
- ``TagCompound`` now stores its value as a ``dict`` of names and tags,
rather than a ``list`` of ``NamedTag`` objects.
- ``TagRoot`` is introduced as the top-level tag. This is essentially a
``TagCompound`` containing a single record.
- Added a new ``alt_repr`` function that prints a tag using the same
representation as in the NBT specification.
- Improved performance.
- Added some tests.

- Substantially expanded documentation.
- Added a new ``server_chat_room`` example. This server spawns a player in an
empty world and allows player to chat to eachother.
- Made ``Protocol.send_packet()`` accept any number of ``data`` arguments,
which are concatenated together.
- Made ``Buffer.__init__()`` accept a string argument, which is equivalent to
creating an empty buffer and calling ``add()``.
- Added ``Buffer.pack_chunk_section()`` and ``Buffer.unpack_chunk_section()``.
These methods work with new ``quarry.types.chunk`` types: ``LightArray``
(4 bits per block) and ``BlockArray`` (4-8 or 13 bits per block, with an
optional palette).
- Added ``Buffer.pack_position()``, which packs co-ordinates into a ``long``
and complements ``Buffer.unpack_position()``.
- Added a ``Bridge.make_profile()`` method, which is called to provide a profile
to the ``UpstreamFactory``. The default implementation generates an offline
profile with the same display name as the ``Downstream``.

0.6.3

------

- Fix bundle

0.6.2

------

- Added support for Minecraft 1.11.2
- Added a default implementation for the "disconnect" packet, which now does
the same thing as "login_disconnect", i.e. logs a warning and closes the
connection.

0.6.1

------

- Fix bundle

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.