Skip to content

Instantly share code, notes, and snippets.

View timthedevguy's full-sized avatar

Tim Davis timthedevguy

View GitHub Profile
@timthedevguy
timthedevguy / parsers.py
Created September 5, 2025 18:03
Eve Online Parsers for buyback purposes
import re
from abc import ABC, abstractmethod
from decimal import Decimal
from re import sub
from typing import Any, Dict, List
from django.conf import settings
from django.utils.module_loading import import_string
from django.utils.translation import gettext
# Python flavor
^(-{0,1}[\d,\.\ ]*)[\t ][xX][\t ]([\w ]*).*$
1234 x Item
1234 X Item
1 234 x Item
1 234 X Item
-1234 x Item
-1234 X Item
-1 234 x Item
@timthedevguy
timthedevguy / .gitignore
Last active June 6, 2025 15:43
My standard Django .gitignore file
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python

Keybase proof

I hereby claim:

  • I am timthedevguy on github.
  • I am tim_davis (https://keybase.io/tim_davis) on keybase.
  • I have a public key ASDcKK6-zeCvj_fDTiAuVrqfYhjkLDVP-NO41iGOGvExYwo

To claim this, I am signing this object: