Skip to main content

Data science, Data manipulation and Machine learning library.

Project description

duality-header

Downloads License PyPi version Python version Latest publish Format

duality

Data science, Data manipulation and Machine learning library. Use permitted according to the terms of use and conditions set by the attached license.

Example of use

Visit my Data Library at https://github.com/dkundih/DataLibrary in order to see the demonstration of use in practical examples.

Installation

# using pip
pip install duality

Import

# for Python environment
import duality

Help

# library help
print(help(duality))
# module/object help
print(help(duality.MonteCarlo))

Meta data

# meta data (individual)
print(duality.__version__)
# all meta data
print(help(duality.misc._meta))

Library location

# file location after installation
print(help(duality.__file__))

For whom is duality made for?

duality is a Python library for Data science and Machine learning, designed to aid researchers and engineers to meet their goals with small effort.

Why duality?

duality shows the different perspective of the same thing.

Is duality free to use?

duality is completely free of charge for both personal and commercial use, but only under the conditions stated in the license. Developing such a complex module isn't easy and takes a lot of time and knowledge in several fields of science such as statistics, programming and domain knowledge, so any donation at https://patreon.com/dkundih or https://www.buymeacoffee.com/dkundih in order to keep duality free is more than welcome.

A word from the author!

The module itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done by David Kundih from Croatia.

Hi!

My name is David Kundih and I am a Master's student of Sustainable Mobility and Logistics Management at the University North, currently specializing in Digital Transformation of Logistics using Python.

My latest projects:

duality

unin

People shine the brightest when they seek to understand what kind of love sustains them.

CHANGELOG

as alunari

0.0.1 (16/08/2021)

  • initial release.

0.0.2 (16/08/2021)

  • reupload for functionality.

0.0.3 (16/08/2021)

  • README update.
  • LICENSE update.
  • stability downgrade to 4 - Beta in order to provide more testing and feedback.

0.0.4 (17/08/2021)

  • minor README update.
  • functionality confirmed in testing environment (Visual Studio Code, PyCharm, JupyterLab, Google Colab).

0.0.5 (23/08/2021)

  • minor README update with Documentation link changed.

1.0.0 (28/08/2021)

  • first stable release.
  • major functionality changes.
  • reworked 2 functions (.stats is now .get_stats, .risk is now .get_risk).
  • added 1 new function (.get_change).
  • .documentation updated.
  • .montecarlo.functions updated.
  • developement status is now 5 - Production/Stable.

1.0.1 (28/08/2021)

  • small repository update.

1.0.2 (28/08/2021)

  • LICENSE website change.
  • updated information in the functions.

1.1.0 (30/08/2021)

  • README update.
  • alunariTools class created to distinguish logistics tools and functions from original montecarlo class.
  • created a counter of iterations to track live progress.

1.1.1 (31/08/2021)

  • now requires alunariTools in order to provide less confusing code, done outside of the original function.

1.1.2 (09/09/2021)

  • confirmed functionality in Sublime Text.
  • added name == 'main' info.
  • minor README update.

1.1.3 (10/09/2021)

  • redefined documentation.

1.1.4 (13/09/2021)

  • improved user experience and stability.

1.1.5 (13/09/2021)

  • typo corrections.

1.1.6 (19/09/2021)

  • adjustments to montecarlo.execute() following the dependency changes of alunariTools package.
  • stability and functionality confirmed in repl.it environment.

1.1.7 (19/09/2021)

  • dependencies bug fix.

1.1.8 (19/09/2021)

  • upload bug fix.

1.1.9+ (22/09/2021)

  • merge test.

1.2.0 (22/09/2021)

  • alunari and alunariTools are now merged into alunari. Former alunariTools functions are now called with alunari.essence.

1.2.1+ (24/09/2021)

  • EOQ setup test.
  • montecarlo class is now Configuration.

1.3.1 (25/09/2021)

  • major rework and functionality update.
  • code structure redifined.

