mikatools


Namemikatools JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/mikahama/mikatools
SummaryQuick methods for everyday Python programming
upload_time2024-08-10 15:15:14
maintainerNone
docs_urlNone
authorMika Hämäläinen
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # Mikatools

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3977549.svg)](https://doi.org/10.5281/zenodo.3977549)

Mikatools provides fast and easy methods for common Python coding tasks.
Some functionality:
 - [script_path()](https://github.com/mikahama/mikatools/wiki/Miscellaneous#script_pathjoin_filenone) gives the location of the current Python script
 - [json_dump(data, file_path)](https://github.com/mikahama/mikatools/wiki/JSON-and-Pickle) saves a dictionary in UTF-8 in a pretty format with indentation, real unicode characters (no unreadable escaped letters) and sorts the keys.
 - [json_load(file_path)](https://github.com/mikahama/mikatools/wiki/JSON-and-Pickle) loads json with UTF-8 encoding
 - [download_file(url, path, show_progress=False)](https://github.com/mikahama/mikatools/wiki/Miscellaneous#download_fileurl-path-show_progressfalse) downloads a file and saves it on the disk
 - [open_read(file, password=None, salt=""")](https://github.com/mikahama/mikatools/wiki/Text-file-streams) opens a UTF-8 file for reading and optionally decrypts it
 - [open_write(file, password=None, salt="")](https://github.com/mikahama/mikatools/wiki/Text-file-streams) opens a UTF-8 file for writing and optionally encrypts it
 - [Super easy multitasking!](https://github.com/mikahama/mikatools/wiki/Multitasking)

[Read the wiki for more](https://github.com/mikahama/mikatools/wiki)

The library mostly provides functionality for my other libraries.

# Cite:

    @software{mika_hamalainen_2020_3977549,
      author       = {Mika Hämäläinen},
      title        = {mikahama/mikatools 1.0.0},
      month        = aug,
      year         = 2020,
      publisher    = {Zenodo},
      version      = {1.0.0},
      doi          = {10.5281/zenodo.3977549},
      url          = {https://doi.org/10.5281/zenodo.3977549}
    }



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mikahama/mikatools",
    "name": "mikatools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Mika H\u00e4m\u00e4l\u00e4inen",
    "author_email": "mika@rootroo.com",
    "download_url": "https://files.pythonhosted.org/packages/41/25/315ed2f5b963edea8b00589df4f9943c84b0f63f7e354640ccc4b44ce797/mikatools-1.0.2.tar.gz",
    "platform": null,
    "description": "# Mikatools\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3977549.svg)](https://doi.org/10.5281/zenodo.3977549)\n\nMikatools provides fast and easy methods for common Python coding tasks.\nSome functionality:\n - [script_path()](https://github.com/mikahama/mikatools/wiki/Miscellaneous#script_pathjoin_filenone) gives the location of the current Python script\n - [json_dump(data, file_path)](https://github.com/mikahama/mikatools/wiki/JSON-and-Pickle) saves a dictionary in UTF-8 in a pretty format with indentation, real unicode characters (no unreadable escaped letters) and sorts the keys.\n - [json_load(file_path)](https://github.com/mikahama/mikatools/wiki/JSON-and-Pickle) loads json with UTF-8 encoding\n - [download_file(url, path, show_progress=False)](https://github.com/mikahama/mikatools/wiki/Miscellaneous#download_fileurl-path-show_progressfalse) downloads a file and saves it on the disk\n - [open_read(file, password=None, salt=\"\"\")](https://github.com/mikahama/mikatools/wiki/Text-file-streams) opens a UTF-8 file for reading and optionally decrypts it\n - [open_write(file, password=None, salt=\"\")](https://github.com/mikahama/mikatools/wiki/Text-file-streams) opens a UTF-8 file for writing and optionally encrypts it\n - [Super easy multitasking!](https://github.com/mikahama/mikatools/wiki/Multitasking)\n\n[Read the wiki for more](https://github.com/mikahama/mikatools/wiki)\n\nThe library mostly provides functionality for my other libraries.\n\n# Cite:\n\n    @software{mika_hamalainen_2020_3977549,\n      author       = {Mika H\u00e4m\u00e4l\u00e4inen},\n      title        = {mikahama/mikatools 1.0.0},\n      month        = aug,\n      year         = 2020,\n      publisher    = {Zenodo},\n      version      = {1.0.0},\n      doi          = {10.5281/zenodo.3977549},\n      url          = {https://doi.org/10.5281/zenodo.3977549}\n    }\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Quick methods for everyday Python programming",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/mikahama/mikatools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa4b772607f645a9b87dff18a0c3ed80b9142034b23f726db92fda6efb961a13",
                "md5": "3c0a0558c7f78f5a49710bca1b61b3ea",
                "sha256": "d0dac64f6855433a396aaac511a14d1933dd48f7d2ee4bf386b5b35798354165"
            },
            "downloads": -1,
            "filename": "mikatools-1.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3c0a0558c7f78f5a49710bca1b61b3ea",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 281764,
            "upload_time": "2024-08-10T15:15:12",
            "upload_time_iso_8601": "2024-08-10T15:15:12.037932Z",
            "url": "https://files.pythonhosted.org/packages/fa/4b/772607f645a9b87dff18a0c3ed80b9142034b23f726db92fda6efb961a13/mikatools-1.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4125315ed2f5b963edea8b00589df4f9943c84b0f63f7e354640ccc4b44ce797",
                "md5": "acd017049dda5229a3bd48b92b78082a",
                "sha256": "529c25bd835fdcb2f1816865e814d144ba41e6c8e908ba151c96066b67c66a58"
            },
            "downloads": -1,
            "filename": "mikatools-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "acd017049dda5229a3bd48b92b78082a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 274928,
            "upload_time": "2024-08-10T15:15:14",
            "upload_time_iso_8601": "2024-08-10T15:15:14.645327Z",
            "url": "https://files.pythonhosted.org/packages/41/25/315ed2f5b963edea8b00589df4f9943c84b0f63f7e354640ccc4b44ce797/mikatools-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-10 15:15:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mikahama",
    "github_project": "mikatools",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mikatools"
}
        
Elapsed time: 0.98300s