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"
        }
        status = {
            "done": True
        }

        self.apmAgent.save_output(saveconfig=saveconfig, status=status, 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. build dist
    python3.10 -m setup.py sdist
    
  4. 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

jobsimi_apm_python-0.0.4.tar.gz (2.5 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