semvec/pypi-packages huggingface dataset:
destructipy 0.0.5
es6 style dict/object destructure for python

# destructipy
es6 style dict/object destructure for python

#### install:
```
$ pip install destructipy
```

#### usage:
```python
# must import this way...
from destructipy import _ as ds

# support dicts
abcd = {'a': 1, 'b': 2, 'c': 3, 'd': 4}

# ds.i()/ds.item() - using operator.itemgetter
# dict safe, will probably raise error if not dict
d, c, \
b, a = ds.i(abcd)
print(a, b, c, d)
```
```python
# func can be named however you wish...
from destructipy import _ as unpack

# supports objects
class ABCD:
    a = 1
    b = 2
abcd = ABCD()
abcd.c = 3
abcd.d = 4

# unpack.a()/unpack.attr() - using operator.attrgetter
# notice: dicts can also be passed but it will get their attributes, not items)
d, c, \
b, a = unpack.a(abcd)
print(a, b, c, d)
```
```python
from destructipy import _ as ds

abcd_dict = {'a': 1, 'b': 2, 'c': 3, 'd': 4}

class ABCD:
    a = 5
    b = 6
abcd_obj = ABCD()
abcd_obj.c = 7
abcd_obj.d = 8

# ds() - auto decide if it's dict or object
# good for one time or mixed dict-object/small lists
# got minor performance penalty, see benchmark below
d, c, b, a = ds(abcd_dict)
print(a, b, c, d)

d, c, b, a = ds(abcd_obj)
print(a, b, c, d)
```

#### caveats:  
* Does not work on the Interactive Python Console (no source to analyze...)
* If you plan to compile your `.py` to `.pyc` and delete the source, run `$ python -m destructipy` in your project root to create `.destructipy` cache file before doing so
* It is recommended to place a `import destructipy` on your project init for destructipy to keep the initial cwd (current working directory), just incase you switch the cwd later on using `os.chdir` or such...
* using sys._getframe which is only implemented at CPython. tested on 2.7 and 3.8

#### benchmark:
```
$ python benchmark.py

9 iterations:
regular   : 0:00:00.000009
ds        : 0:00:00.000100
ds.i/ds.a : 0:00:00.000024

99 iterations:
regular   : 0:00:00.000020
ds        : 0:00:00.000066
ds.i/ds.a : 0:00:00.000061

999 iterations:
regular   : 0:00:00.000164
ds        : 0:00:00.000568
ds.i/ds.a : 0:00:00.000521

9999 iterations:
regular   : 0:00:00.001409
ds        : 0:00:00.005194
ds.i/ds.a : 0:00:00.004448

99999 iterations:
regular   : 0:00:00.011635
ds        : 0:00:00.045619
ds.i/ds.a : 0:00:00.040462

999999 iterations:
regular   : 0:00:00.104921
ds        : 0:00:00.396913
ds.i/ds.a : 0:00:00.377507

9999999 iterations:
regular   : 0:00:01.034074
ds        : 0:00:03.985506
ds.i/ds.a : 0:00:03.883992

99999999 iterations:
regular   : 0:00:10.758053
ds        : 0:00:46.962093
ds.i/ds.a : 0:00:45.535044

999999999 iterations:
regular   : 0:02:00.999255
ds        : 0:08:04.748202
ds.i/ds.a : 0:07:42.837535
```
lxcommondata 0.0.8
lxcommondata
Requires Python: >=3.7

# Common Data gRPC API client

灵犀公共数据微服务接口

### 配置

settings配置指定server

```
COMMON_DATA_SERVER = 'host:port'

```

### 使用

```
# 导入查询接口
from commondata.apis import do_query

# 定义查询对象
query_obj = {
    'model': 'CompanyModify',		# model名（必须）
    'operate': {		# 操作（必须）
        'filter': "entid_id=363248",		# 方法、参数
        'order_by': "'-ALTDATE'",
    },
    'paging': '[0:5]'		# 分页（可选）
}

# 查询并接收结果

status, data = do_query(query_obj)

```
autolatex 0.1.7
Generate LaTeX code by Python.

# AutoLaTeX

