Skip to main content
Variable_Generator


variable_generator is a small module to support automation

of generating valid python variable names from external data.

It is designed as a service to be used by other programs

that would parse through data and need to translate that data to usable python code.


Installing

Install and update using pip:

pip install -U variable_generator

A Simple Example


from variable_generator.name_generator import generate_valid_variable_name

raw_data = "123_ $%^ ששthis_is_var1 "

var1 = generate_valid_variable_name(self.testing_data['string1'])


> num123_dollar_percent_circumflex_15131513this_is_var1


Metadata

Release files for variable_generator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for variable_generator 0.1.1
File Size Uploaded Provenance Actions
variable_generator-0.1.1.tar.gz 6.4 kB Without provenance Details for variable_generator-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for variable_generator 0.1.1
File Interpreter ABI Platform Actions
variable_generator-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for variable_generator-0.1.1-py2.py3-none-any.whl

Total release size: 12.8 kB

Release files / variable_generator-0.1.1.tar.gz

Download URL variable_generator-0.1.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c579bd962f604dc312050f095fbf673206739d45b7e51842e1b9199a7b1deae6
BLAKE2b-256 checksum
How to use checksums
c30646346fe62b2db099a0399cead015963dfaef8596f85575feb4ba8f61a0fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / variable_generator-0.1.1-py2.py3-none-any.whl

Download URL variable_generator-0.1.1-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b7712e8e0bcdf3a7e26794476f3872eca018a4b3d19cc0a245fb8b0c59f7fad8
BLAKE2b-256 checksum
How to use checksums
1e18b7cd16580e34d14637fdc19c82afb46d7064442b6c425c87dcc27d6e277d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for variable_generator 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page