Parser for Eve Online - extract item name and quantity from a string
Project description
Eve Parse
Parser for Eve Online - extract type ids, quantities, and errors from a text string
Install
pip install eveparse
Usage
The parse()
function takes a text string and returns a dict of items and errors.
import eveparse
string = "Ragnarok 1"
results = eveparse.parse(string)
print(results) # {'items': {'23773': 1}, 'errors': []}
Test
python -m unittest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eveparse-2.0.0a0.tar.gz
(3.5 MB
view details)
Built Distribution
File details
Details for the file eveparse-2.0.0a0.tar.gz
.
File metadata
- Download URL: eveparse-2.0.0a0.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 719ab3941cf1d8405783109ba1a492fb05b01781516b4be00adea3a402bf2e0e |
|
MD5 | 1e2f7f78a08d9fd26f8ff092932ad214 |
|
BLAKE2b-256 | a3b5c5903c40b1cea1dd151a061b1d8b1f1bf6700d86e2306e0548172af93c0c |
File details
Details for the file eveparse-2.0.0a0-py3-none-any.whl
.
File metadata
- Download URL: eveparse-2.0.0a0-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031f1d63ca5498db42188f8cdeb826f5e32c4c767a721d5ee3e3c9036d22d3d5 |
|
MD5 | 29fade338bdae1f9081f063b62775218 |
|
BLAKE2b-256 | 53b943023d2df441d0b62a56da8f7dc1874ba20e20de594e5d39ed2062d5407d |