Skip to main content

naming-utils

Simple utility for generating unique names with timestamps.

Installation

pip install naming-utils

Usage

>>> from naming_utils import unique_name_with_ts
>>> unique_name_with_ts()

'20220508_085805_173693933'

>>> unique_name_with_ts(path='log/', extension='log')

'log/20220508_085837_602718269.log'

>>> from naming_utils import unique_names_with_ts
>>> unique_names_with_ts(count=5, path='log/', extension='log')

['log/20220508_085901_689713589.log', 'log/20220508_085901_689713339.log', 'log/20220508_085901_68971329.log', 'log/20220508_085901_689713292.log', 'log/20220508_085901_688709138.log']

Metadata

Release files for naming-utils 0.0.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 naming-utils 0.0.1
File Size Uploaded Provenance Actions
naming_utils-0.0.1.tar.gz 2.0 kB Without provenance Details for naming_utils-0.0.1.tar.gz

Release files / naming_utils-0.0.1.tar.gz

Download URL naming_utils-0.0.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ae88e20c20f885032b2717b1fb27478b45176834949f9db041b0a12c3a4ad8c2
BLAKE2b-256 checksum
How to use checksums
33c3c29a4b989c4522250f54335a04f47eb6e19dea86020e0c27deb6d85da010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.3

Security for naming-utils 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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