Paramclasses

Latest version: v0.3.2

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

Scan your dependencies

0.3.2

What's Changed
* Fixed class level lookup on inheritance (27) by eliegoudout in https://github.com/eliegoudout/paramclasses/pull/30
* Typed package


**Full Changelog**: https://github.com/eliegoudout/paramclasses/compare/v0.3.1...v0.3.2

0.3.1

What's Changed
* Update README.md by TheoGoudout in https://github.com/eliegoudout/paramclasses/pull/15
* Test/parametrize attr by eliegoudout in https://github.com/eliegoudout/paramclasses/pull/24

New Contributors
* TheoGoudout made their first contribution in https://github.com/eliegoudout/paramclasses/pull/15

**Full Changelog**: https://github.com/eliegoudout/paramclasses/compare/v0.3.0...v0.3.1

0.3.0

What's Changed
* Fix/super vulne by eliegoudout in https://github.com/eliegoudout/paramclasses/pull/17
* Api/impl by eliegoudout in https://github.com/eliegoudout/paramclasses/pull/19


**Full Changelog**: https://github.com/eliegoudout/paramclasses/compare/v0.2.2...v0.3.0

0.2.2

**Full Changelog**: https://github.com/eliegoudout/paramclasses/compare/v0.1.0...v0.2.2
---

- Explicit expected behaviour:
<table>
<caption>Table of Expected Behaviour</caption>
<tr>
<th rowspan="2">Operation on<br><code>Class</code> or <code>instance</code></th>
<th colspan="2">Parameters</th>
<th colspan="2">Non-Parameters</th>
</tr>
<tr>
<!-- <th>EXPECTED</th> -->
<th>Protected</th>
<th>Unprotected</th>
<th>Protected</th>
<th>Unprotected</th>
</tr>
<tr>
<!-- <td rowspan="3">BEHAVIOUR</td> -->
<td><code>getattr</code></td>
<td>Bypass Descriptors*</td>
<td>Bypass Descriptors</td>
<td>Vanilla*</td>
<td>Vanilla</td>
</tr>
<tr>
<td><code>setattr</code></td>
<td><code>ProtectedError</code></td>
<td>Bypass Descriptors</td>
<td><code>ProtectedError</code></td>
<td>Vanilla</td>
</tr>
<tr>
<td><code>delattr</code></td>
<td><code>ProtectedError</code></td>
<td>Bypass Descriptors</td>
<td><code>ProtectedError</code></td>
<td>Vanilla</td>
</tr>
</table>
*<sub>On `instance`, `getattr` should ignore and remove any `vars(instance)` entry.</sub>

- Much more extensive tests for get/set/del (and fixed `A.x` not bypassing descriptors properly
- Protected attributes: now `mappingproxy` with `owner` values. Much cleaner for ultiple inheritance (no value look-up)
- More extensive readme
- Breaking `mappingproxy` is a discovered way of breaking paramclasses
- Introduced `RawParamClass`.

0.1.0

First stable version.

**Full Changelog**: https://github.com/eliegoudout/paramclasses/commits/v0.1.0

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.