noseOfYeti


NamenoseOfYeti JSON
Version 2.4.9 PyPI version JSON
download
home_pageNone
SummaryA custom python codec that provides an RSpec style dsl for python
upload_time2024-04-27 22:32:13
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords bdd rspec spec
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Nose of Yeti
============

This is a project creates a custom Python ``codec`` that lets the developer write
their tests using an `RSpec <https://rspec.info>`_ inspired DSL (i.e. ``describe``
and ``it`` blocks).

It uses the fact that python allows the registration of a
`codec <http://docs.python.org/library/codecs.html>`_ that can be used
to read in source code and modify it at import time.

NoseOfYeti uses this technique to find files with a particular coding declaration
on the first line of a file to turn the rspec inspired DSL into ordinary python
that is then executed as if it were written like that in the first place.

The original idea comes from `@fmeyer <https://github.com/fmeyer>`_ who wrote this
`blog post <https://web.archive.org/web/20120405004819/http://fmeyer.org/en/writing-a-DSL-with-python.html>`_
and a simple `proof of concept <https://github.com/fmeyer/pydsl>`_ before it was
picked up and worked on by `@hltbra <https://github.com/hltbra>`_
in `this repo <https://github.com/fmeyer/yeti>`_.

`@delfick <https://github.com/delfick>`_ discovered this work in 2010 and over the
following decade plus has improved on the concept, giving it more features and
integration with python tooling.

The documentation can be found at http://noseofyeti.readthedocs.io and the code
over at https://github.com/delfick/nose-of-yeti.

Updating nose-of-yeti version
-----------------------------

It is recommended any .pyc files are removed when NoseOfYeti is upgraded.

The Python interpreter skips the translation process if it
sees a .pyc file (unless the .py file has changed since the .pyc file was
created). This means that any changes in the translation process won't apply
until either the .pyc files are removed or all the .py files have been changed.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "noseOfYeti",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "bdd, rspec, spec",
    "author": null,
    "author_email": "Stephen Moore <stephen@delfick.com>",
    "download_url": "https://files.pythonhosted.org/packages/1a/bd/683696c7c03df1dc94fb47739bfbc96a23f8bfac089dbfebe6c38fcbac67/noseofyeti-2.4.9.tar.gz",
    "platform": null,
    "description": "Nose of Yeti\n============\n\nThis is a project creates a custom Python ``codec`` that lets the developer write\ntheir tests using an `RSpec <https://rspec.info>`_ inspired DSL (i.e. ``describe``\nand ``it`` blocks).\n\nIt uses the fact that python allows the registration of a\n`codec <http://docs.python.org/library/codecs.html>`_ that can be used\nto read in source code and modify it at import time.\n\nNoseOfYeti uses this technique to find files with a particular coding declaration\non the first line of a file to turn the rspec inspired DSL into ordinary python\nthat is then executed as if it were written like that in the first place.\n\nThe original idea comes from `@fmeyer <https://github.com/fmeyer>`_ who wrote this\n`blog post <https://web.archive.org/web/20120405004819/http://fmeyer.org/en/writing-a-DSL-with-python.html>`_\nand a simple `proof of concept <https://github.com/fmeyer/pydsl>`_ before it was\npicked up and worked on by `@hltbra <https://github.com/hltbra>`_\nin `this repo <https://github.com/fmeyer/yeti>`_.\n\n`@delfick <https://github.com/delfick>`_ discovered this work in 2010 and over the\nfollowing decade plus has improved on the concept, giving it more features and\nintegration with python tooling.\n\nThe documentation can be found at http://noseofyeti.readthedocs.io and the code\nover at https://github.com/delfick/nose-of-yeti.\n\nUpdating nose-of-yeti version\n-----------------------------\n\nIt is recommended any .pyc files are removed when NoseOfYeti is upgraded.\n\nThe Python interpreter skips the translation process if it\nsees a .pyc file (unless the .py file has changed since the .pyc file was\ncreated). This means that any changes in the translation process won't apply\nuntil either the .pyc files are removed or all the .py files have been changed.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A custom python codec that provides an RSpec style dsl for python",
    "version": "2.4.9",
    "project_urls": {
        "Homepage": "https://github.com/delfick/nose-of-yeti"
    },
    "split_keywords": [
        "bdd",
        " rspec",
        " spec"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f49f18a53579faf467f81da9af7c92fedc0dbef432c9cd3eebe1283869194cf",
                "md5": "eb16aefb1821c131b3cfeea86bc27f41",
                "sha256": "dfdc952253c5368dd3f307b4a400642f1e18368c10b5417295945dded5f31c30"
            },
            "downloads": -1,
            "filename": "noseofyeti-2.4.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eb16aefb1821c131b3cfeea86bc27f41",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 27574,
            "upload_time": "2024-04-27T22:32:10",
            "upload_time_iso_8601": "2024-04-27T22:32:10.776322Z",
            "url": "https://files.pythonhosted.org/packages/0f/49/f18a53579faf467f81da9af7c92fedc0dbef432c9cd3eebe1283869194cf/noseofyeti-2.4.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1abd683696c7c03df1dc94fb47739bfbc96a23f8bfac089dbfebe6c38fcbac67",
                "md5": "6499eec96e54ffc83c35d4f82047ef27",
                "sha256": "74a5a695a48f18595723a3d61f71c480168f63b45adb7b9e390b6ee00f552624"
            },
            "downloads": -1,
            "filename": "noseofyeti-2.4.9.tar.gz",
            "has_sig": false,
            "md5_digest": "6499eec96e54ffc83c35d4f82047ef27",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 35853,
            "upload_time": "2024-04-27T22:32:13",
            "upload_time_iso_8601": "2024-04-27T22:32:13.160884Z",
            "url": "https://files.pythonhosted.org/packages/1a/bd/683696c7c03df1dc94fb47739bfbc96a23f8bfac089dbfebe6c38fcbac67/noseofyeti-2.4.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-27 22:32:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "delfick",
    "github_project": "nose-of-yeti",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "noseofyeti"
}
        
Elapsed time: 4.34780s