ninja-bear-language-java


Nameninja-bear-language-java JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/monstermichl/ninja-bear-language-java.git
SummaryJava language support for ninja-bear
upload_time2024-10-31 08:35:06
maintainerNone
docs_urlNone
authormonstermichl
requires_python>=3.10
licenseNone
keywords ninja-bear plugin language java
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ninja-bear-language-java
This [ninja-bear](https://pypi.org/project/ninja-bear) plugin adds support for the Java programming language.

```yaml
languages:
  # -------------------------------------------------------------------------
  # Property description for ninja-bear-language-java.
  #
  # language        (required): ninja-bear-language-java or java
  # package         (required): Specifies the config's package name.
  # file_naming     (optional): Specifies the file naming convention (snake |
  #                             screaming_snake | camel | pascal | kebap).
  #                             Defaults to the file-name without the extension.
  # property_naming (optional): Specifies the property naming convention (snake |
  #                             screaming_snake | camel | pascal | kebap).
  # type_naming     (optional): Specifies the naming convention for the generated
  #                             type (snake | screaming_snake | camel | pascal |
  #                             kebap). The default value is language specific.
  # indent          (optional): Specifies the amount of spaces before each
  #                             property. Defaults to 4.
  # transformers    (optional): Specifies a list of transformers (alias) to use.
  # distributors    (optional): Specifies a list of distributors (alias) to use.
  # ignore          (optional): If true, the section gets ignored.
  # -------------------------------------------------------------------------
  - language: ninja-bear-language-java
    package: com.example.testpackage
    property_naming: camel

properties:
  - type: bool
    name: myBoolean
    value: true

  - type: int
    name: myInteger
    value: 142

  - type: float
    name: myFloat
    value: 322f  # Float with float specifier. However, an additional specifier (f) is not required and will be trimmed.

  - type: float
    name: myCombinedFloat
    value: ${myInteger} * ${myFloat}  # Number and boolean combinations get evaluated during the dump process.

  - type: double
    name: myDouble
    value: 233.9

  - type: string
    name: myString
    value: Hello World
    hidden: true  # If a property should act as a helper but should not be written to the generated file, it must be marked as 'hidden'.

  - type: regex
    name: myRegex
    value: Test Reg(E|e)x
    comment: Just another RegEx.  # Variables can be described using the comment property.

  - type: string
    name: mySubstitutedString
    value: Sometimes I just want to scream ${myString}!  # To use the value of another property, simply use its name with ${}. E.g., ${myString}.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/monstermichl/ninja-bear-language-java.git",
    "name": "ninja-bear-language-java",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "ninja-bear, plugin, language, java",
    "author": "monstermichl",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/2e/61/ba3abdcbad5e1b1af57641b7b7b4ac742aca26dc977cca151367154ad19b/ninja_bear_language_java-0.1.0.tar.gz",
    "platform": null,
    "description": "# ninja-bear-language-java\nThis [ninja-bear](https://pypi.org/project/ninja-bear) plugin adds support for the Java programming language.\n\n```yaml\nlanguages:\n  # -------------------------------------------------------------------------\n  # Property description for ninja-bear-language-java.\n  #\n  # language        (required): ninja-bear-language-java or java\n  # package         (required): Specifies the config's package name.\n  # file_naming     (optional): Specifies the file naming convention (snake |\n  #                             screaming_snake | camel | pascal | kebap).\n  #                             Defaults to the file-name without the extension.\n  # property_naming (optional): Specifies the property naming convention (snake |\n  #                             screaming_snake | camel | pascal | kebap).\n  # type_naming     (optional): Specifies the naming convention for the generated\n  #                             type (snake | screaming_snake | camel | pascal |\n  #                             kebap). The default value is language specific.\n  # indent          (optional): Specifies the amount of spaces before each\n  #                             property. Defaults to 4.\n  # transformers    (optional): Specifies a list of transformers (alias) to use.\n  # distributors    (optional): Specifies a list of distributors (alias) to use.\n  # ignore          (optional): If true, the section gets ignored.\n  # -------------------------------------------------------------------------\n  - language: ninja-bear-language-java\n    package: com.example.testpackage\n    property_naming: camel\n\nproperties:\n  - type: bool\n    name: myBoolean\n    value: true\n\n  - type: int\n    name: myInteger\n    value: 142\n\n  - type: float\n    name: myFloat\n    value: 322f  # Float with float specifier. However, an additional specifier (f) is not required and will be trimmed.\n\n  - type: float\n    name: myCombinedFloat\n    value: ${myInteger} * ${myFloat}  # Number and boolean combinations get evaluated during the dump process.\n\n  - type: double\n    name: myDouble\n    value: 233.9\n\n  - type: string\n    name: myString\n    value: Hello World\n    hidden: true  # If a property should act as a helper but should not be written to the generated file, it must be marked as 'hidden'.\n\n  - type: regex\n    name: myRegex\n    value: Test Reg(E|e)x\n    comment: Just another RegEx.  # Variables can be described using the comment property.\n\n  - type: string\n    name: mySubstitutedString\n    value: Sometimes I just want to scream ${myString}!  # To use the value of another property, simply use its name with ${}. E.g., ${myString}.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Java language support for ninja-bear",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/monstermichl/ninja-bear-language-java.git"
    },
    "split_keywords": [
        "ninja-bear",
        " plugin",
        " language",
        " java"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ce014cdc1fef3e1a9c6e63046a647bb793d5b419f942d1c8f47abeb7d0fa444",
                "md5": "6321ead8d6ffd7ce893262caa866009a",
                "sha256": "3979797a19705beb549cfbf75822bacff2427cf63a156add61ca7944f785f4b3"
            },
            "downloads": -1,
            "filename": "ninja_bear_language_java-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6321ead8d6ffd7ce893262caa866009a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 5199,
            "upload_time": "2024-10-31T08:35:05",
            "upload_time_iso_8601": "2024-10-31T08:35:05.186797Z",
            "url": "https://files.pythonhosted.org/packages/1c/e0/14cdc1fef3e1a9c6e63046a647bb793d5b419f942d1c8f47abeb7d0fa444/ninja_bear_language_java-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e61ba3abdcbad5e1b1af57641b7b7b4ac742aca26dc977cca151367154ad19b",
                "md5": "3cdc4ea3cc5bbf168cba2ad098df1675",
                "sha256": "581335d56a46439d7ed58a87723fa4a0335abb76a3ee6b59af91fb882abb863a"
            },
            "downloads": -1,
            "filename": "ninja_bear_language_java-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3cdc4ea3cc5bbf168cba2ad098df1675",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 5287,
            "upload_time": "2024-10-31T08:35:06",
            "upload_time_iso_8601": "2024-10-31T08:35:06.234074Z",
            "url": "https://files.pythonhosted.org/packages/2e/61/ba3abdcbad5e1b1af57641b7b7b4ac742aca26dc977cca151367154ad19b/ninja_bear_language_java-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 08:35:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "monstermichl",
    "github_project": "ninja-bear-language-java",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "ninja-bear-language-java"
}
        
Elapsed time: 0.41327s