1.3.2 (26/09/2021)

  • code structure redifined.

1.3.3 (26/09/2021)

  • cleaner and better defined code.
  • partial imports from the library instead of whole modules applied.

1.3.4 (26/09/2021)

  • minor bug fix.

1.3.5 (27/09/2021)

  • alunari.montecarlo.Configuration().get_risk() now works independently with it's unique simulation counter that is set to 5000 by default.
  • alunari.montecarlo.Configuration.help() updated to match the changes made to the function.

1.3.6 (27/09/2021)

  • dependencies updated to meet repl.it requirements.

1.3.7 (29/09/2021)

  • Configuration function now prints the confirmation of the simulation set up.

1.3.7+ (11/10/2021)

  • redefined hist() function test.

as vandal

0.0.1 (03/10/2021)

  • initial release.

0.0.2 (03/10/2021)

  • vandal replaces the functionality of the currently discarded alunari python package.

1.1.0 (11/10/2021)

  • redefined code of .hist() function.
  • added event log that tracks the execution time and duration of functions.

1.1.1 (11/10/2021)

  • log tracking now applies on all relevant class functions.

2.0.0 (11/10/2021)

  • vandal transcedents alunari versions by becoming v2+

2.0.1 (12/10/2021)

  • minor tweaks to CHANGELOG and README
  • .help() now properly shows requirements of .get_logs() function.

2.0.2+ (12/10/2021)

  • photo added to the header.

2.0.3 (12/10/2021)

  • confirmed stabile version after test.

2.1.0 (12/10/2021)

  • republished.

2.1.1 (13/10/2021)

  • replaced alunari with vandal where it was initially missed out.
  • now propely applies highly fragmented dataframe warning removal for simulations over 102.

2.1.2 (13/10/2021)

  • stability update.

2.1.3 (22/10/2021)

  • EOQ implementation.
  • vandal.essence renamed to vandal.hub.
  • this is an unstable version that has yet to be tested.

2.2.0 (22/10/2021)

  • confirmed stability.

2.2.1 (22/10/2021)

  • README and flexibility update.

2.2.2 (28/10/2021)

  • now properly shows CHANGELOG of discarded alunari package.

as duality

3.0.0 (03/11/2021)

  • initial release
  • now properly shows CHANGELOG of vandal package history.

3.0.1 (04/11/2021)

  • code tweaks.

3.1.1 (06/11/2021)

  • MonteCarlo and EOQ now automatically perform .execute() function.
  • MonteCarlo.hist() now executes get_stats() alongside to get info about standard deviation.
  • MonteCarlo and EOQ are now being imported as objects.
  • global_functions removed and merged into _meta.

3.1.1+ (06/11/2021)

  • functionality tests.

3.1.2 (06/11/2021)

  • complete redesign pushed to public.

3.1.3 (06/11/2021)

  • initial import now imports hub module as well as associated contents in order to enable print(help(duality.hub)) function.

3.1.4 (07/11/2021)

  • updated README.

3.1.5 (08/11/2021)

  • untracked changes.

3.1.6 (12/11/2021) - not useable.

  • code cleanup in hub and montecarlo modules.

3.1.7 (12/11/2021)

  • quick bug fix.

3.1.8 (12/11/2021)

  • sync with recent GitHub changes.

3.1.9 (13/11/2021)

  • README style update.

3.2.0 (13/11/2021)

  • return_data = True added into MonteCarlo object for decision of the time of execution manually.

3.2.1 (14/11/2021)

  • setup.py redefined with metadata.

3.2.2 (17/11/2021)

  • regular maintainance.

3.3.0 (19/11/2021) - UNSTABLE

  • package now becomes a library.
  • DEVELOPER MODE introduced.
  • disables @classlog functions outside of DEVELOPER MODE.
  • code readability improved.
  • duality.hub.hub is now duality.hub.toolkit.
  • eoq and montecarlo folders merged into objects folder.
  • added support for import all contents of a module.

