Lazuli
Stats courtesy of PePy and dwyl
Lazuli is a pip-compatible, Python-based package for interacting with AzureMSv316-based databases, such as ElectronMS.
Lazuli is inspired by and based on the SwordieDB project.
Lazuli allows access to character and inventory attributes in Odin-like databases.
This makes it possible to produce not only feature-rich Discord bots, but also integrated websites.
Perks:
- Easy to set-up - simply install with pip!
- Lovingly commented
- API docs and example code provided
- IDE hints available when importing after pip-installtion
- Already used in Lapis
Current Status: Now Available on PyPi (See changelog)
Note: Lazuli v3 includes several dependency removals.
We suggest you delete your venv folder and re-creating the virtual environment when upgrading from v2 to v3.
Quick Start
Installation via PyPi/Pip:
- Run
pip install lazuliinside of your venv (or global, if desired)- see wiki for how to generate venv
- Import the module in your project
from lazuli.database import Lazuli
- Create an Azure database object using the Lazuli class constructor
- Query
- E.g.
number_of_players_online = azure.get_online_count()- gives number (int) of accounts currently connected to the server
- E.g.
Documentation:
Kindly refer to the Project Wiki and API Docs for detailed documentation.
The Discussions Page is currently open for any questions!
Please report any issues!
Acknowledgements:
- The SwordieDB project by Bratah123
- This project is inspired by and based on SwordieDB
- MapleStory:IO by Senpai#1337
- The character sprite generation makes use of MapleStory.IO APIs
Disclaimer:
Lazuli is an open-source third-party implementation of APIs for a particular MapleStory server emulation project (AzureMSv316). Lazuli is non-monetised, provided as is, and is unaffiliated with NEXON. Every effort has been taken to ensure correctness and reliability of Lazuli. We will not be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action if contract, negligence or other tortious action, arising out of or in connection with the use of Lazuli (in part or in whole).
Metadata
Release files for lazuli 3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lazuli-3.0.2.tar.gz | 37.8 kB | Without provenance | Details for lazuli-3.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lazuli-3.0.2-py3-none-any.whl | Python 3 | none | any | Details for lazuli-3.0.2-py3-none-any.whl |
Total release size: 77.7 kB
Release files / lazuli-3.0.2.tar.gz
| Download URL | lazuli-3.0.2.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cda7ed74dbae77317597bbf92d1d41e421410236468bd01f49e9c759b25ef42
|
|
BLAKE2b-256 checksum How to use checksums |
625ef58e20444414c8a3ec8ba5c3103a9aef6968738151c3700b88cb1c944854
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / lazuli-3.0.2-py3-none-any.whl
| Download URL | lazuli-3.0.2-py3-none-any.whl |
|---|---|
| Size | 39.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1ae0dc412676e12fe5aa1ae6642f2ce8f46bc52bb22bf3be7df1199c592a210
|
|
BLAKE2b-256 checksum How to use checksums |
fdcf3321539893d683559031cf5f692b77eae24fa6ac21694b8eacf7405fa8d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for lazuli 3.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.