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 details)

Uploaded Source

File details

Details for the file fynalai_apm_python-0.0.9.tar.gz.

File metadata

  • Download URL: fynalai_apm_python-0.0.9.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for fynalai_apm_python-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6edee674aafcb6b1c564fc84a8e4e46af60c72a1742be3a964df97fdb783a8ae
MD5 77008c5d011f20eff43bd521e5cdcff1
BLAKE2b-256 0bfad5b5e57b1a4bd1a8216d2811ca71a25d3938babfd99326b179872ce6bf93

See more details on using hashes here.

Supported by

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