semvec/pypi-packages huggingface dataset:
xinstall 0.52.2
Easy Cross-platform Installation and Configuration of Apps.
License: MIT
Requires Python: >=3.7.1,<4
Keywords: installation,configuration,cross-platform

# [xinstall](https://github.com/legendu-net/xinstall): Easy Cross-platform Installation and Configuration of Apps

## Install xinstall

    :::bash
    pip3 install -U xinstall

## Usage

1. Run `xinstall -h` for the help doc.
        
2. Below is an example of install SpaceVim and configure it.

        xinstall svim -ic
    
3. In case `xinstall` is not on the search path, 
    you can use `python3 -m xinstall.main` instead. 
    For example, 
    to check the help doc.
    
        python3 -m xinstall.main -h
        
### sudo Permission

xinstall has 3 levels of `sudo` permission.

- (L1) Non-root user running `xinstall subcmd -ic`: no `sudo` permission
- (L2) Non-root user running `xinstall --sudo subcmd -ic`: `sudo` is called when necessary
- (L3) Non-root user running `sudo xinstall subcmd -ic`: root permission everywhere
- (L3) root user running `xinstall subcmd -ic`: root permission everywhere

The suggested way is to run `xinstal --sudo subcmd -ic` using non-root user if `sudo` permission is required.
`sudo xinstall subcmd -ic` might have side effect as some tools are installed to the local user directory,
in which case `sudo xinstall subcmd -ic` installs the tool into `/root/` 
which might not what you wwant.

## Proxy

Some tools used by xinstall respect environment variables `http_proxy` and `https_proxy`.
Exporting those 2 evironment variable will make most part of xinstall work if proxy is required. 
```
export http_proxy=http://server_ip:port
export https_proxy=http://server_ip:port
```
csworkshop 0.0.3
CS Design Studio
License: MIT
Requires Python: >=3.10

# workshop

