Skip to main content

converter to generate pydm .ui files from other display managers.

Project description

PyDM Converter

PyDM Converter is an PyDM-based tool developed at SLAC National Accelerator Laboratory. PyDM Converter is an open-source project.

For more information and a how to guide on PyDM Converter see the project's website

Report bug · Request feature

Contributing to PyDM Converter

Thank you for your interest in contributing to PyDM Converter! Your contributions help make the project better for everyone. Below are the guidelines to ensure a smooth and efficient collaboration.

How to Contribute

  1. Fork and Clone the Repository

    • Fork the PyDM Converter repository on GitHub.
    • Clone your fork to your local machine:
      git clone https://github.com/your-username/pydm-converter-tool.git
      cd pydm-converter-tool
      
  2. Set Up Your Development Environment

    • Install the necessary dependencies:
      pip install -r requirements.txt
      
  3. Implement Your Changes

    • Code Style: Follow the PEP8 style guide for Python code.
    • Documentation: Add docstrings to all new methods and classes using the NumPy style guide.
    • Unit Tests: Write unit tests for your changes using Pytest.
  4. Run Tests Locally

    • Ensure all tests pass before submitting:
      pytest
      
  5. Create a Pull Request (PR)

    • When you feel like your feature is ready to be merged into the pydm converter make a PR and request feedback from the Maintainers.
    • Provide a descriptive title and detailed description of your changes.

Pull Request Requirements

To ensure your PR is reviewed efficiently, please adhere to the following:

  • Unit Tests:

    • Include tests for all new functionality.
    • Ensure tests cover different scenarios and edge cases.
  • Documentation:

    • All new methods and classes must have comprehensive docstrings.
    • Follow the NumPy style guide for consistency.
  • Code Quality:

    • Adhere to the PEP8 style guide.
    • Ensure your code is clean, well-organized, and free of unnecessary complexity.

Additional Guidelines

  • Communication:
    • For significant changes, consider opening an issue to discuss your approach before starting.

Resources

Notes on Contributing to the Documentation

  1. Set Up Your Development Environment

    • Ensure you are working on your development environment.
  2. Navigate to the Project Directory

    • Go to the top-level pydm-converter-tool project directory, which contains the mkdocs.yml file.
  3. Make and Test Your Changes Locally

    • Edit the documentation files as needed.
    • Test your changes locally using MkDocs before submitting a pull request.

Detailed Steps

  1. Set Up Your Development Environment

    • Make sure you have all the necessary tools installed (e.g., Python, MkDocs).
  2. Navigate to the Project Directory

    cd path/to/pydm-converter-tool
    
  3. Install Dependencies

     pip install -r requirements.txt
    
  4. Serve the Documentation Locally

     mkdocs serve
    
  • Open your browser and go to http://localhost:8000 to preview your changes.
  1. Submit Your Changes
  • After verifying your changes, commit and push them to your forked repository.
  • Create a pull request to submit your updates.

If you have any questions or need further assistance, feel free to open an issue or reach out to the maintainers.

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

pydmconverter-1.0.4.tar.gz (267.4 kB view details)

Uploaded Source

File details

Details for the file pydmconverter-1.0.4.tar.gz.

File metadata

  • Download URL: pydmconverter-1.0.4.tar.gz
  • Upload date:
  • Size: 267.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pydmconverter-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a5a38fc5fa440e268e06c783da9feb6841594e62ad39d1d5d8ab8ef723bf768f
MD5 cc0dfa2368862bd7bbce1b35abfc9521
BLAKE2b-256 7599e4466da42b40715632420a30f245b90ae92fbdaa0d6c865226767e8e7d57

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydmconverter-1.0.4.tar.gz:

Publisher: pypi_release.yml on slaclab/pydm-converter-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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