Skip to main content

React like string builder

https://img.shields.io/github/license/mashape/apistatus.svg https://badge.fury.io/py/strinpy.svg

Usage

import strinpy

condition = True
output = strinpy.build([
    'text',
    condition and 'condition text',
    condition and ['condition text list'],
    condition and (lambda: 'supplier text'),
    [
        'text list',
        [
            'in text list'
        ]
    ]
])
print(output)
"""
text
condition text
condition text list
supplier text
text list
in text list
"""

Metadata

Release files for strinpy 0.0.4

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

Source distribution (sdist)

Source distribution for strinpy 0.0.4
File Size Uploaded Provenance Actions
strinpy-0.0.4.tar.gz 2.7 kB Without provenance Details for strinpy-0.0.4.tar.gz

Release files / strinpy-0.0.4.tar.gz

Download URL strinpy-0.0.4.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b7cb8897b67c745a545b3bc2e18b34336632b8c6169e36e254b3ccbafba189ac
BLAKE2b-256 checksum
How to use checksums
fd96307e29b9bef2ef773be6e9fa00dfd25ee2e02ebb07309cf74fbb7ed9990a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Security for strinpy 0.0.4

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