semvec/pypi-packages huggingface dataset:
jupytex 0.0.3
Jupyter execution of TeX code environments.
Requires Python: >=3.6

# JupyTeX
Provides Jupyter-backed execution of LaTeX `code` environments, and embeds the results. Similar in concept to [PythonTex](https://github.com/gpoore/PythonTex), but focuses on code _execution_, and avoids any language specific features.

## How to use
1. Install JupyTeX with `pip install git+https://github.com/agoose77/jupytex.git#egg=jupytex`
2. Run `jupytex install` in LaTeX project directory (or provide an install directory with `-d DIR`) to create the necessary `.latexmkrc` and `jupytex.sty` files
3. Add `\usepackage{jupytex}` to the document header
4. Declare code environments with
    ```latex
    \begin{code}{language}[opts]
        Some source code
    \end{code}
    ```
    See the configuration section for valid options in `opts`.
5. Run `jupytex make` (which is a pass-through to `latexmk --shell-escape`) to invoke `latexmk`.
### Example Python Script
```latex
\begin{code}{python}[kernel=python3]
    print("$x + y = z$")
\end{code}
```
## Uninstallation
Run `jupytex uninstall` in LaTeX project directory (or provide an install directory with `-d DIR`) to remove the installed `.latexmkrc` and `jupytex.sty` files
## Cleaning
Run `jupytex clean` (which is a pass-through to `latexmk -c` or `latexmk -C`) to remove both LaTeX and JupyTex-related run files.
## JupyTeX flow control
1. `jupytex.sty` declares dependency upon `\jobname.timestamp`
1. `jupytex.sty` macro writes code blocks to numbered `.code` files and attempts to include results
1. Code 'blocks' are written to a `\jobname.blocks` csv file
1. `jupytex hash` is invoked to calculate the md5 hash for all of the blocks, which is written to `\jobname.hash`. In future this should only be performed per-kernel-session.
1. If `\jobname.hash` has been modified, `jupytex execute` is invoked for the corresponding job, the code blocks executed, and results written to `.result` files, and errors to `.traceback` files. Code blocks which do not write to stdout write an empty results file. `\jobname.timestamp` is updated with new timestamp.
1. `latexmk` performs a new pass for the dependencies upon `\jobname.timestamp`

## Configuration
* Each code block must be given a language. 
* One can specify the Jupyter kernel name with a `kernel` key parameter, which will be used instead of the language if present. One can also access an existing kernel, by passing the name of a connection file. 
* A `session` key parameter may be passed to create a new kernel associated with the kernel-session pair.  If the `kernel` parameter is set to a connection file, then *this will create a new client to the same kernel*.
gitsearch-cli 1.0.0
Search git from the command line

# Git Search
Simple command line to search github.

## Introduction
`git-search` is a simple command line tool that allows you to search for users and repositories in [GitHub](http://www.github.com).

## Installation
To install git search you can use `pip` with the following command;

```shell
pip3 install gitsearch-cli
```

## Usage
By default the search will be scoped to look in repositories, however you can change the scope to look specifically for users.

### Searching for Users
```shell
git-search --scope users owen rumney

or

git-search --scope users owenrumney
```

This will yield the following results;

| username   | url                           |
|:-----------|:------------------------------|
| owenrumney | https://github.com/owenrumney |

### Searching for repositories
When searching for repositories you can create a general search by keyword or focus the search by including the language and/or user.

```shell
git-search -l scala -u apache spark
```
This will give the following result;

| name          | owner   | url                                     |
|:--------------|:--------|:----------------------------------------|
| fluo-muchos   | apache  | https://github.com/apache/fluo-muchos   |
| predictionio  | apache  | https://github.com/apache/predictionio  |
| spark         | apache  | https://github.com/apache/spark         |
| spark-website | apache  | https://github.com/apache/spark-website |

If you want to only return results where the keyword is in the name, you can use the `--nameonly` flag

```shell
git-search -l scala -u apache spark --nameonly
```
This will give the following result;

| name          | owner   | url                                     |
|:--------------|:--------|:----------------------------------------|
| spark         | apache  | https://github.com/apache/spark         |
| spark-website | apache  | https://github.com/apache/spark-website |

### Date based criteria
You can search for repositories based on created or updated dates using natural date periods, all of the below examples are acceptable (not limited to this). If you use a date period that isn't acceptable, the search will use the beginning of time (1979-30-10)

```shell
git-search -l=scala --updated="last week" # return 30 scala projects updated in the last week

git-search -l=python --created="yesterday" # return 30 scala projects created yesterday

git-search gitsearch -l=python --created "3 days ago"  # return 30 scala projects created yesterday
```

## TODO
- [X] Add date based options for search criteria
- [ ] Add tests
- [ ] Refactor the code to be more pythonic