semvec/pypi-packages huggingface dataset:
badcode-utilities 0.6
A collection of utility functions for string handling and filtering.

# Home Page

A small Python utility library by cosmo-the-deer, providing simple helpers for string-to-int conversion, yes/no prompts, and project info display.

## badcode links:
- Github: [Github repo](https://github.com/cosmo-the-deer/badcode_utilities)
- Docs: [Docs](https://cosmo-the-deer.github.io/badcode_utilities/)
- Pypi: [Package](https://pypi.org/project/badcode-utilities/)

## License

MIT License © 2025 cosmo-the-deer

## Socials

- Discord: cosmothedeer12
- YouTube: [@cosmo-the-deer](https://youtube.com/@cosmo-the-deer)
- Itch.io: [cosmothedeer](https://cosmothedeer.itch.io)
pyaltiumlib 0.6.1
PyAltiumLib is a tool to read Altium Designer library files.
Requires Python: >=3.7

[![Build and Release on GitHub](https://github.com/ChrisHoyer/pyAltiumLib/actions/workflows/publish-github.yml/badge.svg)](https://github.com/ChrisHoyer/pyAltiumLib/actions/workflows/publish-github.yml)
![GitHub Release](https://img.shields.io/github/v/release/ChrisHoyer/pyAltiumLib)
[![Build and Release on PyPi](https://github.com/ChrisHoyer/pyAltiumLib/actions/workflows/publish-pypi.yml/badge.svg)](https://github.com/ChrisHoyer/pyAltiumLib/actions/workflows/publish-pypi.yml)
[![PyPI Release](https://img.shields.io/pypi/v/pyaltiumlib.svg)](https://pypi.org/project/pyaltiumlib/)
[![Documentation Status](https://readthedocs.org/projects/pyaltiumlib/badge/?version=latest)](https://pyaltiumlib.readthedocs.io/latest)

# pyAltiumLib

PyAltiumLib is a tool to read Altium Designer library files. The included components are extracted. Metadata such as the description and the name of the component can be listed. It is also possible to visualize the component using the svgwrite package.

See full documentation here: [ReadTheDocs](https://pyaltiumlib.readthedocs.io/)

## Example - Read the File and Retrieve Components

Load the file and retrieve the list of components.

```python
import pyaltiumlib

# Path to the .schlib or .pcblib file
filepath = "Libfile.schlib"

# Load File
LibFile = pyaltiumlib.read(filepath)

# Read Meta Data
json = LibFile.read_meta()

# Get a List of All Components
all_parts = LibFile.list_parts()
```

## Example - Render Components as SVG

Render each component as an SVG file. The components are saved as individual SVG files in the img_sch directory.

```python
import svgwrite

# Iterate over all components to draw them
for partname in all_parts:

    # Choose element
    Component = LibFile.get_part(partname)

    # Create a new image with a white background
    dwg = svgwrite.Drawing(f"img_sch/{partname}.svg", size=(400, 400))

    # Draw component on svg drawing with size 400px 400px
    Component.draw_svg(dwg, 400, 400)

    # Save the SVG
    dwg.save()
```

<p align="center">
  <img src="docs/source/usage/example/18024015401L.svg" alt="Footprint" width="400"/>
  <img src="docs/source/usage/example/WPME-CDIP_SOIC-16WB.svg" alt="Symbol" width="400"/>
</p>
vdag 0
Add your description here
Requires Python: >=3.13

# python-package-template
This is a template repository for Python package development.

## Features

- [uv](https://docs.astral.sh/uv/) for Python project management.
- [Ruff](https://docs.astral.sh/ruff/) for linting and formatting.
- [mypy](https://mypy.readthedocs.io/en/stable/) for type checking.
- [pytest](https://docs.pytest.org/en/stable/) for testing.
- [pre-commit](https://pre-commit.com/) for pre-commit hooks.
- GitHub Actions for continuous integration.

## Setup

- [ ] Use this template to create a new repository.
- [ ] Install [uv](https://docs.astral.sh/uv/)
- [ ] Run `uv run pre-commit install` in the root directory of your new repository to set up pre-commit hooks.
- [ ] Modify `pyproject.toml` to set up your package metadata.
- [ ] Change the `src/vdag` directory to your package name.

## Required Maintainance

- [ ] Run `uv run pre-commit autoupdate` to update pre-commit hooks.
- [ ] Update the `UV_VERSION` environment variable in the `.github/workflows/ci.yaml` file when a new minor version is released. (For example, from `0.7.x` to `0.8.x`).