Skip to main content

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_ast function and remove-types cmd command both remove comments (not doc-strings)
  • Both functions turn multi-line data assignation into a one-line statement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

types_remover-1.0.2.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

types_remover-1.0.2-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

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

Hashes for types_remover-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2831e7388eab2c9e02671931405e574cba36c33db3d8049190a7681ad5e2f975
MD5 468fd81eff33bbd91b7ac7cf22a9d3f8
BLAKE2b-256 783c86b88dd8cb0a29771642ca188058c7256d5c4806ccec783084f4d444dea0

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_remover-1.0.2.tar.gz:

Publisher: release.yml on EasternFarmer/types_remover

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for types_remover-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8de4dfb2747bfc2ffcd09980eccf9b3b13e36b62fcb8a7a74698fe188cf77e
MD5 ae181e8d304f58fa1269a297850ef363
BLAKE2b-256 6b044cab9e645b585b4f33b81810a39421ab6b5303b72aa7c0544a768b9147bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_remover-1.0.2-py3-none-any.whl:

Publisher: release.yml on EasternFarmer/types_remover

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page