mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 23:03:00 +00:00
PKG structure
This commit is contained in:
parent
758958dca3
commit
e889689bcc
5 changed files with 8 additions and 6 deletions
|
@ -0,0 +1,3 @@
|
|||
from book import Book
|
||||
from opus import Opus
|
||||
|
|
@ -2,8 +2,8 @@ import logging
|
|||
|
||||
from PIL import Image
|
||||
|
||||
from .cards import Cards
|
||||
from .imageloader import ImageLoader
|
||||
from cards import Cards
|
||||
from imageloader import ImageLoader
|
||||
|
||||
|
||||
def chunks(whole: list[any], chunk_size) -> list:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import requests
|
||||
|
||||
from .card import Card
|
||||
from card import Card
|
||||
|
||||
|
||||
class Cards(list[Card]):
|
||||
|
|
|
@ -2,7 +2,7 @@ import logging
|
|||
|
||||
import roman
|
||||
|
||||
from .cards import Cards
|
||||
from cards import Cards
|
||||
|
||||
|
||||
class Opus(Cards):
|
||||
|
|
3
main.py
3
main.py
|
@ -3,8 +3,7 @@ import argparse
|
|||
import logging
|
||||
import os
|
||||
|
||||
from fftcg.book import Book
|
||||
from fftcg.opus import Opus
|
||||
from fftcg import Book, Opus
|
||||
|
||||
# constants
|
||||
GRID = 7, 10 # default in TTsim: 7 rows, 10 columns
|
||||
|
|
Loading…
Reference in a new issue