semvec/pypi-packages huggingface dataset:
spef-extractor 0.2.1
A parasitics estimator based on layout and technology files.
Requires Python: >3.6

# SPEF Extractor
A Python library that reads LEF and DEF files, extracts the RC parasitics and generates their corresponding SPEF file.

# Dependencies
* Python 3.6+ with PIP

# Installation
`python3 -m pip install spef-extractor`

# Usage
````
spef_extractor <lef_file_path> <def_file_path> <wire_model which can be L or Pi> <edge_capacitance_factor which is a value between 0 and 1 where the default is 1>
```

For example:

```
python3 main.py osu035.lef rle_rec.def L 1
````


where `osu035.lef` is the provided lef file and `rle_rec.def` is its corresponding def file. Aftwards, we extract the RC parasitics and output them in a SPEF file named `rle_rec.spef` (holds the same name as the def file by default).

# The Development Process
## Parsing
In order to parse the lef and def files, we used [trimcao](https://github.com/trimcao)'s def and lef parser.


## Testing
- Initially, we tested the generated SPEF manually. This was done through checking a number of nets, and comparing the parasitics in the file with the theoretical value.
- Later on, we tested using OpenSTA to verify that the produced SPEF file is syntax error free. OpenSTA was able to successfuly read the SPEF file and produce timing reports based on the parasitics provided.
- Additionally, we used OpenSTA to compare the delays for multiple designs using publicly available reference SPEF files vs. our generated SPEF files.

## Assumptions 
During our development, we had to make some assumptions to for the sake of simplicity:
  1. It is assumed that the values that do not exist in the LEF file are considered to be 0.
  2. We represented each wire segment as a single resistance and a capacitance (In the L model)
  3. We consider the capacitance of a segment to be at the end node of the segment (In the L model)
  4. Testing was done using openSTA that verified our SPEF is syntax error free.

## Limitations
  1. Testing was only done on a handful of designs and further testing might help
  2. Only Pi and L models are available to represent the resistance and capacitance of a segment (even for long wire segments)
  3. We don't handle the RC parasitics of the special nets
  
## Name Remapping
  1. We implemented an algorithm to rename long names.
  2. All nets are renamed to decrease the size of files.
  3. Names were remapped based on the standard remapping scheme of SPEF files.

## Acknowledgement:
  This was initially created for the Digital Design 2 Course CSCE3304 at the American University in Cairo under the supervision of Doctor Mohamed Shalan. Its development was ongoing afterwards as a part of an undergraduate research internship at the American Univeristy in Cairo.

## Original Authors:
  * Ramez Moussa - [Github Profile](https://github.com/ramezmoussa)
  * Hany Moussa - [Github Profile](https://github.com/hanymoussa)

# License
The Apache License, version 2.0. See `License`.
covid19-outbreak-simulator 0.5.3
Population-based Forward-time Simulator for the Outbreak of COVID-19
Requires Python: >=3.5
Keywords: covid19_outbreak_simulator

[![PyPI](https://img.shields.io/pypi/v/covid19-outbreak-simulator.svg)](https://pypi.python.org/pypi/covid19-outbreak-simulator)
[![PyPI version](https://img.shields.io/pypi/pyversions/covid19-outbreak-simulator.svg)](https://pypi.python.org/pypi/covid19-outbreak-simulator)
[![Documentation Status](https://readthedocs.org/projects/covid19-outbreak-simulator/badge/?version=latest)](https://covid19-outbreak-simulator.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/ictr/covid19-outbreak-simulator.svg?branch=master)](https://travis-ci.org/ictr/covid19-outbreak-simulator)
[![Coverage Status](https://coveralls.io/repos/github/ictr/covid19-outbreak-simulator/badge.svg?branch=master&service=github)](https://coveralls.io/github/ictr/covid19-outbreak-simulator?branch=master)
[![Documentation Status](https://readthedocs.org/projects/covid19-outbreak-simulator/badge/?version=latest)](https://covid19-outbreak-simulator.readthedocs.io/en/latest/?badge=latest)

# COVID19 Outbreak Simulator

COVID-19 Outbreak Simulator is a population-based simulator that simulates the spread of SARS-CoV-2 virus in a dynamic and heterogeneous population, subject to preventative measures and post-outbreak action plans such as quarantine, testing, and removal of symptomatic cases. Outputs from the simulator can be used to obtain quantitative measures of the effectiveness of these actions.

Please refer to our [homepage](https://ictr.github.io/covid19-outbreak-simulator/) for details and cite

> Bo Peng, Rowland W Pettit, Christopher I Amos, Population simulations of COVID-19  outbreaks provide tools for risk assessment and continuity planning, JAMIA Open, 2021;, ooaa074, https://doi.org/10.1093/jamiaopen/ooaa074

if you have used the simulator for your work. You can also have a look at

> Peng B, Zhou W, Pettit RW, et al, Reducing COVID-19 quarantine with SARS-CoV-2 testing: a simulation study BMJ Open 2021;11:e050473. https://doi.org/10.1136/bmjopen-2021-050473

for an example for the application of the simulator.