Skip to content

Commit 27e17e0

Browse files
committed
feat: rename package to lowercase and update import paths in test files
1 parent 6be7343 commit 27e17e0

10 files changed

+10
-10
lines changed
File renamed without changes.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "ThreadFactory"
6+
name = "threadfactory"
77
version = "1.0.1"
88
description = "High-performance thread-safe (No-GIL–friendly) data structures and parallel operations for Python 3.13+."
99
readme = "README.md"

requirements.txt

34 Bytes
Binary file not shown.

tests/concurrency/test_concurrent_bag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import threading
22
import unittest
33

4-
from src.thread_factory import ConcurrentBag
4+
from thread_factory import ConcurrentBag
55

66

77
class TestConcurrentBag(unittest.TestCase):

tests/concurrency/test_concurrent_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import time
22
import unittest
33

4-
from src.thread_factory.concurrency.concurrent_core import Concurrent
4+
from thread_factory import Concurrent
55

66

77
class TestParallel(unittest.TestCase):

tests/concurrency/test_concurrent_dictionary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import unittest
33
import random
44
import time
5-
from src.thread_factory.concurrency.concurrent_dictionary import ConcurrentDict
5+
from thread_factory import ConcurrentDict
66

77

88
class TestConcurrentDict(unittest.TestCase):

tests/concurrency/test_concurrent_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
import random
55

6-
from src.thread_factory.concurrency.concurrent_list import ConcurrentList
6+
from thread_factory import ConcurrentList
77

88

99
class TestConcurrentList(unittest.TestCase):

tests/concurrency/test_concurrent_queue.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import threading
55
import multiprocessing
66
import random
7-
from src.thread_factory import ConcurrentQueue, Empty
7+
from thread_factory import ConcurrentQueue, Empty
88

99

1010
class TestConcurrentQueue(unittest.TestCase):
@@ -520,7 +520,7 @@ def test_threaded_concurrent_queue_performance(self):
520520
q = ConcurrentQueue()
521521
producers = 10
522522
consumers = 10
523-
items_per_producer = 100_000
523+
items_per_producer = 100000
524524
total_items = producers * items_per_producer
525525

526526
try:
@@ -574,7 +574,7 @@ def test_multiprocessing_queue_performance(self):
574574
queue = multiprocessing.Queue()
575575
producers = 10
576576
consumers = 10
577-
items_per_producer = 100_000
577+
items_per_producer = 100000
578578
total_items = producers * items_per_producer
579579

580580
try:

tests/concurrency/test_concurrent_stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import threading
33
import unittest
44

5-
from src.thread_factory import ConcurrentStack, Empty
5+
from thread_factory import ConcurrentStack, Empty
66

77

88
class TestConcurrentStack(unittest.TestCase):

tests/threads/test_dynaphore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import threading
33
import time
44
import random
5-
from src.thread_factory import Dynaphore
5+
from thread_factory import Dynaphore
66

77
class TestDynaphore(unittest.TestCase):
88

0 commit comments

Comments
 (0)