Skip to content

Commit 9c9b6e1

Browse files
committed
next try
all scripts toplevel in src, don't import because the package isn't even used from code.
1 parent 5873f3b commit 9c9b6e1

File tree

11 files changed

+20
-11
lines changed

11 files changed

+20
-11
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ It will enclose the expansion of sub-queries in parentheses while expanding, in
5252

5353
In order to use one query inside another, use the sub-query's name in brackets inside the outer query. See sample.json for an example.
5454

55+
Sample input:
56+
57+
{
58+
"home": "{go_to} next {corner}",
59+
"go_to": "See you",
60+
"corner": "Saturday"
61+
}
62+
63+
Sample output:
64+
65+
(See you) next (Saturday)
66+
5567
## How Many Do I Need?
5668
The minecraft/hmdin script is basically a counting formatter that can help you keep track of large item quantities in Minecraft.
5769
By default, it will print a human-readable listing of all nonzero "units of quantity" necessary to amass the specified amount of items.
@@ -69,6 +81,9 @@ You can specify a nonstandard stack size (e.g. 16 for eggs or similar) using `--
6981

7082
The actual helper/split functions are:
7183

72-
hmdin(count, stack_size=64, container_size=27) # will return the tuple of <chests>, <stacks>, <items>
73-
pretty_print(chests, stacks, items) # will format the list of items as human readable (without prefix), e.g. "3 chests and 14 items"
74-
csv_print(chests, stacks, items, separator=",") #will format the list of all three items for CSV output, e.g. comma-separated
84+
# will return the tuple of <chests>, <stacks>, <items>
85+
hmdin(count, stack_size=64, container_size=27)
86+
# will format the list of items as human readable (without prefix), e.g. "3 chests and 14 items"
87+
pretty_print(chests, stacks, items)
88+
#will format the list of all three items for CSV output, e.g. comma-separated
89+
csv_print(chests, stacks, items, separator=",")
File renamed without changes.

src/jqlcomposer/sample.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/lsconvert/__init__.py

Whitespace-only changes.

test/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)