A small package that removes types from a file
Project description
Types remover(s)
This packet has two available functions remove_types_ast and remove_types_if, that are doing almost the same thing
with different implementation. And one cmd command remove-types that uses argparse and remove_types_ast
From the tests I can tell you that remove_types_ast is on average 3,28 (average from 100 calls) times slower than
remove_types_if
IMPORTANT TO NOTE
- The
remove_types_astfunction andremove-typescmd command both remove comments (not doc-strings) - Both functions turn multi-line data assignation into a one-line statement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file types_remover-1.0.2.tar.gz.
File metadata
- Download URL: types_remover-1.0.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2831e7388eab2c9e02671931405e574cba36c33db3d8049190a7681ad5e2f975
|
|
| MD5 |
468fd81eff33bbd91b7ac7cf22a9d3f8
|
|
| BLAKE2b-256 |
783c86b88dd8cb0a29771642ca188058c7256d5c4806ccec783084f4d444dea0
|
Provenance
The following attestation bundles were made for types_remover-1.0.2.tar.gz:
Publisher:
release.yml on EasternFarmer/types_remover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_remover-1.0.2.tar.gz -
Subject digest:
2831e7388eab2c9e02671931405e574cba36c33db3d8049190a7681ad5e2f975 - Sigstore transparency entry: 169902971
- Sigstore integration time:
-
Permalink:
EasternFarmer/types_remover@61e96534eef97bd4ec186b91b99b7f1ab3247780 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/EasternFarmer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@61e96534eef97bd4ec186b91b99b7f1ab3247780 -
Trigger Event:
push
-
Statement type:
File details
Details for the file types_remover-1.0.2-py3-none-any.whl.
File metadata
- Download URL: types_remover-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8de4dfb2747bfc2ffcd09980eccf9b3b13e36b62fcb8a7a74698fe188cf77e
|
|
| MD5 |
ae181e8d304f58fa1269a297850ef363
|
|
| BLAKE2b-256 |
6b044cab9e645b585b4f33b81810a39421ab6b5303b72aa7c0544a768b9147bc
|
Provenance
The following attestation bundles were made for types_remover-1.0.2-py3-none-any.whl:
Publisher:
release.yml on EasternFarmer/types_remover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_remover-1.0.2-py3-none-any.whl -
Subject digest:
4b8de4dfb2747bfc2ffcd09980eccf9b3b13e36b62fcb8a7a74698fe188cf77e - Sigstore transparency entry: 169902972
- Sigstore integration time:
-
Permalink:
EasternFarmer/types_remover@61e96534eef97bd4ec186b91b99b7f1ab3247780 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/EasternFarmer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@61e96534eef97bd4ec186b91b99b7f1ab3247780 -
Trigger Event:
push
-
Statement type: