files-folders-with-timestamp


Namefiles-folders-with-timestamp JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/files_folders_with_timestamp
SummaryTimestamps in readable format, touch folders/files with timestamp
upload_time2023-01-02 01:26:04
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords timestamp
VCS
bugtrack_url
requirements touchtouch
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Timestamps in readable format, touch folders/files with timestamp 


```python
# 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

	
```





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/files_folders_with_timestamp",
    "name": "files-folders-with-timestamp",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "timestamp",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/1a/fc/27e59ad8a6525be0f2bc9b401a8a3f1c4e2b7998543d72586db52eda7c32/files_folders_with_timestamp-0.10.tar.gz",
    "platform": null,
    "description": "\n# Timestamps in readable format, touch folders/files with timestamp \n\n\n```python\n# Tested with:\n# Python 3.9.13\n# Windows 10\n\n\n$pip install files-folders-with-timestamp\n\n\n\nfrom files_folders_with_timestamp import get_timestamp, create_file_with_timestamp, create_folder_with_timestamp\nprint(get_timestamp(sep=\"_\"))\nprint(create_file_with_timestamp(folder=None, extension='.tmp', prefix='bild___', suffix='', sep='_', create_file=False))\nprint(create_file_with_timestamp(folder='f:\\\\testes\\\\dddd\\\\sasa', extension='.tmp', prefix='', suffix='', sep='-', create_file=True))\nprint(create_folder_with_timestamp(folder='f:\\\\newfolder', prefix='b', suffix='x', sep='_', create_folder=False))\nprint(create_folder_with_timestamp(folder='f:\\\\newfolder2', prefix='b', suffix='x', sep='x', create_folder=True))\n\n\n\n2023_01_01_22_21_30_438475\nbild___2023_01_01_22_21_30_438475.tmp\nf:\\testes\\dddd\\sasa\\2023-01-01-22-21-30-438475.tmp\nf:\\newfolder\\b2023_01_01_22_21_30_450186x\nf:\\newfolder2\\b2023x01x01x22x21x30x451162x\n\n\t\n```\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Timestamps in readable format, touch folders/files with timestamp",
    "version": "0.10",
    "split_keywords": [
        "timestamp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "087b728f62777bd363f93912eb8adfc2",
                "sha256": "09f5921a60d9a41febb00409cd64fa758c8a2b66d25026e3ae14de6838b4f0be"
            },
            "downloads": -1,
            "filename": "files_folders_with_timestamp-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "087b728f62777bd363f93912eb8adfc2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5192,
            "upload_time": "2023-01-02T01:26:02",
            "upload_time_iso_8601": "2023-01-02T01:26:02.642064Z",
            "url": "https://files.pythonhosted.org/packages/85/3a/14359b492fdc2e95c791cd5a6229ae648f22409f343db55053954316f3e6/files_folders_with_timestamp-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "e2b37a1375a4192457b942717ae3a192",
                "sha256": "3b70f893b46c5c5ff5ba7686246eba1a514b1493fc117c08f867124d5770c7cc"
            },
            "downloads": -1,
            "filename": "files_folders_with_timestamp-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "e2b37a1375a4192457b942717ae3a192",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3532,
            "upload_time": "2023-01-02T01:26:04",
            "upload_time_iso_8601": "2023-01-02T01:26:04.322981Z",
            "url": "https://files.pythonhosted.org/packages/1a/fc/27e59ad8a6525be0f2bc9b401a8a3f1c4e2b7998543d72586db52eda7c32/files_folders_with_timestamp-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-02 01:26:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "files_folders_with_timestamp",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "touchtouch",
            "specs": []
        }
    ],
    "lcname": "files-folders-with-timestamp"
}
        
Elapsed time: 0.02559s