Skip to content

Commit 29bb53a

Browse files
MarkKoz64json
authored andcommitted
Rename package & make modules lowercase again
Can instead use "import as" to give capitalised aliases.
1 parent 222e34a commit 29bb53a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tracer/__init__.py renamed to algorithm_visualizer/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import json
33
import os
44

5-
from tracer import Randomize
6-
from tracer.Commander import Commander
7-
from tracer.Tracer import Tracer
5+
from algorithm_visualizer import randomize as Randomize
6+
from algorithm_visualizer.commander import Commander
7+
from algorithm_visualizer.tracer import Tracer
88

99
__all__ = ("Randomize", "Commander", "Tracer")
1010

tracer/Commander.py renamed to algorithm_visualizer/commander.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import string
22
from typing import Any, Dict, List
33

4-
from tracer import Randomize
4+
from algorithm_visualizer import randomize
55

66
_MAX_COMMANDS = 1000000
77
_MAX_OBJECTS = 100
88

99

1010
class Commander:
11-
_keyRandomizer = Randomize.String(8, string.ascii_lowercase + string.digits)
11+
_keyRandomizer = randomize.String(8, string.ascii_lowercase + string.digits)
1212
_objectCount = 0
1313
commands: List[Dict[str, Any]] = []
1414

File renamed without changes.

tracer/Tracer.py renamed to algorithm_visualizer/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from tracer import Commander
1+
from algorithm_visualizer import Commander
22

33

44
class Tracer(Commander):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy