NTBBloodbath / norg.py

Python parser for the Norg file format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neorg Project - Norgfmt (norg.py)

This is a Python project dedicated to parsing and formatting Neorg files. Our primary aim is to provide a reliable, efficient and highly customizable Neorg formatter which adheres to Pythonic standards and the Neorg Specification. The project is currently under active development with the parser under construction and the formatter yet to be started.

Project Structure

  • norg.py: The main Python script where parsing and formatting functions reside.

Getting Started

  1. Clone the project: git clone https://github.com/nvim-neorg/norg.py.git
  2. Navigate to the project directory: cd norg.py
  3. Install the necessary requirements: poetry install

Contributing Guidelines

We welcome contributions from everyone. Here's how you can contribute:

  1. Fork the Repository: You can fork the norg.py project on GitHub.

  2. Clone the Project: Clone the forked repository to your local machine.

  3. Create a Branch: Create a new branch for the features you're working on. This ensures that your changes are isolated and makes it easier for you to switch between different features.

  4. Make Your Changes: Make your changes and try to follow the Pythonic standards outlined below.

  5. Push Changes: Push your changes to your GitHub repository.

  6. Submit a Pull Request: Submit a pull request for your changes on GitHub.

Please follow the below-mentioned standards and rules when contributing to this project:

  • Adhere to the Pythonic standards as outlined in PEP 8.
  • Follow the Neorg Specification.
  • Write clear, maintainable and efficient code.
  • Use descriptive variable and function names.
  • Provide clear comments and docstrings for your code.
  • Ensure test coverage for your code is over 50%.

Running Tests

Before submitting your pull request, make sure to run the tests and ensure they all pass:

poetry run pytest

Contact

For any issues or questions, please open an issue on this repository or contact the Neorg team, discord server : Neorg Server. We're always happy to help you!

Happy coding!

About

Python parser for the Norg file format

License:GNU General Public License v3.0


Languages

Language:Python 100.0%