fynalai-apm-python


Namefynalai-apm-python JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://github.com/fynal-ai/apm/tree/main/apm-python
SummaryAgent Package Manager things
upload_time2024-08-14 10:54:32
maintainerNone
docs_urlNone
authorfynal-ai
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Usage

```python
from apm.APMAgent import APMAgent

class Agent:
    def __init__(self):
        self.apmAgent = APMAgent()
        pass

    def run(self, params, saveconfig):
        output = {
            "text": "text"
        }

        self.apmAgent.save_output(saveconfig=saveconfig, output=output) # save output

        return output
```

## Dev

https://developer.aliyun.com/article/1337727

1. change code in `apm` directory
2. change version in `setup.py`
3. (login) set password in $HOME/.pypirc

   ```
   pypi-AgEIcxxx

   For example, if you are using Twine to upload your projects to PyPI, set up your $HOME/.pypirc file like this:

   [pypi]
     username = __token__
     password = pypi-AgEIxxx
   For further instructions on how to use this token, visit the PyPI help page.
   ```

4. build `dist`
   ```sh
   python3.10 -m setup.py sdist
   ```
5. publish to pypi
   ```sh
   python3.10 -m twine upload dist/*
   ```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fynal-ai/apm/tree/main/apm-python",
    "name": "fynalai-apm-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "fynal-ai",
    "author_email": "fynalgpt@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/fa/d5b5e57b1a4bd1a8216d2811ca71a25d3938babfd99326b179872ce6bf93/fynalai_apm_python-0.0.9.tar.gz",
    "platform": null,
    "description": "## Usage\n\n```python\nfrom apm.APMAgent import APMAgent\n\nclass Agent:\n    def __init__(self):\n        self.apmAgent = APMAgent()\n        pass\n\n    def run(self, params, saveconfig):\n        output = {\n            \"text\": \"text\"\n        }\n\n        self.apmAgent.save_output(saveconfig=saveconfig, output=output) # save output\n\n        return output\n```\n\n## Dev\n\nhttps://developer.aliyun.com/article/1337727\n\n1. change code in `apm` directory\n2. change version in `setup.py`\n3. (login) set password in $HOME/.pypirc\n\n   ```\n   pypi-AgEIcxxx\n\n   For example, if you are using Twine to upload your projects to PyPI, set up your $HOME/.pypirc file like this:\n\n   [pypi]\n     username = __token__\n     password = pypi-AgEIxxx\n   For further instructions on how to use this token, visit the PyPI help page.\n   ```\n\n4. build `dist`\n   ```sh\n   python3.10 -m setup.py sdist\n   ```\n5. publish to pypi\n   ```sh\n   python3.10 -m twine upload dist/*\n   ```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Agent Package Manager things",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://github.com/fynal-ai/apm/tree/main/apm-python"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0bfad5b5e57b1a4bd1a8216d2811ca71a25d3938babfd99326b179872ce6bf93",
                "md5": "77008c5d011f20eff43bd521e5cdcff1",
                "sha256": "6edee674aafcb6b1c564fc84a8e4e46af60c72a1742be3a964df97fdb783a8ae"
            },
            "downloads": -1,
            "filename": "fynalai_apm_python-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "77008c5d011f20eff43bd521e5cdcff1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2689,
            "upload_time": "2024-08-14T10:54:32",
            "upload_time_iso_8601": "2024-08-14T10:54:32.237976Z",
            "url": "https://files.pythonhosted.org/packages/0b/fa/d5b5e57b1a4bd1a8216d2811ca71a25d3938babfd99326b179872ce6bf93/fynalai_apm_python-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-14 10:54:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fynal-ai",
    "github_project": "apm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fynalai-apm-python"
}
        
Elapsed time: 0.49737s