Skip to content

Commit

Permalink
Minor fixes and preparing for creating wheel for PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
nunobrum committed Oct 16, 2023
1 parent 4c82cd3 commit 3f82005
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 166 deletions.
114 changes: 0 additions & 114 deletions PyLTSpice/sim/qspice_simulator.py

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ the fact that LTSpice is automatically selected to perform all simulations.
parameters as well as the simulation commands. These methods allow to update a netlist without having to open the
schematic in LTSpice. The simulations can then be run in batch mode (see sim_runner.py).

-`set_element_model('D1', '1N4148') # Replaces the Diode D1 with the model 1N4148`
-`set_component_value('R2', '33k') # Replaces the value of R2 by 33k`
-`set_parameters(run=1, TEMP=80) # Creates or updates the netlist to have .PARAM run=1 or .PARAM TEMP=80`
-`add_instructions(".STEP run -1 1023 1", ".dc V1 -5 5")`
-`remove_instruction(".STEP run -1 1023 1") # Removes previously added instruction`
-`reset_netlist() # Resets all edits done to the netlist.`
- `set_element_model('D1', '1N4148') # Replaces the Diode D1 with the model 1N4148`
- `set_component_value('R2', '33k') # Replaces the value of R2 by 33k`
- `set_parameters(run=1, TEMP=80) # Creates or updates the netlist to have .PARAM run=1 or .PARAM TEMP=80`
- `add_instructions(".STEP run -1 1023 1", ".dc V1 -5 5")`
- `remove_instruction(".STEP run -1 1023 1") # Removes previously added instruction`
- `reset_netlist() # Resets all edits done to the netlist.`

* __sim_runner.py__
A python script that can be used to run LTSpice simulations in batch mode without having to open the LTSpice GUI.
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
author = 'Nuno Brum'

# The full version, including alpha/beta/rc tags
release = '3.0'
release = '5.0'


# -- General configuration ---------------------------------------------------
Expand Down
44 changes: 0 additions & 44 deletions examples/qspice_example.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
build-backend = "setuptools.build_meta"
[project]
name = "PyLTSpice"
version = "4.1.2"
version = "5.0"
authors = [
{ name="Nuno Brum", email="me@nunobrum.com" },
]
Expand Down

0 comments on commit 3f82005

Please sign in to comment.