Skip to main content

This is a project creates a custom Python codec that lets the developer write their tests using an RSpec inspired DSL (i.e. describe and it blocks).

It uses the fact that python allows the registration of a codec 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 who wrote this blog post and a simple proof of concept before it was picked up and worked on by @hltbra in this repo.

@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.

Metadata

Release files for noseOfYeti 2.4.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noseOfYeti 2.4.9
File Size Uploaded
noseofyeti-2.4.9.tar.gz 35.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for noseOfYeti 2.4.9
File Interpreter ABI Platform
noseofyeti-2.4.9-py3-none-any.whl Python 3 none any Details

Total release size: 63.4 kB

Release files / noseofyeti-2.4.9.tar.gz

Download URL noseofyeti-2.4.9.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
74a5a695a48f18595723a3d61f71c480168f63b45adb7b9e390b6ee00f552624
BLAKE2b-256 checksum
How to use checksums
1abd683696c7c03df1dc94fb47739bfbc96a23f8bfac089dbfebe6c38fcbac67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.19

Release files / noseofyeti-2.4.9-py3-none-any.whl

Download URL noseofyeti-2.4.9-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfdc952253c5368dd3f307b4a400642f1e18368c10b5417295945dded5f31c30
BLAKE2b-256 checksum
How to use checksums
0f49f18a53579faf467f81da9af7c92fedc0dbef432c9cd3eebe1283869194cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.19

Release history Release notifications | RSS feed

This release

2.4.9 This release

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

1 release file

2.4.1

1 release file

2.4.0

1 release file

2.3.1

1 release file

2.3.0

1 release file

2.2.0

1 release file

2.1.0

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.3

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.9

1 release file

1.4.8

1 release file

1.4.7

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page