[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/release/python-3100/)
[![PyPI version](https://badge.fury.io/py/csworkshop.svg)](https://badge.fury.io/py/csworkshop)
[![Build Status](https://github.com/TylerYep/workshop/actions/workflows/test.yml/badge.svg)](https://github.com/TylerYep/workshop/actions/workflows/test.yml)
[![GitHub license](https://img.shields.io/github/license/TylerYep/workshop)](https://github.com/TylerYep/workshop/blob/main/LICENSE)
[![codecov](https://codecov.io/gh/TylerYep/workshop/branch/main/graph/badge.svg)](https://codecov.io/gh/TylerYep/workshop)
[![Downloads](https://pepy.tech/badge/csworkshop)](https://pepy.tech/project/csworkshop)

My design studio of AI/ML/CS concepts. Code is adapted from many different websites across the Internet.

Separated into three sections:

- Algorithms
- Math
- Data Structures

# Usage

```
pip install csworkshop
```

```python
from cs.algorithms import binary_search
from cs.structures import Graph, FibonacciHeap
```
DeepSignalLibrary 0.0.5
Adversarial Signal Library
License: MIT
Keywords: Adversarial Signal Library

# Advsignals
An Adversarial Signal Library for Deep Neural Networks.

## netmodels

深度神经网络模型模块主要集成了主流的各类深度神经网络模型，包括CNN、VGG
（11、13、16、19）和深度残差网络（ResNet-18、34、50）。

## frequency

频域处理器主要提供频域变换功能，包括离散傅里叶变换、离散余弦变换、haar 小
波变换等信号处理技术，并且可以结合样本生成器和网络模型模块实现控频攻击和控频
训练，方便快捷的从频率域研究深度神经网络对抗信号。

## datasets

最后，目前的对抗样本库主要基于MNIST 数据集、CIFAR-10 数据集、CIFAR-100
数据集（支持的功能完善）、TinyImageNet 和ImageNet（部分支持）等图像分类领域常
用的数据集生成对抗信号。
pastebinpy 0.1.5
A Pastebin api created in python with easy to use syntax
License: MIT
Requires Python: >=3.8,<4.0

PasteBinPy
==========
PasteBinPy
---------------
    An easy to learn, use, and contribute to api for python.

--------------

Getting Started
---------------

    To get your pastebin api key, create or login to your pastebin account `here <https://pastebin.com/signup>`__ > after creating your account, `head over to the api documentation <https://pastebin.com/doc_api>`__ and grab your api key under ``Your Unique Developer API Key`` ---

Example
-------

.. code:: py

    import pastebinpy as pbp

    # All thats needed for a successfull response
    pbp.paste("api_key", "title", "body")

    pbp.paste("api_key", "title", "body", raw=1, expiry="10M", privacy="1", format="python")

``pastebinpy.paste()``
----------------------

**API\_KEY** can be retrieved by making a pastebin account and getting your api key from `this link <https://pastebin.com/doc_api>`__

**CONTENT** is the *body* of the paste, the inside that your user will be looking at.

**TITLE** is at the top of the paste, users will probably not notice this, but its a good attribute to still use.

**PRIVACY** has two values, ``0`` being public, and ``1`` being unlisted, meaning only people with the pastebin link can view it.

**EXPIRY** is defining the expiration time and/or time limit that you give your paste. Allowed variables are below.

::

    N = Never
    10M = 10 Minutes
    1H = 1 Hour
    1D = 1 Day
    1W = 1 Week
    2W = 2 Weeks
    1M = 1 Month
    6M = 6 Months
    1Y = 1 Year

**RAW** is the toggle attribute for obtaining a raw pastebin link, with ``1`` equaling the raw pastebin link, and ``0`` being the default, returning the normal pastebin link.

**FORMAT** is the selected language attribute to format and color the content given. ``(e.g HTML, PHP, LUA, PYTHON, BF, CSS, CPP, CSHARP, RUBY, RAILS, etc)``

--------------

Created by css / cesiyi
django-vtex 1.1.3
Django Vtex Integration
License: MIT
Requires Python: >=3.7

# django-vtex

## Starting
_These instructions will allow you to install the library in your python project._

### Current features

-   Get tracking info.

### Pre-requisitos

-   Python >= 3.7
-   Django >= 3
-   requests >= 2
***
## Installation

1. To get the latest stable release from PyPi:
```
pip install django-vtex
```
or

2. From a build
```
git clone https://gitlab.com/linets/ecommerce/oms/integrations/django-vtex
```

```
cd {{project}}
```

```
python setup.py sdist
```
and, install in your project django
```
pip install {{path}}/django-vtex/dist/{{tar.gz file}}
```

3. Settings in django project

```
DJANGO_VTEX = {
    'VTEX': {
        'BASE_URL': '<VTEX_BASE_URL>',
        'APP_KEY': '<VTEX_APP_KEY>',
        'APP_TOKEN': '<VTEX_APP_TOKEN>',
    }
}
```

## Usage

1. Get orders:
```
from vtex.handler import VtexHandler

handler = VtexHandler()
response = handler.get_orders(<offset>)
```

2. Get order detail:
```
from vtex.handler import VtexHandler

handler = VtexHandler()
response = handler.get_order_detail(<identifier>)
```

3. Create instance to be sent in create_invoice
    ```
    import json
    from collections import namedtuple

    dict_ = {
        'invoice_number': 'NFe-00001',
        'courier': '',
        'tracking_number': '',
        'tracking_url': '',
        'items': [
          {
              'id': '345117',
              'quantity': 1,
              'price': 9003
          }
        ],
        'total_value': 9508
    }

    instance = namedtuple('VtexInstance', dict_.keys())(*dict_.values())
    ```

4. Create invoice:
```
from vtex.handler import VtexHandler

handler = VtexHandler()
response = handler.create_invoice(<identifier>, <instance>)
```

5. Update order status:
```
from vtex.handler import VtexHandler

handler = VtexHandler()

response = handler.update_order_status(<identifier>, <status>)
```

6. Update tracking status:
```
from vtex.handler import VtexHandler

handler = VtexHandler()

# events = [] default
# is_delivered = False default
response = handler.update_tracking_status(
    <identifier>, <wms_reference>, <events>, <is_delivered>)
```