sct2df
Schematic Checking Tool Netlist to DataFrame library
from pathlib import Path
from sct2df.parse import (
to_record_list
)
import pandas as pd
#import polars as pl
# where ever your file is
sct_netlist_txt_file = Path("data") / "Example_SCT_Netlist.txt"
# returns records to not enforce pandas version without reason to
record_list = to_record_list(path=sct_netlist_txt_file, symbols=["U1", "U3", "J1"])
# actually make the dataframe
dataframe = pd.DataFrame.from_records(df_record_list)
# Save it to CSV file
dataframe_path = Path("data") / "Example_SCT_Netlist.csv"
dataframe.to_csv(dataframe_path, index=False)
# Print out information (or further analysis)
print(df)
Metadata
Release files for sct2df 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sct2df-0.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sct2df-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / sct2df-0.1.1.tar.gz
| Download URL | sct2df-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eace95f5a2e0805ae3db7eeeb9cfe213803044e90e077149a453904c6af78442
|
|
BLAKE2b-256 checksum How to use checksums |
23e2d2cac402beb0575e246f62f269130bc917e7ecae6559e75025c68c022f61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.22
|
Release files / sct2df-0.1.1-py3-none-any.whl
| Download URL | sct2df-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b199ba5bde745abcf52912c1877e3f399873e09d8ad069146be63164ed4739ab
|
|
BLAKE2b-256 checksum How to use checksums |
114f6ae169826cbdb197b8d399dbd875cfcb524016cb02aff04d4c7ce85aadb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.22
|