Metadata-Version: 2.1
Name: fynalai-apm-python
Version: 0.0.9
Summary: Agent Package Manager things
Home-page: https://github.com/fynal-ai/apm/tree/main/apm-python
Author: fynal-ai
Author-email: fynalgpt@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.16.0

## 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/*
   ```
