Skip to content

Commit

Permalink
v3.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dkundih committed Jun 11, 2022
1 parent 1cad49e commit ab2f2d1
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 171 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,3 +485,8 @@ CHANGELOG

3.8.2 (07/06/2022)
- logistics 0.0.3 > 0.0.4

3.8.3 (11/06/2022)
- docstrings updated.
- new types added.
- types in init updated.
82 changes: 6 additions & 76 deletions _testenv/F_montecarlo.py
Original file line number Diff line number Diff line change
@@ -1,61 +1,11 @@
# makes multiple instances of the object available.
from vandal.plugins.metaclass import Meta

# imports custom types.
from vandal.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)

import pandas as pd
import numpy as np

# makes multiple instances of the object available.
from logistics.plugins.metaclass import Meta

# imports custom types.
from logistics.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)
# imports all data types.
from logistics.plugins.types import *


# stores menu options over functions and class methods for listing.
Expand Down Expand Up @@ -506,30 +456,10 @@ def queue_handler(
init()

# type hints and annotations.
from vandal.plugins.metaclass import Meta
from vandal.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)
from logistics.plugins.metaclass import Meta

# imports all data types.
from logistics.plugins.types import *

app = Record()

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
duality >= 4.7.2
logistics >= 0.0.4
logistics >= 0.0.5
colorama
pandas >= 1.2.3
numpy >= 1.19.5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
packages = find_packages(),
install_requires = [
'duality >= 4.7.2',
'logistics >= 0.0.4',
'logistics >= 0.0.5',
'colorama',
'pandas >= 1.2.3',
'numpy >= 1.19.5',
Expand Down
28 changes: 5 additions & 23 deletions vandal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,29 +89,9 @@

# imports plugins.
from logistics.plugins.metaclass import Meta
from logistics.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)

# imports all data types.
from logistics.plugins.types import *

# available types.
__types__ = [
Expand All @@ -127,6 +107,8 @@
TupleType,
DictionaryType,
BooleanType,
FilePathType,
SpecialType,
NumberVector,
StringVector,
StringDictionary,
Expand Down
6 changes: 6 additions & 0 deletions vandal/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
eoq,
)

# imports plugins.
from logistics.plugins.metaclass import Meta

# imports all data types.
from logistics.plugins.types import *

# coloring.
from colorama import Fore, init

Expand Down
2 changes: 1 addition & 1 deletion vandal/misc/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

]
__license__ = 'Copyright © 2021-2022 David Kundih. All rights reserved. Licensed under the Apache License, Version 2.0 | For more details about the license and terms of use visit the official vandal documentation linked at https://github.com/dkundih/vandal and https://pypi.org/project/vandal'
__version__ = '3.8.2'
__version__ = '3.8.3'
__documentation__ = 'https://github.com/dkundih/vandal | https://pypi.org/project/vandal'
__contact__ = 'dakundih@unin.hr | kundihdavid@gmail.com'
__donate__ = 'https://patreon.com/dkundih | https://buymeacoffee.com/dkundih'
Expand Down
3 changes: 3 additions & 0 deletions vandal/objects/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# metaclass.
from logistics.plugins.metaclass import Meta

# imports all data types.
from logistics.plugins.types import *

# import all relevant contents from the associated module.
from vandal.objects.montecarlo import (
MonteCarlo,
Expand Down
26 changes: 3 additions & 23 deletions vandal/objects/dijkstra.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
# type hints and annotations.
from logistics.plugins.metaclass import Meta
from logistics.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)

# imports all data types.
from logistics.plugins.types import *

# package.
class Dijkstra:
Expand Down
26 changes: 3 additions & 23 deletions vandal/objects/eoq.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,9 @@

# type hints and annotations.
from logistics.plugins.metaclass import Meta
from logistics.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)

# imports all data types.
from logistics.plugins.types import *

# package.
class EOQ:
Expand Down
26 changes: 3 additions & 23 deletions vandal/objects/montecarlo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,9 @@

# type hints and annotations.
from logistics.plugins.metaclass import Meta
from logistics.plugins.types import (
VandalType,
IntegerType,
FloatType,
NumberType,
ReturnType,
PrintType,
GraphType,
StringType,
ListType,
TupleType,
DictionaryType,
BooleanType,
NumberVector,
StringVector,
StringDictionary,
DictionaryVector,
NumberVectorAlike,
NumberArrayAlike,
AnyArrayAlike,
AnyVectorAlike,
AnyType,
)

# imports all data types.
from logistics.plugins.types import *

# package.
class MonteCarlo:
Expand Down

0 comments on commit ab2f2d1

Please sign in to comment.