Skip to main content

Timestamps in readable format, touch folders/files with timestamp

# Tested with:
# Python 3.9.13
# Windows 10


$pip install files-folders-with-timestamp



from files_folders_with_timestamp import get_timestamp, create_file_with_timestamp, create_folder_with_timestamp
print(get_timestamp(sep="_"))
print(create_file_with_timestamp(folder=None, extension='.tmp', prefix='bild___', suffix='', sep='_', create_file=False))
print(create_file_with_timestamp(folder='f:\\testes\\dddd\\sasa', extension='.tmp', prefix='', suffix='', sep='-', create_file=True))
print(create_folder_with_timestamp(folder='f:\\newfolder', prefix='b', suffix='x', sep='_', create_folder=False))
print(create_folder_with_timestamp(folder='f:\\newfolder2', prefix='b', suffix='x', sep='x', create_folder=True))



2023_01_01_22_21_30_438475
bild___2023_01_01_22_21_30_438475.tmp
f:\testes\dddd\sasa\2023-01-01-22-21-30-438475.tmp
f:\newfolder\b2023_01_01_22_21_30_450186x
f:\newfolder2\b2023x01x01x22x21x30x451162x

	

Metadata

Release files for files-folders-with-timestamp 0.10

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

Source distribution (sdist)

Source distribution for files-folders-with-timestamp 0.10
File Size Uploaded Provenance Actions
files_folders_with_timestamp-0.10.tar.gz 3.5 kB Without provenance Details for files_folders_with_timestamp-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for files-folders-with-timestamp 0.10
File Interpreter ABI Platform Actions
files_folders_with_timestamp-0.10-py3-none-any.whl Python 3 none any Details for files_folders_with_timestamp-0.10-py3-none-any.whl

Total release size: 8.7 kB

Release files / files_folders_with_timestamp-0.10.tar.gz

Download URL files_folders_with_timestamp-0.10.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3b70f893b46c5c5ff5ba7686246eba1a514b1493fc117c08f867124d5770c7cc
BLAKE2b-256 checksum
How to use checksums
1afc27e59ad8a6525be0f2bc9b401a8a3f1c4e2b7998543d72586db52eda7c32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / files_folders_with_timestamp-0.10-py3-none-any.whl

Download URL files_folders_with_timestamp-0.10-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09f5921a60d9a41febb00409cd64fa758c8a2b66d25026e3ae14de6838b4f0be
BLAKE2b-256 checksum
How to use checksums
853a14359b492fdc2e95c791cd5a6229ae648f22409f343db55053954316f3e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for files-folders-with-timestamp 0.10

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.10 This release

2 release files 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