fnlength


Namefnlength JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/IgorMan2005/fnlength
SummaryPython filename length script
upload_time2023-07-08 12:54:15
maintainer
docs_urlNone
authorIgorMan (IgorMan2005)
requires_python>=3.6
license
keywords python filename length script filenamelength fnlength
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fnlength

<img src="https://igorman2005.github.io/images/fnlength.jpg" alt="fnlength">

Python filename length script.
The program enumerates the file in subdirectories and shortens long filenames to the specified number of characters.
function will create log file in top dir with name log_%Y%m%d.log

## Setup
https://pypi.org/project/fnlength/

**pip install fnlength**

## Example1:
```
import fnlength 

target = fnlength.fnlength()

# default 25
target.MAX_FILENAME_LENGTH = 30             

target.start()                              

```

## Example2:
```
from fnlength import FileNameLength

target = FileNameLength()

# default 25
target.MAX_FILENAME_LENGTH = 35

target.start()         

```

### Documentation

https://best-itpro.ru/news/fnlength/



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/IgorMan2005/fnlength",
    "name": "fnlength",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "python filename length script filenamelength fnlength",
    "author": "IgorMan (IgorMan2005)",
    "author_email": "igorman2005@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/21/92cc74f93ff3fa36f3af2969156bf3c9f8dd7ae8558139cf918f97592f58/fnlength-1.0.0.tar.gz",
    "platform": null,
    "description": "# fnlength\r\n\r\n<img src=\"https://igorman2005.github.io/images/fnlength.jpg\" alt=\"fnlength\">\r\n\r\nPython filename length script.\r\nThe program enumerates the file in subdirectories and shortens long filenames to the specified number of characters.\r\nfunction will create log file in top dir with name log_%Y%m%d.log\r\n\r\n## Setup\r\nhttps://pypi.org/project/fnlength/\r\n\r\n**pip install fnlength**\r\n\r\n## Example1:\r\n```\r\nimport fnlength \r\n\r\ntarget = fnlength.fnlength()\r\n\r\n# default 25\r\ntarget.MAX_FILENAME_LENGTH = 30             \r\n\r\ntarget.start()                              \r\n\r\n```\r\n\r\n## Example2:\r\n```\r\nfrom fnlength import FileNameLength\r\n\r\ntarget = FileNameLength()\r\n\r\n# default 25\r\ntarget.MAX_FILENAME_LENGTH = 35\r\n\r\ntarget.start()         \r\n\r\n```\r\n\r\n### Documentation\r\n\r\nhttps://best-itpro.ru/news/fnlength/\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python filename length script",
    "version": "1.0.0",
    "project_urls": {
        "Documentation": "https://best-itpro.ru/news/fnlength/",
        "Homepage": "https://github.com/IgorMan2005/fnlength"
    },
    "split_keywords": [
        "python",
        "filename",
        "length",
        "script",
        "filenamelength",
        "fnlength"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73b4d91e00a076771934f8ef15890913414a9c178592ade81a7b70a3f7876fed",
                "md5": "67e1c701677fbc326c3832243f57cae6",
                "sha256": "92befd7243b1db789e6841c88ebe9a75ff74e4d52672710e9a4a724ae5caf66b"
            },
            "downloads": -1,
            "filename": "fnlength-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "67e1c701677fbc326c3832243f57cae6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5800,
            "upload_time": "2023-07-08T12:54:13",
            "upload_time_iso_8601": "2023-07-08T12:54:13.561422Z",
            "url": "https://files.pythonhosted.org/packages/73/b4/d91e00a076771934f8ef15890913414a9c178592ade81a7b70a3f7876fed/fnlength-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "172192cc74f93ff3fa36f3af2969156bf3c9f8dd7ae8558139cf918f97592f58",
                "md5": "e615bca43347054bd9acd9cceeb91019",
                "sha256": "562a6759d34ca4cd526f51d94de928edccc04317a8a5eb73b79877482cac478d"
            },
            "downloads": -1,
            "filename": "fnlength-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e615bca43347054bd9acd9cceeb91019",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4268,
            "upload_time": "2023-07-08T12:54:15",
            "upload_time_iso_8601": "2023-07-08T12:54:15.692420Z",
            "url": "https://files.pythonhosted.org/packages/17/21/92cc74f93ff3fa36f3af2969156bf3c9f8dd7ae8558139cf918f97592f58/fnlength-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-08 12:54:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "IgorMan2005",
    "github_project": "fnlength",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fnlength"
}
        
Elapsed time: 0.10076s