semvec/pypi-packages huggingface dataset:
checkplz 0.0.5
A python package for checks and assertions of data and objects
Requires Python: >=3.6

# CheckPlz

This package provides for inline checks (i.e. __checkers__) which assure that objects can meet a complicated set of
assumptions. Special handling of raised exceptions allow the collection of multiple exceptions to these assertions
before interrupting the process. You can think of this as a close relative to unit testing, where you get
the benefits of a robust set of checks which can report errors independent of one another, with the convenience
of single method type checking.

If exceptions are found, they are re-raised with a complete list of all the exceptions identified during the
check. If no exceptions are found, the checker will return the original value that was passed to it.

# Example

```python
from checkplz import sequence
# example 1
x = sequence([1,2,3])
# example 2
y = sequence([1,2,5])
``` 

In the first example, the sequence matches the assumptions of the checker. Because no exceptions are identified,
the object provider (`[1,2,3]`) will be assigned to the object `x`. However, in the second, the sequence has a gap
which violates the assumptions of the checker. This will result in an exception being raised before the assignment to
`y` can occur.

The utility of these simple assertions can be better shown when they are used in a more complex scenario. For our next
example, let's say we're interested in taking a list of lists, and checking each of them individually for proper
sequencing.

```python
from checkplz import sequence
list_of_lists = [
    [1,2,3],
    [4,5,6],
    [7,8,9]
]
# example 3
lol = [sequence(z) for z in list_of_lists]
# example 4
min_lol = [min(sequence(z)) for z in list_of_lists]
```

Here we use the checker as part of an inline list comprehension, and you can see the utility of such concise syntax.
In example #3, we simply assign the object back to a list comprehension, in effect recreating an identical
object, using the checker as an opportunity to raise exceptions for anything that violates our assumptions. In
example #4, we wrap the checked result in an additional function, allowing us to first check the object before moving on
with an additional step that prevents us from performing the check later.
essahtmlgen 4.3
Create HTML files with embedded source code & images
Requires Python: >=3.6

Python tool for creating HTML specific layouts with source code files.
Uses CSU images as the default.
The source code is formatted with a javasript library to be 'pretty'

Here are some examples (Im on OSX):

- Create a 6 part assignment (very basic no source)


**essahtmlgen --destination ~/Desktop --name bayleaf --id 2631542 --parts 6 --assignment 1**


This will create 'Assignment1' on the desktop with 6 basic parts.


- Create a the 3 part assignment 1  with a source

A source directory contains folders which will become named parts (as well as the .html versions).
The files in each directory will be used to compose the specfic parts html file.
Java code will turn into pretty embedded source code.
Text code will turn into paragraph tags.
Pictures will be copied, linked and embedded (.png / .jpg).
There is no order right now so you may have to play around with it after but generally it follows the directory structure.

Create a source directory structured like this:

        Assignment0Files ->

            FirstPart ->

                    data.txt

                    JavaCode.java

                    screenshot.png

            SecondPart ->

                    file.txt

**essahtmlgen --destination ~/Desktop --name bayleaf --id 2631542 --parts 2 --assignment 1  --source /path/to/Assignment0Files**


This will create 'Assignment1' on the desktop with two parts: FirstPart and SecondPart.
exofrills 0.3.3
exofrills text editor

xo: the text editor without frills
==================================
You might be looking for help, but this is all I can do::

    usage: xo [-h] path

    exofrills: your text has been edited...but you are still hungry.

    positional arguments:
      path        path to file, may include colon separated line and col numbers,
                  eg 'path/to/xo.py:10:42'

    optional arguments:
      -h, --help  show this help message and exit

Someone else made a `video tutorial <http://youtu.be/bPq8fncImtQ>`_ and posted
it on YouTube within an hour of the 0.1 release.

get xo
------
Install from the cheeese shop with ``pip`` or ``easy_install``:

.. code-block:: bash

    $ pip install exofrills

.. code-block:: bash

    $ easy_install exofrills

Fork xo from `github <https://github.com/scopatz/xo>`_:

.. code-block:: bash

    $ git clone https://github.com/scopatz/xo.git


key commands
------------
:esc: get help
:ctrl + o: save file (write-out)
:ctrl + x: exit (does not save)

:meta + s: select pygments style
:ctrl + f: insert file at current position
:ctrl + y: go to line & column (yalla, let's bounce)
:ctrl + n: name completion with Jedi (if installed)

:ctrl + k: cuts the current line to the clipboard
:ctrl + u: pastes the clipboard to the current line
:ctrl + t: clears the clipboard (these spell K-U-T)

:ctrl + w: set regular expression and jump to first match
:meta + w: jump to next match of current regular expression
:ctrl + r: set substitution for regular expression and replace first match
:meta + r: replace next match of current regular expression