Skip to content

Commit

Permalink
Merge pull request #14 from TomMonks/dev
Browse files Browse the repository at this point in the history
v0.2.0
  • Loading branch information
TomMonks authored Nov 23, 2023
2 parents aa061d2 + 46e75c7 commit 2336cf3
Show file tree
Hide file tree
Showing 18 changed files with 1,188 additions and 592 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/python-package.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# vscode
.vscode/

*.md.backup

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change log

## v0.2.0

* Added `sim_tools.distribution` module. This contains classes representing popular sampling distributions for Discrete-event simulation. All classes encapsulate a `numpy.random.Generator` object, a random seed, and the parameters of a sampling distribution.

* Python has been updated, tested, and patched for 3.10 and 3.11 as well as numpy 1.20+

* Minor linting and code formatting improvement.
22 changes: 22 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: sim-tools
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: 'Thomas '
family-names: Monks
affiliation: University of Exeter
orcid: 'https://orcid.org/0000-0003-2631-4481'
repository-code: 'https://github.com/TomMonks/sim-tools'
keywords:
- discrete-event simulation
- simpy
- python
- open science
- simopt
license: MIT
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
[![DOI](https://zenodo.org/badge/225608065.svg)](https://zenodo.org/badge/latestdoi/225608065)
[![PyPI version fury.io](https://badge.fury.io/py/sim-tools.svg)](https://pypi.python.org/pypi/sim-tools/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360+/)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/release/python-360+/)
[![License: MIT](https://img.shields.io/badge/ORCID-0000--0003--2631--4481-brightgreen)](https://orcid.org/0000-0003-2631-4481)

sim-tools is being developed to support simulation education and applied simulation research. It is MIT licensed and freely available to practitioners, students and researchers via PyPi. There is a longer term plan to make sim-tools available via conda-forge.

Expand All @@ -17,6 +18,7 @@ sim-tools is being developed to support simulation education and applied simulat
# Features:

1. Implementation of classic optimisation via Simulation procedures such as KN, KN++, OBCA and OBCA-m
2. Distributions module that includes classes that encapsulate a random number stream, seed, and distribution parameters.

## Two simple ways to explore sim-tools

Expand Down Expand Up @@ -53,6 +55,6 @@ Development environment:

* `conda env create -f binder/environment.yml`

* `conda activate sim_tools_dev`
* `conda activate sim_tools`

**All contributions are welcome!**
24 changes: 9 additions & 15 deletions binder/environment.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
name: sim_tools_dev
name: sim_tools
channels:
- defaults
- conda-forge
dependencies:
- jupyterlab=3.0.8
- matplotlib=3.1.3
- numpy=1.18.1
- pandas=1.0.1
- pip=20.0.2
- pytest=5.3.5
- python=3.8.1
- scipy=1.4.1
- seaborn=0.10.0
- matplotlib=3.8.2
- numpy=1.26.0
- pandas=2.1.3
- pip=23.3.1
- pytest=7.4.3
- python=3.11
- scipy=1.11.3
- scikit-learn=1.3.2
- pip:
- pytest-cov==2.10.0
- setuptools>=51.1.2
- twine>=3.3.0
- wheel
- sim-tools
Loading

0 comments on commit 2336cf3

Please sign in to comment.