pgn2json package¶

Subpackages¶

  • pgn2json.computation package
    • Submodules
    • pgn2json.computation.pgn_conversion module
      • PGNConverter
        • PGNConverter.position_flags
        • PGNConverter.uuid_length
        • PGNConverter.pgn_content
        • PGNConverter.convert_to_json()
        • PGNConverter.convert_to_json()
    • Module contents
  • pgn2json.config package
    • Submodules
    • pgn2json.config.constants module
      • Constants
        • Constants.DEFAULT_JSON_SAVE_FOLDER
        • Constants.DEFAULT_LOG_SAVE_PATH
        • Constants.FORBIDDEN_CODE
        • Constants.LOGGING_CONSOLE_FORMAT
        • Constants.LOGGING_DATE_FORMAT
        • Constants.LOGGING_LEVEL_CONSOLE_DEFAULT
        • Constants.LOGGING_LEVEL_LOGFILE_DEFAULT
        • Constants.LOGGING_LOGFILE_FORMAT
        • Constants.LOGGING_TIMESTAMP_FORMAT
        • Constants.LOGGING_TRACEBACKS
        • Constants.POSITION_FLAGS
        • Constants.POSSIBLE_LOGGING_LEVELS
        • Constants.SUCCESS_CODE
        • Constants.SUCCESS_TEXT
        • Constants.UUID_LENGTH
    • Module contents
  • pgn2json.interface package
    • Submodules
    • pgn2json.interface.command_line module
      • command_line_interface()
    • Module contents
  • pgn2json.logs package
    • Submodules
    • pgn2json.logs.setup_logging module
      • setup_logging()
    • Module contents

Submodules¶

pgn2json.main module¶

main.py: Called when the package is ran as a script.

pgn2json.main.main() → None¶

Overall control flow of the application.

Notes

This function is the entry point for the application, so only really contains overall control flow logic. The actual work is done in the other modules.

Module contents¶

Converts a PGN file to a JSON file.

pgn2json

Navigation

Related Topics

  • Documentation overview
©2024, William Fayers. | Powered by Sphinx 8.0.2 & Alabaster 1.0.0 | Page source