studfile


Namestudfile JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/jfcarter2358/stud
SummaryA simplified tool for making easy-to-use build scripts
upload_time2023-04-25 16:40:02
maintainer
docs_urlNone
authorJohn Carter
requires_python>=3.8,<4.0
licenseMIT
keywords build studfile
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Stud

## Example Studfile.yaml

```yaml
.variables:
  all_services:
    - foo
    - bar
    - baz
build-docker: 
  help: "Build and optionally push docker images"
  options:
    - name: -s,--services
      default: all
      nargs: '+'
      required: true
    - name: -p,--push
      action: store_true
  cmd: |
    if 'all' in services:
      services = all_services

    for service in services:
      docker build -t {service} -f src/{service}/Dockerfile .
      if push:
        docker push {service}
build-local: 
  help: "Build local versions of services"
  options:
    - name: -s,--services
      default: all
      nargs: '+'
      required: true
  cmd: |
    # notice that the all_services variable is available 
    if 'all' in services:
      services = all_services

    for service in services:
      # do build things here
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jfcarter2358/stud",
    "name": "studfile",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "build,studfile",
    "author": "John Carter",
    "author_email": "jfcarter2358@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f5/06/8e3f650a14d5f127491bbf97217d405a6a233f23e0f6107c24fed7d92288/studfile-0.1.2.tar.gz",
    "platform": null,
    "description": "# Stud\n\n## Example Studfile.yaml\n\n```yaml\n.variables:\n  all_services:\n    - foo\n    - bar\n    - baz\nbuild-docker: \n  help: \"Build and optionally push docker images\"\n  options:\n    - name: -s,--services\n      default: all\n      nargs: '+'\n      required: true\n    - name: -p,--push\n      action: store_true\n  cmd: |\n    if 'all' in services:\n      services = all_services\n\n    for service in services:\n      docker build -t {service} -f src/{service}/Dockerfile .\n      if push:\n        docker push {service}\nbuild-local: \n  help: \"Build local versions of services\"\n  options:\n    - name: -s,--services\n      default: all\n      nargs: '+'\n      required: true\n  cmd: |\n    # notice that the all_services variable is available \n    if 'all' in services:\n      services = all_services\n\n    for service in services:\n      # do build things here\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simplified tool for making easy-to-use build scripts",
    "version": "0.1.2",
    "split_keywords": [
        "build",
        "studfile"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e378994b4cd9a2b28d3ebe89ba4601fdc11a0cafd4afd29403bf580c3404b376",
                "md5": "2864398b2fbdd22034b5d24543634535",
                "sha256": "ec243f99999d2ea0edd1871ee8f063581c3c4878abfdded1bc13f35690800328"
            },
            "downloads": -1,
            "filename": "studfile-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2864398b2fbdd22034b5d24543634535",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 3414,
            "upload_time": "2023-04-25T16:39:55",
            "upload_time_iso_8601": "2023-04-25T16:39:55.315982Z",
            "url": "https://files.pythonhosted.org/packages/e3/78/994b4cd9a2b28d3ebe89ba4601fdc11a0cafd4afd29403bf580c3404b376/studfile-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5068e3f650a14d5f127491bbf97217d405a6a233f23e0f6107c24fed7d92288",
                "md5": "5bbb766945f0b4835f7fc39df7936c00",
                "sha256": "ae04001a6ba9ee59b57988d1ce1aba427da546f077f81de04d28511ab897bde5"
            },
            "downloads": -1,
            "filename": "studfile-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5bbb766945f0b4835f7fc39df7936c00",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 2798,
            "upload_time": "2023-04-25T16:40:02",
            "upload_time_iso_8601": "2023-04-25T16:40:02.420801Z",
            "url": "https://files.pythonhosted.org/packages/f5/06/8e3f650a14d5f127491bbf97217d405a6a233f23e0f6107c24fed7d92288/studfile-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-25 16:40:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "jfcarter2358",
    "github_project": "stud",
    "lcname": "studfile"
}
        
Elapsed time: 1.36962s