[![PyPI](https://img.shields.io/pypi/v/autolatex)](https://pypi.org/project/autolatex/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/autolatex)
[![GitHub stars](https://img.shields.io/github/stars/Benature/AutoLaTeX)](https://github.com/Benature/AutoLaTeX)

Generate LaTeX code by Python for experiment report.

用Python生成LaTeX代码写实验报告。  

>如果有帮助就点个 star 🌟呗  
>欢迎 Pull Request, Fork, 提 issue.

## Features 特性

- 读取excel等表格文件转为latex表格
- ~~(假的)~~ word讲义转tex报告
- 线性拟合等数学处理

## Install 安装

1. `pip`安装：

```shell
pip install -U autolatex
```

2. 源码安装

```shell
git clone git@github.com:Benature/AutoLaTeX.git
cd AutoLaTeX
python setup.py sdist bdist_wheel
pip install -U dist/autolatex-0.x.x-py3-none-any.whl # 其中 0.x.x 处是 pypi 版本号
```

## Usage 使用

1. `xlsx`文件 excel 表格数据转 tex 代码  
   在命令行输入（两种写法等效）：
   ```shell
   autolatex <文件路径>
   alt <文件路径>
   ```
   更多参数说明请用`alt -h`查询。

2. `.py`文件内  
   ```python
   # import autolatex as alt
   from autolatex import table
   df = table.read_excel('data.xlsx')
   print(table.convert(df))
   ```

3. word2tex  
   详见`word2tex`下的 README
azure-helpers 0.0.3
A package which uses azure SDK for creating simple resources and managing them.
Requires Python: >=3.6

# Azure Helpers

This is a simple project which makes use of azure's python SDK to create simple resources in azure. Today, you can use the helpers to perform basic CRUD operations on

* [Virtual Machine Scale Sets](https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview)


## Using the package

To start using the helpers, run

> `pip install azure-helpers`

Follow examples in the examples directory to use the library.


## Developing the package
To extend the package and customize it further, clone it from git and run the following to setup a virtual environment:

> `git clone https://github.com/msanath/azure-helpers.git`\
> `cd azure-helpers`\
> `python3 -m venv`\
> `source bin/activate`\
> `pip install -r requirements.txt`

Before merging to the main branch, make sure you generate the distribution archives.
From the directory containing `setup.py`, run:

> `python3 -m pip install --user --upgrade setuptools wheel`\
> `python3 setup.py sdist bdist_wheel`

For more information, refer [python packaging tutorial](https://packaging.python.org/tutorials/packaging-projects/).

**Note**: The git repository also contains settings file for [Visual Studio Code](https://code.visualstudio.com/).
internalmonologue 0.0.14
Internal Monologue will help you journal
Requires Python: >=2.7

# internal-monologue
All developers work on difficult projects that need focus.
All developers get numerous random thoughts in the middle of it.
All developers always have their terminal open.

Internal Monologue is a single-command cli tool that enables developers to swiftly log their random unrelated thoughts via their terminal with minimum cognitive diversion. They can then later check these thoughts in a Trello Board when they have the time.



## How to set up internal monologue
You can use internal monologue by 3 easy steps.

1. Install the pip package for internalmonologue

		pip install internalmonologue


2. Generate your [Trello API Key](https://trello.com/app-key) and [Trello Temporary Token](https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name=Server%20Token&key=efbd634e254c0250a96e4ac948616f12).
(You have to be logged into your trello account to see below linked accounts)

*You can use the temporary trello token since this app works completely on your local and its only for your own personal use. There is no server. The source code is also available in the repo if you would like to check how it works under the hood*

3. export your credentials in your bash_profile in the following way

Open your bash_profile with the following command

            sudo vi ~/.bash_profile

Then add the following commands to it

		export TRELLO_API_KEY="<YOUR_TRELLO_API_KEY_HERE>"

		export TEMPORARY_TRELLO_TOKEN="<YOU_TEMPORARY_TRELLO_TOKEN>"


## How to use

Simply go to your terminal window and type 

		logue reminder to pay electricity bill

and "reminder to pay electricity bill" will appear in a trello board called `Internal Monologue`

## ROADMAP

- [ ] Adding labels to your logues so they are automatically sorted when you open your trello board at the end of the day
- [ ] Creating a similar tool which uses google docs instead of trello.


*Inspired by an idea by Srihari Radhakrishna(n?)*
wapp 0.0.4
WhatsApp in the Command Line
Requires Python: >=3.6

# wapp
The WhatsApp in Command Line

This is the Command Line Client to WhatsApp

You can install this by:

`pip install wapp`


This application is driven by `wappdriver`. _All the actual features and functionality lie within `wappdriver`._ 
**This repo justs provides a beautiful command line interface.**

If you have any issues  or want to contribute, please go to [wappdriver↗️](https://aahnik.github.io/wappdriver/)