semvec/pypi-packages huggingface dataset:
simpleanalytics 1.0.7
Simple Analytics template tags for Django

<a href="https://www.simpleanalytics.com/?ref=github.com/simpleanalytics/django-plugin">
  <img src="https://assets.simpleanalytics.com/images/logos/logo-github-readme.png" alt="Simple Analytics logo" align="right" height="62" />
</a>

# Django Plugin

Want privacy friendly analytics for Django? You're at the right place.

> You need an account [on Simple Analytics](https://www.simpleanalytics.com) to see your stats collected by this plugin.

## Installing it

Install the plugin:

`pip install simpleanalytics`

## Using it

Add the package to the `INSTALLED_APPS`:
```python
INSTALLED_APPS = [
   ...,
   simpleanalytics,
]
```

Next use the `templatetag` in your template:

```
<!DOCTYPE html>
{% load static simpleanalytics_tags %}
<html>
	<head>
		<meta charset="utf-8">
		<title>{% block page_title %}{{ site.name }}{% endblock %}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    ...
    {% simpleanalytics_sync %}
    ...
    </head>
</html>
```

This will translate to roughly this:
```
<!DOCTYPE html>

<html>
	<head>
		<meta charset="utf-8">
		<title>brwnppr.com</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    ...
    <script type="text/javascript" src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
    ...
    </head>
</html>
```

## More

This app has four templatetags:

- simpleanalytics_sync
- simpleanalytics_async

`simpleanalytics_sync` converts to a plain `<script>` tag without the `async`
keyword.

`simpleanalytics_async` converts to a plain `<script>` tag with the `async`
keyword.

## Compatibility

Tested on Django 2.2, but we think this should run on any recent Django 
deployment. Please raise an issue when it doesn't.
jsonmaster 1.0.1
A Python package for making your life of working with json's, easier

# JSONMaster

**JSONMaster** is a Python package designed to provide a collection of utilities for working with JSON data.
Whatever you are doing with jsons, **JSONMaster**,aims to simplify your workflow and enhance your productivity.

## Features

- **Easy Parsing**: Effortlessly parse JSON strings into Python objects.
- **Transformation**: Transform JSON structures with intuitive functions to namespaces or dataclasses.
- **File I/O**: Simplify reading from and writing to JSON files.

## Installation

You can install BetterJSON via pip:

```bash
pip install jsonmaster
```

## Usage

### Reading a json file

Read a json from a file path
```python
from jsonmaster import open_json, JsonFile

# easy option
with open_json("jsonfile.json") as jf:
    print(jf.dict())

# configurable option
with JsonFile(file_path="jsonfile.json", sort_keys=True, immediate_flush=True, prettify=True) as jf:
    print(jf.dict())
```


### Using regular json package

All regular [json package](https://docs.python.org/3/library/json.html) capabilities are imported inside jsonmaster

```python
import jsonmaster

data: str = '{"name": "Alice", "age": 30}'

d: dict = jsonmaster.loads(data)

print(jsonmaster.dumps(d))

# ...
```

### Accessing json as a namespace

Use your jsons as an actual python class
```python
from jsonmaster import open_json, JsonNamespace

# jsonfile.json contains {"key": "value"}
with open_json("jsonfile.json") as jf:
    namespace: JsonNamespace = jf.namespace()
    
    # access the key 
    print(namespace.key)
    
    # set will not affect the original file

```

### File I/O

Read and write JSON files easily:

```python
from jsonmaster import open_json

# jsonfile.json contains {"key": "value"}
with open_json("jsonfile.json") as jf:
    # Adding a new key to the json file
    jf["new_key"] = "new_value"
    
    # Accessing an existing key in the json file
    print(jf["old_key"])
    print(jf["new_key"])

```


### Dataclasses

Load your json file into your **pydantic** BaseModel easily

```python
from jsonmaster import open_json
from pydantic import BaseModel


class MyModel(BaseModel):
    my_model_str_key: str
    my_model_int_key: int


with open_json('jsonfile.json') as jf:
    m: MyModel = jf.dataclass(MyModel)
    print(m.my_model_str_key)
```

## Contributing

We welcome contributions! Please read our [Contributing Guidelines](CONTRIBUTING.md) for details on how to get started.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

## Author

Created by [Ethan Lerner](https://github.com/yourusername).
playplaysyn 0.0.2
This package provides a convenient interface (with runtime logic included) for accessing to PlayPlaySyn Ltd.'s AI-Character service. Hardware developers will only need to register proper interaction events(audio playing, emotion switch, etc) and the package will handle the rest.

# PLAYPLAYSYN 

This package provides a convenient interface (with runtime logic included) for accessing to PlayPlaySyn Ltd.'s AI-Character service. Hardware developers will only need to register proper interaction events(audio playing, emotion switch, etc) and the package will handle the rest.

## Install
```pip install playplaysyn```

## (For package developers) Build and upload
build cmd：
 ```python setup.py sdist bdist_wheel```

upload cmd:
 ```twine upload dist/*```

If fail：
 - 不要用powershell，可能複製token錯誤，用cmd
 - 大概率是"file exist", 因為忘了改版本號