semvec/pypi-packages huggingface dataset:
difdyf 1.14112
A  module for diff geo
License: MIT

# difdyf


calculate differential geometry content


`difdyf` 是一个计算不同度规场，坐标系下各种张量的库

更多功能正在添加中


### 使用方式

```
import difdyf as df
g,symb=df.sphereMetric()## 生成球坐标度规场g，symb=【'r','theta','phi'】
T=df.getChristSymb(g,symb)## 生成球坐标下克氏算符
R=df.getRiemannCurvature(T,symb)## 生成球坐标表示的R3空间黎曼曲率张量，和正交坐标表示的R3曲率一样，为0
##输入度规场g可任意指定，需要是一个2维字符串值的字典，例如g['r']['r']='1'
```
### 内部函数
```
df.sphereMetric()## 生成球坐标度规场g，symb=【'r','theta','phi'】
df.orthMetric(n)## 生成n维正交度规场g，symb=【'x0','x1',... ,'xn'】
df.getChristSymb(g,symb)## 生成度规场下的克氏算符
df.getRiemannCurvature(T,symb)## 生成黎曼曲率
df.getRici(T,symb)##里奇张量
df.coord2MetricFromOrth(n,coordList,varlist)## 生成不同坐标系的度规场
                                               n为空间维度（整数）
                                               coordList为坐标表示式 i.e.['r*cos(theta)*cos(phi)','r*cos(theta)*sin(phi)','r*sin(theta)']
                                                    需要是一个n维列表，列表每一个字符串依次代表x0，x1,..., xn在新坐标系中的表示式
                                               varlist为新坐标名字 i.e. ['r','theta','phi']
df.plotFromCoord(coord,symb,ranges)# 生成指定坐标系（3维）在正交坐标下的象
                                    coord=['r*cos(theta)*cos(phi)','r*cos(theta)*sin(phi)','r*sin(theta)']
                                    var=['r','theta','phi']
                                    ranges：坐标范围
                       i.e. df.plotFromCoord(coord,var,[[1],np.linspace(-1.57,1.57,40),np.linspace(0,6.28,40)])




```

### 安装

```
$ pip install difdyf
```
setup-py-cli 2.1.0
Simple module to generate setup.py template.
License: MIT
Keywords: generator,setup,distribution,devtools

# SetupPY 

SetupPY is the utility to generate a simple *setup.py* file (template) with useful comments and links.

## Features
Generates *setup.py* file with the following content:
* automatically fulfilled package name based on the name of the current directory.
* some basic fields to fulfill.
* clarifying comments and links to useful resources.
* automatically inserted description from *README.md* or an empty string if there is no *README.md*.



## Installation
```bash
sudo pip install setup-py-cli
```

## Usage
To generate *setup.py* file just type in the terminal.
```bash
setup-py
```
Now *setup.py* file should occur in the current directory. 

## Generated setup.py file
```python
from distutils.core import setup
from setuptools import find_packages
import os

# User-friendly description from README.md
current_directory = os.path.dirname(os.path.abspath(__file__))
try:
    with open(os.path.join(current_directory, 'README.md'), encoding='utf-8') as f:
        long_description = f.read()
except Exception:
    long_description = ''

setup(
	# Name of the package 
	name='setup_py',
	# Packages to include into the distribution 
	packages=find_packages(','),
	# Start with a small number and increase it with 
	# every change you make https://semver.org 
	version='1.0.0',
	# Chose a license from here: https: // 
	# help.github.com / articles / licensing - a - 
	# repository. For example: MIT 
	license='',
	# Short description of your library 
	description='',
	# Long description of your library 
	long_description=long_description,
	long_description_content_type='text/markdown',
	# Your name 
	author='',
	# Your email 
	author_email='',
	# Either the link to your github or to your website 
	url='',
	# Link from which the project can be downloaded 
	download_url='',
	# List of keywords 
	keywords=[],
	# List of packages to install with this one 
	install_requires=[],
	# https://pypi.org/classifiers/ 
	classifiers=[]
)

```

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags). 

## Authors

* **Ilya Vouk** - *Initial work* - [voilalex](https://github.com/VoIlAlex)

See also the list of [contributors](https://github.com/VoIlAlex/setup-py/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
snapcastr 0.2.1
webinterface to control a snapcast server
License: MIT
Requires Python: >=3.7,<4.0

# snapcastr

## introduction

Snapcastr is a webinterface to control a [snapcast](https://github.com/badaix/snapcast/)
server.

It is written in python with flask, wtforms and python-snapcast

- [python 3](https://www.python.org/)
- [flask](http://flask.pocoo.org/)
- [wtforms](https://wtforms.readthedocs.io)
- [python-snapcast]( https://github.com/happyleavesaoc/python-snapcast)

install from [source](https://github.com/xkonni/snapcastr#install-from-source) or from
[pypi](https://github.com/xkonni/snapcastr#install-from-pypi)


## install from source

### requirements

use your package manager, e.g. apt or pacman and install

- python3
- poetry

### get source

```bash
$ git clone https://github.com/xkonni/snapcastr
```

### install locally

```bash
$ cd snapcastr
$ poetry install
```

### install system-wide

```bash
$ cd snapcastr
$ poetry build
$ sudo pip3 install dist/snapcastr-0.1.0.tar.gz
```


## install from pypi

### install locally

```bash
$ pip install snapcastr
```

### install system-wide

```bash
$ sudo pip install snapcastr
```

## run

### show help

```bash
$ snapcastrd -h

usage: snapcastrd [-h] [--host host] [--port port] [--sc_host sc_host] [-c CONFIG] [-d]

snapcastr

optional arguments:
  -h, --help            show this help message and exit
  --host host           webinterface host
  --port port, -p port  webinterface port
  --sc_host sc_host, -s sc_host
                        snapcast host
  -c CONFIG, --config CONFIG
                        config file
  -d, --debug           debug mode
```

### run the application

- when installed locally

```bash
$ cd snapcastr
$ poetry run snapcastrd --sc_host=address_of_your_snapserver
```

- when installed system-wide

```bash
$ snapcastrd --sc_host=address_of_your_snapserver
```

The `address_of_your_snapserver` might be 127.0.0.1 or localhost, if you are running
snapcastr on the same machine as your snapserver. Snapcastr doesn't need to run with super
user privileges (so you don't need to run it with `sudo`).

### config
The last used configuration is saved in `$HOME/.config/snapcastr.json` and can also be
edited.


## access webinterface

When the application is running, open [http://localhost:5000](http://localhost:5000) in
your browser.


## features

### main screen
* View general status, number of clients, streams, groups of clients
![main](https://github.com/xkonni/snapcastr/blob/master/doc/main.png)

### clients
* View connected clients and change their volume
![clients](https://github.com/xkonni/snapcastr/blob/master/doc/clients.png)

### groups
* View the groups and the stream being played by each group
![groups](https://github.com/xkonni/snapcastr/blob/master/doc/groups.png)

### streams
* View the status of the various streams available
![streams](https://github.com/xkonni/snapcastr/blob/master/doc/streams.png)


## roadmap, in no particular order

### clients
* rename
* remove old

### groups
* rename
* remove
* add

### streams
* rename