Agent Package Manager things
Project description
Usage
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
-
change code in
apmdirectory -
change version in
setup.py -
(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. -
build
distpython3.10 -m setup.py sdist
-
publish to pypi
python3.10 -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.