Name | upcast JSON |
Version |
0.2.2
JSON |
| download |
home_page | https://github.com/mrlyc/upcast |
Summary | AST tools |
upload_time | 2024-11-26 05:46:14 |
maintainer | None |
docs_url | None |
author | MrLYC |
requires_python | <4.0,>=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# upcast
[](https://img.shields.io/github/v/release/mrlyc/upcast)
[](https://github.com/mrlyc/upcast/actions/workflows/main.yml?query=branch%3Amain)
[](https://codecov.io/gh/mrlyc/upcast)
[](https://img.shields.io/github/commit-activity/m/mrlyc/upcast)
[](https://img.shields.io/github/license/mrlyc/upcast)
This project provides a series of tools to analyze Python projects. It does not actually execute code but only uses
static analysis methods. Therefore, it has a more universal application scenario.
- **Github repository**: <https://github.com/mrlyc/upcast/>
- **Documentation** <https://mrlyc.github.io/upcast/>
## Installation
```bash
pip install upcast
```
## Usage
### find-env-vars
Infer the environment variables that a program depends on through code, including information such as default values and
types.
```bash
upcast find-env-vars /path/to/your/python/project/**/*.py
```
The `-o` option can be used to output a csv file for further analysis.
```bash
upcast find-env-vars /path/to/your/python/project/**/*.py -o env-vars.csv
```
Support the following output formats:
- csv
- html
Raw data
{
"_id": null,
"home_page": "https://github.com/mrlyc/upcast",
"name": "upcast",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "MrLYC",
"author_email": "github@m.mrlyc.com",
"download_url": "https://files.pythonhosted.org/packages/71/66/bff3538f3497c50784145278e3436da39949588300df36875da41d0c0f36/upcast-0.2.2.tar.gz",
"platform": null,
"description": "# upcast\n\n[](https://img.shields.io/github/v/release/mrlyc/upcast)\n[](https://github.com/mrlyc/upcast/actions/workflows/main.yml?query=branch%3Amain)\n[](https://codecov.io/gh/mrlyc/upcast)\n[](https://img.shields.io/github/commit-activity/m/mrlyc/upcast)\n[](https://img.shields.io/github/license/mrlyc/upcast)\n\nThis project provides a series of tools to analyze Python projects. It does not actually execute code but only uses\nstatic analysis methods. Therefore, it has a more universal application scenario.\n\n- **Github repository**: <https://github.com/mrlyc/upcast/>\n- **Documentation** <https://mrlyc.github.io/upcast/>\n\n## Installation\n\n```bash\npip install upcast\n```\n\n## Usage\n\n### find-env-vars\n\nInfer the environment variables that a program depends on through code, including information such as default values and\ntypes.\n\n```bash\nupcast find-env-vars /path/to/your/python/project/**/*.py\n```\n\nThe `-o` option can be used to output a csv file for further analysis.\n\n```bash\nupcast find-env-vars /path/to/your/python/project/**/*.py -o env-vars.csv\n```\n\nSupport the following output formats:\n\n- csv\n- html\n",
"bugtrack_url": null,
"license": null,
"summary": "AST tools",
"version": "0.2.2",
"project_urls": {
"Documentation": "https://mrlyc.github.io/upcast/",
"Homepage": "https://github.com/mrlyc/upcast",
"Repository": "https://github.com/mrlyc/upcast"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fbcb5ed9086497e03d7eb68aa5f7f3758d9c27e37d5c2f22fbd907ac73289f5d",
"md5": "3aabba07a6c46514b134b63d88d98e46",
"sha256": "8b5ec582eca123c1f8996a160e39ce0f7985f550fe5d2a3c6e7e02782110145f"
},
"downloads": -1,
"filename": "upcast-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3aabba07a6c46514b134b63d88d98e46",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 15201,
"upload_time": "2024-11-26T05:46:12",
"upload_time_iso_8601": "2024-11-26T05:46:12.133010Z",
"url": "https://files.pythonhosted.org/packages/fb/cb/5ed9086497e03d7eb68aa5f7f3758d9c27e37d5c2f22fbd907ac73289f5d/upcast-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7166bff3538f3497c50784145278e3436da39949588300df36875da41d0c0f36",
"md5": "f0543ae9ac992d50892ec1c776084b23",
"sha256": "20773210b141421c4a2f84c2cf6712cbf163bc367eac87ee35a5101388cc641c"
},
"downloads": -1,
"filename": "upcast-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "f0543ae9ac992d50892ec1c776084b23",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 13176,
"upload_time": "2024-11-26T05:46:14",
"upload_time_iso_8601": "2024-11-26T05:46:14.076368Z",
"url": "https://files.pythonhosted.org/packages/71/66/bff3538f3497c50784145278e3436da39949588300df36875da41d0c0f36/upcast-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 05:46:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mrlyc",
"github_project": "upcast",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "upcast"
}