<commit_before>Rosetta SIP Factory
===================
Generate Rosetta-compliant Submission Information Packages

Background
----------
The Rosetta digital preservation application provides multiple different avenues for depositing digital content, including a web interface deposit, csv and METS XML. The METS XML process lends itself well to processing large numbers of records, and Ex Libris (the developers of Rosetta) provide a Java-based SDK for constructing deposit mechanisms (available at https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects).  
The Rosetta SIP Factory provides functionality for creating METS XML deposits for the Rosetta application, but it is built with Python rather than Java. While it does not offer the full range of options that are available with the Java-based deposit SDK, it aims to provide a quick and easy mechanism for common use cases. It also aims to appeal to people who prefer working with Python rather than Java.


Usage
-----
To use as part of a different program::
    python
    from rosetta_sip_factory import sip_builder

    sip_builder.build_sip(
        ie_dmd_dict=None,
        pres_master_dir=None,
        modified_master_dir=None,
        access_derivative_dir=None,
        cms=None,
        generalIECharacteristics=None,
        objectIdentifier=None,
        accessRightsPolicy=None,
        eventList=None,
        input_dir=None,<commit_msg>more minor changes to readme.rst<commit_after>Rosetta SIP Factory
===================
Generate Rosetta-compliant Submission Information Packages

Background
----------
The Rosetta digital preservation application provides multiple different avenues for depositing digital content, including a web interface deposit, csv and METS XML. The METS XML process lends itself well to processing large numbers of records, and Ex Libris (the developers of Rosetta) provide a Java-based SDK for constructing deposit mechanisms (available at https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects).  
The Rosetta SIP Factory provides functionality for creating METS XML deposits for the Rosetta application, but it is built with Python rather than Java. While it does not offer the full range of options that are available with the Java-based deposit SDK, it aims to provide a quick and easy mechanism for common use cases. It also aims to appeal to people who prefer working with Python rather than Java.


Usage
-----

To use as part of a different program::
    python
    from rosetta_sip_factory import sip_builder

    sip_builder.build_sip(
        ie_dmd_dict=None,
        pres_master_dir=None,
        modified_master_dir=None,
        access_derivative_dir=None,
        cms=None,
        generalIECharacteristics=None,
        objectIdentifier=None,
        accessRightsPolicy=None,
        eventList=None,
        input_dir=None,
{'fraction_non_alphanumeric': 0.06148981026001406, 'fraction_numerical': 0.0, 'mean_word_length': 3.8666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2515164', 'n_tokens_mistral': 724, 'n_tokens_neox': 686, 'n_words': 317}