3.3.2 (19/11/2021) - UNSTABLE

  • republish and 3.3.1 ghost overwrite.

3.3.3 (20/11/2021) - UNSTABLE

  • initial bug fix deployed.

3.3.4 (20/11/2021) - UNSTABLE

  • additional bug fixes deployed.

3.3.5 (20/11/2021) - UNSTABLE

  • additional bug fixes deployed.
  • code readability improved.

3.3.6 (20/11/2021)

  • confirmed functionality and stability.

3.3.7 (20/11/2021)

  • code reconstruction.

3.4.0 (22/11/2021)

  • NEW FEATURE: duality.Dijkstra algorithm.

3.4.1 (22/11/2021)

  • minor code cleanup.

3.4.2 (22/11/2021)

  • functionality confirmed.

3.4.3 (22/11/2021)

  • upstream/downstream fix.

3.4.4 (01/12/2021)

  • CLI environment setup.

3.5.0 (01/12/2021)

  • CLI environment tests.
  • demonstration repository now merged into duality.
  • MonteCarlo, Dijsktra and EOQ no longer define the data, data config shifted to .execute() function of every object.
  • CLI can now be executed in teminal using 'duality.main' for IDE or 'python main.py' for CMD or Powershell after locating with cd.
  • stability of 3.5. series will not be guaranteed, it is a transitional phase for future integrations into applications and web applications.

3.5.1 (01/12/2021)

  • CLI environment tests.
  • code readablity improved.

3.5.2 (01/12/2021)

  • CLI environment tests.
  • dualityCLI integration into the source.
  • CLI contents added into all and init files.

3.5.3 (01/12/2021) - UNSTABLE

  • first functional CLI for MonteCarlo imlpemented.
  • added saving to .csv, .xlsx and .json for out-of-terminal functions.

3.5.4 (01/12/2021) - UNSTABLE

  • active tests.

3.5.5 (01/12/2021) - UNSTABLE

  • bug fixes.

3.5.6 (01/12/2021)

  • functionality resolved using pypyxl.
  • duality.dualityCLI and python main.py now officially work.

3.5.7 (01/12/2021)

  • added block = False to plt.show() in order to unlock further actions after a graph in dualityCLI.

3.5.8 (01/12/2021) - UNSTABLE

  • cli code redefined and made user friendly.
  • dualityCLI is not CLI.

3.5.9 (01/12/2021) - UNSTABLE

  • now contains the executable CLI file with .exe extension within CLIexe folder.
  • dualityCLI.exe v1.0 functionality equalized with 3.5.9 version of python main.py and duality.CLI()

3.5.10 (01/12/2021) - UNSTABLE

  • dualityCLI.exe release postponed, use python main.py or duality.CLI() to execute.

3.5.11 (01/12/2021)

  • dualityCLI.exe files removed from the package.
  • CLIexeversion is now CLIversion.

3.5.12 (02/12/2021)

  • CLI v1.1 version replaces the CLI v1.0
  • added menu and help actions to Dijkstra and EOQ until they become implemented.
  • bugfix of MonteCarlo simulations being period and vice versa.

3.5.13 (02/12/2021)

  • CLI v1.2 version added.
  • redefined code functionality.
  • error handling tests for data handling.

3.5.14+ (02/12/2021) - UNSTABLE

  • CLI v1.x version added.
  • additional tests for error handling.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

duality-3.5.19.tar.gz (27.0 kB view details)

Uploaded Source

File details

Details for the file duality-3.5.19.tar.gz.

File metadata

  • Download URL: duality-3.5.19.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for duality-3.5.19.tar.gz
Algorithm Hash digest
SHA256 450b705f1844fa1f7118420cb054df0adaa4e502e27e6d99e7f48caee949a390
MD5 31a1ab3eb1f6a83bda53c477d748e686
BLAKE2b-256 52b1a2524538bca09b67beec1c583d182a8bac8c18572abe3b58f59f129570fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page