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 implementation.

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 removes 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.0.tar.gz (16.1 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.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file types_remover-1.0.0.tar.gz.

File metadata

  • Download URL: types_remover-1.0.0.tar.gz
  • Upload date:
  • Size: 16.1 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.0.tar.gz
Algorithm Hash digest
SHA256 446a63708da9ff90ad1f066e2d72a83a915d2c3ef7d4dc9e2219fc97f71e9a91
MD5 b0b523d52435819df0b2ae416befc7e9
BLAKE2b-256 8ae3858205e444fd068259055ac739771d3e318295004086268607e55a3aecab

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_remover-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: types_remover-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75f69789379b604792b03574bd066a706051cf768b3479f1748f40d0412f3fb4
MD5 ad85faf4351c8b9db35f7f9b6f517a05
BLAKE2b-256 b19ab2d13aab8100771a91d7e0f724aa13bf45a78d671fc2150ec46381a5fe69

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_remover-1.0.0-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