eml-rename


Nameeml-rename JSON
Version 0.3.0 PyPI version JSON
download
home_page
SummaryScript renames all eml files in a directory using mail metadata
upload_time2023-04-17 08:04:07
maintainer
docs_urlNone
authorturulomio
requires_python>=3.10,<4.0
licenseGPL-3.0 license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # eml_rename project

Script renames all eml files in a directory using mail metadata

## Idea

I needed this tool to classify and order my mail files at work.

I took this idea from an article of Armand Niculescu (August 20, 2014) at https://www.media-division.com/using-python-to-batch-rename-email-files/ , so thanks an I hope you like this code.

## Features

- Automatically renames all *.eml files in a directory, using email metadata. 
- Renamed files will have this format is 'YYYYMMDD HHMM [From] Subject'
- If 'YYYYMMDD HHMM [From]' format is detected the script won't rename the file. With this feature user can change subject manually and the script won't overwrite it.
- If you use --force parameter the script will overwrite all files even they have the 'YYYYMMDD HHMM [From]' format.
- Length of the new name will have 140 character as maximum, although you can change it with the --length parameter
- --save parameter renames files. If you don't use this parameter it will only pretend the result
- It uses concurrency to make process faster

## Changelog

### 0.3.0 (2023-04-17)
- setup.py migrated to poetry
- Fix bug with CEST time zones

### 0.2.0 (2022-11-12)
-  Now mail datetime uses local system time zone

### 0.1.0 (2022-11-06)
- First version
- Added main features
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "eml-rename",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "turulomio",
    "author_email": "turulomio@yahoo.es",
    "download_url": "https://files.pythonhosted.org/packages/3b/d2/e739f20c4b26bc323f2cd7b658ab91a42902377b821aa82ec1e469a6f4b1/eml_rename-0.3.0.tar.gz",
    "platform": null,
    "description": "# eml_rename project\n\nScript renames all eml files in a directory using mail metadata\n\n## Idea\n\nI needed this tool to classify and order my mail files at work.\n\nI took this idea from an article of Armand Niculescu (August 20, 2014) at https://www.media-division.com/using-python-to-batch-rename-email-files/ , so thanks an I hope you like this code.\n\n## Features\n\n- Automatically renames all *.eml files in a directory, using email metadata. \n- Renamed files will have this format is 'YYYYMMDD HHMM [From] Subject'\n- If 'YYYYMMDD HHMM [From]' format is detected the script won't rename the file. With this feature user can change subject manually and the script won't overwrite it.\n- If you use --force parameter the script will overwrite all files even they have the 'YYYYMMDD HHMM [From]' format.\n- Length of the new name will have 140 character as maximum, although you can change it with the --length parameter\n- --save parameter renames files. If you don't use this parameter it will only pretend the result\n- It uses concurrency to make process faster\n\n## Changelog\n\n### 0.3.0 (2023-04-17)\n- setup.py migrated to poetry\n- Fix bug with CEST time zones\n\n### 0.2.0 (2022-11-12)\n-  Now mail datetime uses local system time zone\n\n### 0.1.0 (2022-11-06)\n- First version\n- Added main features",
    "bugtrack_url": null,
    "license": "GPL-3.0 license",
    "summary": "Script renames all eml files in a directory using mail metadata",
    "version": "0.3.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3450caa2979213bbbb99e5d5ae8f26e185ffceecb6acca79427272eda1c31a33",
                "md5": "8c7870b565a5a2e3d8eab6d2e9af5943",
                "sha256": "9f41ffacfa2c402d388f1e03d2d077a638023906ad0348aa66e95803b7cf8ffb"
            },
            "downloads": -1,
            "filename": "eml_rename-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8c7870b565a5a2e3d8eab6d2e9af5943",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 22427,
            "upload_time": "2023-04-17T08:04:04",
            "upload_time_iso_8601": "2023-04-17T08:04:04.886067Z",
            "url": "https://files.pythonhosted.org/packages/34/50/caa2979213bbbb99e5d5ae8f26e185ffceecb6acca79427272eda1c31a33/eml_rename-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bd2e739f20c4b26bc323f2cd7b658ab91a42902377b821aa82ec1e469a6f4b1",
                "md5": "a8acb4da98809fa3eb4e9af0ec598f72",
                "sha256": "4a03d72eeafea0e03b669e0ff09056c77868586b79cdf4170e36c78401dbb34a"
            },
            "downloads": -1,
            "filename": "eml_rename-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a8acb4da98809fa3eb4e9af0ec598f72",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 19161,
            "upload_time": "2023-04-17T08:04:07",
            "upload_time_iso_8601": "2023-04-17T08:04:07.468408Z",
            "url": "https://files.pythonhosted.org/packages/3b/d2/e739f20c4b26bc323f2cd7b658ab91a42902377b821aa82ec1e469a6f4b1/eml_rename-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-17 08:04:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "eml-rename"
}
        
Elapsed time: 0.07811s