Skip to main content

Eve Parse

Parser for Eve Online - extract item name and quantity from a string, and return values with type_id

Install

pip install eveparse

Usage

The parse() function takes a single-line string. It is designed to fail fast and will raise ParserError if it is unable to parse the string.

import eveparse

string = "Ragnarok 1"

try:
    type_id, name, quantity = eveparse.parse(string)
except eveparse.ParserError as error:
    print(error)
else:
    print(type_id, name, quantity)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eveparse-1.0.0.tar.gz (363.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eveparse-1.0.0-py3-none-any.whl (349.4 kB view details)

Uploaded Python 3

File details

Details for the file eveparse-1.0.0.tar.gz.

File metadata

  • Download URL: eveparse-1.0.0.tar.gz
  • Upload date:
  • Size: 363.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for eveparse-1.0.0.tar.gz
Algorithm Hash digest
SHA256 79af8004fcad51c9d91fe55cb042d0cd16f5d06a493c4a369284582475ccc819
MD5 919f3246988944c08ccb2b59bfbc9567
BLAKE2b-256 3af7e888e70ac07166a014c07654a1081b92184c8870603443a80f5d93c705e3

See more details on using hashes here.

File details

Details for the file eveparse-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: eveparse-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 349.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for eveparse-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8374e197023decbd3fa3ed6d5da1bd8cb7e40c5dd032ef2260ae69a6eccbb14b
MD5 2a9b705010fcc718f1d13c7da6d88ef9
BLAKE2b-256 fb343e7d9c9c6f0bc0a3a7b2471de3891503a369039269a89eb22d5159a95a26

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page