Skip to main content

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

  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

    python3.10 -m setup.py sdist
    
  5. 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.

Source Distribution

fynalai_apm_python-0.0.9.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page