semvec/pypi-packages huggingface dataset:
jsonio 0.1.4
JSON Helpers
License: MIT
Requires Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4
Keywords: jsonio,json,utils

[![CircleCI](https://circleci.com/gh/ylathouris/jsonio.svg?style=shield)](https://circleci.com/gh/ylathouris/jsonio)  ![Coverage](coverage.svg)

---

# jsonio

The `jsonio` package provides utility functions for reading and writing JSON data. It supports the following features:

* [Easy Read/Write](#readwrite)
* [Works Just Like The `json` Library](#json)
* [Supports `datetime/date` Objects](#datetime)
* [Supports `dataclasses` (Python 3.7+)](#dataclass)
* [Preserve Ordering](#ordereddict)

</br>

## Installation

```
pip install jsonio
```

</br>

### <a name="readwrite"></a>Easy Read/Write

**Read**

```python
import jsonio

data = jsonio.read('/foo/bar.json')
```

**Write**

```python
import jsonio

jsonio.write({'foo': 'bar'}, '/foo/bar.json')
```

</br>


### <a name="json"></a>Works Just Like The `json` Library

**Load**

```python
import jsonio

with open('/foo/bar.json', 'r') as jsonfile:
    data = jsonio.load(jsonfile)
```

**Loads**

```python
import jsonio

data = jsonio.loads('{"foo": "bar"}')
```

**Dump**

```python
import jsonio

with open('/foo/bar.json', 'w') as jsonfile:
    jsonio.dump({'foo': 'bar'}, jsonfile)
```

**Dumps**

```python
import jsonio

data = {
    'apple': 'crumble',
    'banana': 'split',
}

# Use standard options.
text = jsonio.dumps(data, jsonfile, indent=2, sort_keys=True)
```

</br>


### <a name="datetime"></a>Supports `date/datetime` Objects


```python
import datetime
import jsonio

before = {
    'date': datetime.date.today(),
    'timestamp': datetime.datetime.now(),
}

data = jsonio.dumps(before)
after = jsonio.loads(data)
assert before == after  # True
```

</br>


### <a name="dataclasses"></a>Supports `dataclasses` (Python 3.7+)

```python
from dataclasses import dataclass
import jsonio


@dataclass
class Fruit:
    apple: str
    banana: str


before = Fruit(apple='Fuji', banana='Lady Finger')

data = jsonio.dumps(before)
after = jsonio.loads(data)
assert before == after  # True
```

</br>

### <a name="ordereddict"></a>Preserve Ordering - i.e. `OrderedDict` Objects

```python
import collections
import jsonio

before = collections.OrderedDict([('banana', 'split'), ('apple', 'crumble')])

text = jsonio.dumps(before, indent=2)
after = jsonio.loads(text, ordered=True)
assert before == after  # True
```
template-python-projects 1.5
Template Project in Python
License: MIT
Keywords: projects,python

# [template-python-projects](https://github.org/djclavero/template-python-projects) 

Template Project for Python using git 

by djclavero@yahoo.com 


## Installation

### Requirements
* Linux/Windows
* Python 2.7 and up

`$ pip install template-python-projects`

## Usage

```python
from video.formats import mp4play

# Call function 
mp4play.test_mp4play()
```

## Create distribution 
```
# Check the package first
$ python setup.py --help-commands
$ python setup.py check

# Create distribution
$ python setup.py sdist
```

## Upload release 
```
$ twine upload dist/*   # pip install twine (if required)
```

### .pypirc file 
```
[pypi]
repository = https://upload.pypi.org/legacy/
username   = djclavero
```

## Control of Versions (Git)
Create local repository:
```
# Create local repository
$ git init 

# Create remote repository 'template-python-projects' in GitHub
```

Configuration:
```
$ git config --global user.name 'djclavero'
$ git config --global user.email djclavero@yahoo.com

# Add remote repository
$ git remote add origin https://github.org/djclavero/template-python-projects 

# Set .gitignore file
$ git config --global core.excludesFile C:\Users\David\.gitignore
```

Upload to remote repository:
```
# Add files and commit
$ git status
$ git add .  
$ git commit -m "init commit"

# Upload to repository
$ git push origin master 
```

### .gitignore file 
```
# ignore bytecode python files
*.pyc
# ignore distribution files
dist/
*.egg-info/
# ignore spyder project files
.spyproject/
```


## License
[MIT](https://choosealicense.com/licenses/mit/)
jinjalint 0.5
A linter for Jinja-like templates
License: MIT


# jinjalint

A prototype linter which checks the indentation and the correctness of
[Jinja][jinja]-like/HTML templates. Can [fix issues][django-commit].

It works with [Django’s templates][djangotemplates] too, it should
work with [Twig](https://twig.symfony.com/) and similar template languages.
It should work fine with any kind of HTML 4 and 5, hovewer XHTML is not
supported.

This linter parses both HTML and Jinja tags and will report mismatched
tags and indentation errors:

```html+jinja
<div>
    {% if something %}
    </div>
{% endif %}
```

```html+jinja
<div>
    <span>
    </div>
</span>
```

```html+jinja
  {% if something %}
 <div> not indented properly
      </div>
   {% endif %}
```

```html+jinja
{% if something %}<a href="somewhere">{% endif %}
    <p>something</p>
{% if not something %}</a>{% endif %}
```

## Usage

You need Python 3. Jinjalint doesn’t work with Python 2. Install it with
`pip install jinjalint` (or `pip3 install jinjalint` depending on how `pip` is
called on your system), then run it with:

```sh
$ jinjalint template-directory/
```

…or:

```sh
$ jinjalint some-file.html some-other-file.html
```

This is a work in progress. Feel free to contribute :upside_down_face:

[jinja]: http://jinja.pocoo.org/docs/2.9/
[django-commit]: https://github.com/django/djangoproject.com/commit/14a964d626196c857809d9b3b492ff4cfa4b3f40
[djangotemplates]: https://docs.djangoproject.com/en/1.11/ref/templates/language/
django-debug-helper 1.1.6
Django debug error related exception search on Google/ Stack Overflow.
License: MIT

# django-debug-helper
Django debug error related exception search on Google/ Stack Overflow.

### Installation
```
$ pip install django-debug-helper
```

### Setting it up
Add the custom middleware to your **MIDDLEWARE** in the ```settings.py```.
```
if DEBUG:
	MIDDLEWARE += ('django-debug-helper.debug.ErrorSearchMiddleware', )
```
Next time you get an error in your applications, you will see an external link to a custom **google/ stackoverflow** search as you defined.


By default it set to **google** search, but if you want to use **stackoverflow** search instead of **google** then add this into your ```settings.py```
```
DJANGO_TRACE_SEARCH_SITE = "stackoverflow"
```