Py-allspice

Latest version: v3.7.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.7.0

What's Changed

- Update system capture test snapshots with added component attributes by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/187
- Update type annotations for 1.22 by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/197
- Enforce max retries in list_components by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/198

> [!CAUTION]
>
> This could potentially break your BOM generation if individual files were
> taking too long to render.

Internal Changes

- Update pdoc requirement from ~=14.7 to ~=15.0 by dependabot in https://github.com/AllSpiceIO/py-allspice/pull/189
- Update ruff by kdumontnu in https://github.com/AllSpiceIO/py-allspice/pull/196

**Full Changelog**: https://github.com/AllSpiceIO/py-allspice/compare/v3.6.0...v3.7.0

3.6.0

What's Changed

What's Changed

- Generate BOMs with Device Sheets and Board Level Annotations on Altium
Projects by shrik450 and polypour in
https://github.com/AllSpiceIO/py-allspice/pull/182 and
https://github.com/AllSpiceIO/py-allspice/pull/183/

Adds support for Altium Device Sheets and Board Level Annotations in
`list_components` and `generate_bom`. To use device sheets located in another
repo, pass the `design_reuse_repositories` argument to those functions.

- Update syrupy requirement from ~=4.6 to ~=4.7 by dependabot in https://github.com/AllSpiceIO/py-allspice/pull/179
- Add method to download an attachment by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/181
- Include pin information in components by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/180
- Update pdoc requirement from ~=14.5 to ~=14.7 by dependabot in https://github.com/AllSpiceIO/py-allspice/pull/185

3.5.0

What's Changed

- Fix many, but not all, typing failures by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/168

This also fixes a few bugs that have been present in the library for a while, such as adding comments failing for issues requested using `Issue.request`.

- Add endpoint to fetch git trees by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/175

The new `Repository.get_tree` method can be used to fetch the tree of a commit in a repository. This is useful if you want to list all files in a commit, and can replace most uses of `Repository.get_git_content`.

- Refactor BOM generation to centralize logic by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/177

This also fixes bugs in the System Capture SDAX BOM generation which prevented sorting and filtering from being applied there.

- Filter out blank components in list_components by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/176

- Add column configuration to skip in output by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/178

A new column configuration, `skip_in_output`, can be used to remove a column from the BOM output, which is useful when a column is used for grouping, filtering or sorting but isn't required in the BOM.

Internal Changes

- Update column config cassette to include reference changes by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/166
- Apply Ruff formatting to examples by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/173
- Skip coverage comment on dependabot PRs by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/174
- Update pytest requirement from ~=8.2 to ~=8.3 by dependabot in https://github.com/AllSpiceIO/py-allspice/pull/170

**Full Changelog**: https://github.com/AllSpiceIO/py-allspice/compare/v3.4.0...v3.5.0

3.4.0

What's Changed

- Combine multi-part components for OrCAD by shrik450 in
https://github.com/AllSpiceIO/py-allspice/pull/161

This fixes a correctness issue where multi-part components would be
represented as multiple components in the BOM.

- Implement simple BOM post processing by shrik450 in
https://github.com/AllSpiceIO/py-allspice/pull/157

This adds suite of configuration options to customize the output of the
`utils.bom_generation` module. You can now sort columns, filter rows using
regex, specify the separator for grouped columns, and more. See the docs of
the
[bom_generation module](https://allspiceio.github.io/py-allspice/allspice/utils/bom_generation.html)
for more details.

- Support System Capture SDAX for components list and BOM by shrik450 in
https://github.com/AllSpiceIO/py-allspice/pull/164

You can now list the components in a System Capture SDAX file using
`utils.list_components.list_components` and generate a BOM using
`utils.bom_generation.generate_bom`.

**Full Changelog**: https://github.com/AllSpiceIO/py-allspice/compare/v3.3.1...v3.4.0

3.3.1

What's Changed

- Fix Design Review Comments not having an associated repo by shrik450 in 162

This fixes a bug that made it impossible to make any changes or add
attachments to a comment on a design review.

Internal Changes

- Update ruff requirement from ~=0.4 to ~=0.5 by dependabot in https://github.com/AllSpiceIO/py-allspice/pull/156
- Fix CI typecheck failure due to changed cassettes by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/149
- Move test repo sources to AllSpiceTests org by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/160

**Full Changelog**: https://github.com/AllSpiceIO/py-allspice/compare/v3.3.0...v3.3.1

3.3.0

What's Changed

- Combine Altium multi-part components by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/147

Earlier, multi-part Altium components would be represented as multiple
components in both `list_components` and `generate_bom`. Now,
`list_components` adds a keyword argument: `combine_multi_part`. When set to
`True`, multi-part components will be combined into one component for each
instance. In `generate_bom`, multi-part components are always combined.

Internal Changes

- doc: Add link to built pdoc documentation by jtran in https://github.com/AllSpiceIO/py-allspice/pull/144
- Allow manual deploys to the docs by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/143
- Speedup utils tests by shrik450 in https://github.com/AllSpiceIO/py-allspice/pull/145

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.