Skip to main content

Library to run SAP scripts with Python

Project description

PySAP Macro

Python script to connect with SAP and allow usage of VB scripts

Getting Started

These instructions will get you a copy of the project up and running on your local machine. You can check my GitHub for further informations.

Installing

To install this package and all of it's requirements, run the following code on your terminal:

pip install pysap_macro

Testing if it is working

You can create a Python file for testing purpose with the following code:

from pysap_macro import SAP

class Test:
    def __init__(self):
        self.run()

    def run(self):
        session = SAP.connect_sap(self, connection_name="SAP ENVIRONMENT NAME")

        # your VB code created by SAP below

Test()

Authors

Thanks to Fkfouri's sapy_script for creating an amazing library and providing it on Github. This project was created based on his code.

  • Mateus Lima Silva

License

This project is licensed under the MIT License - see the LICENSE file for details

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

pysap_macro-0.5.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file pysap_macro-0.5.1.tar.gz.

File metadata

  • Download URL: pysap_macro-0.5.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pysap_macro-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d7116f532c2d475386cf134925163b5db2686e8552b69a253b98241b6849e990
MD5 098f7757254c7a89bf114f5cc526d9c1
BLAKE2b-256 b439d01bf7a47cef452db8814f057b003f4e1c395b64513b30a5b8e72b327006

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