pycones


Namepycones JSON
Version 0.1.9 PyPI version JSON
download
home_page
Summary
upload_time2023-11-30 05:29:03
maintainer
docs_urlNone
authorwilliam
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycones

[![PyPI Version][pypi-image]][pypi-url]

...

<!-- Badges: -->

[pypi-image]: https://img.shields.io/pypi/v/pycones
[pypi-url]: https://pypi.org/project/pycones


## basic utils

- flatten a list

```python
flatten([1, 2, [3, [4, 5]]])
# [1, 2, 3, 4, 5]
```

- join lists into a string

```python
list_join(list("abc"), list("def"), sep=",")
# "a,b,c,d,e,f"
```

- switch jupyter kernel into python or r

```python
nb_kernel_switch(notebook_path, kernel='python')
```

- round a number to significant digits

```python
signif_number(1.232, 2)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pycones",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "william",
    "author_email": "william_swl@163.com",
    "download_url": "https://files.pythonhosted.org/packages/89/ff/da35ff07cd7f0803687cbedf9a8f7e07bf4667e2599bd0c534aecd67e097/pycones-0.1.9.tar.gz",
    "platform": null,
    "description": "# pycones\n\n[![PyPI Version][pypi-image]][pypi-url]\n\n...\n\n<!-- Badges: -->\n\n[pypi-image]: https://img.shields.io/pypi/v/pycones\n[pypi-url]: https://pypi.org/project/pycones\n\n\n## basic utils\n\n- flatten a list\n\n```python\nflatten([1, 2, [3, [4, 5]]])\n# [1, 2, 3, 4, 5]\n```\n\n- join lists into a string\n\n```python\nlist_join(list(\"abc\"), list(\"def\"), sep=\",\")\n# \"a,b,c,d,e,f\"\n```\n\n- switch jupyter kernel into python or r\n\n```python\nnb_kernel_switch(notebook_path, kernel='python')\n```\n\n- round a number to significant digits\n\n```python\nsignif_number(1.232, 2)\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.1.9",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fd0b98f5912b6f6fe504b51d74bf1e01c4ff201e052d8a6b38f4e27bd4ae1267",
                "md5": "cd55199b6323660e53154282ff62fb95",
                "sha256": "e5c082068afc4f94850001170ab6d86938e0b32a435d2937377d13f064c1627c"
            },
            "downloads": -1,
            "filename": "pycones-0.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cd55199b6323660e53154282ff62fb95",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2397,
            "upload_time": "2023-11-30T05:29:02",
            "upload_time_iso_8601": "2023-11-30T05:29:02.360495Z",
            "url": "https://files.pythonhosted.org/packages/fd/0b/98f5912b6f6fe504b51d74bf1e01c4ff201e052d8a6b38f4e27bd4ae1267/pycones-0.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89ffda35ff07cd7f0803687cbedf9a8f7e07bf4667e2599bd0c534aecd67e097",
                "md5": "001ac2e6e9a3868d18410f81357b7eee",
                "sha256": "32ebc5b6d8322228fe86e2167dc05415f6cfc6c4d1dfa84afb4f266f47ad0c1c"
            },
            "downloads": -1,
            "filename": "pycones-0.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "001ac2e6e9a3868d18410f81357b7eee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2123,
            "upload_time": "2023-11-30T05:29:03",
            "upload_time_iso_8601": "2023-11-30T05:29:03.862528Z",
            "url": "https://files.pythonhosted.org/packages/89/ff/da35ff07cd7f0803687cbedf9a8f7e07bf4667e2599bd0c534aecd67e097/pycones-0.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-30 05:29:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pycones"
}
        
Elapsed time: 0.15464s