semvec/pypi-packages huggingface dataset:
advanced-database-replace 1.0.0
Utility package which runs an advanced search&replace on a mysql database.
Keywords: Wordpress Database Replace Search Replace

# Advanced Database Replace


#### Short description
A utility management library which runs an advanced
search&replace action against a specified database's records 
(event if they are serialized).

#### Long description
This project aims to take search&replace to the next level by applying
search&replace even to serialized records in the database. This type of project
is especially effective against e.g. Wordpress databases since they may 
contain serialized PHP array records.

## Prerequisites

- A MySql database.
- This project installed with:
```bash
pip install advanced_database_replace
```
or:
```bash
./install.sh
```

## Usage

#### Replacing all occurrences on all tables
```python
from advanced_database_replace.database_replace import DatabaseReplace
from advanced_database_replace.database_credentials import DatabaseCredentials

db_credentials = DatabaseCredentials()
db_replacer = DatabaseReplace(credentials=db_credentials)

db_replacer.replace_all('my-old-record', 'my-new-record')
```

#### Replacing all occurrences on a specific table
```python
from advanced_database_replace.database_replace import DatabaseReplace
from advanced_database_replace.database_credentials import DatabaseCredentials

db_credentials = DatabaseCredentials()
db_replacer = DatabaseReplace(credentials=db_credentials)

db_replacer.replace('my-old-record', 'my-new-record', 'my-table')
```

#### Using custom serializer
Since (as mentioned in the description) this find&replace project handles serialized
data, by default it assumes PHP serialization, however, you can provide a custom
serializer.

```python
from advanced_database_replace.database_replace import DatabaseReplace
from advanced_database_replace.database_credentials import DatabaseCredentials

class MyCustomSerializer:
    @staticmethod
    def dumps(*args, **kwargs):
        pass

    @staticmethod
    def loads(*args, **kwargs):
        pass

db_credentials = DatabaseCredentials()
db_replacer = DatabaseReplace(credentials=db_credentials, serializer=MyCustomSerializer())

db_replacer.replace_all('my-old-record', 'my-new-record')
```

# Release history

#### 1.0.0
Initial.
jlogs 0.1.0
Work with JSON logs
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Keywords: jlogs

=====
jlogs
=====






Work with JSON logs



Features
--------

* TODO

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.1.0 (2019-11-05)
------------------

* First release on PyPI.
aisastack 1.0.1
Command Line Tools for creating skeleton project in FrontEnd (django rest)

![AisaStack]( ./github-header.png "AisaStack")

# AisaStack

Generator tools for Full-Stack Developers work with the Django Rest Framework and Vue JS.

## Motivation

Motivation 01:

> Build modular programs, Eric Raymond's 17 Unix Rules

Motivation 02:

> Small is beautiful, Make each program do one thing well, Mike Gancarz The UNIX Philosophy

In DRF we actually use ViewSet, in our opinion it is something that approaches the motivation above.
You can see how this works [here](https://github.com/aisahana/eclinic_api).

## Include Frontend Framework
- Vue JS

## Installation
With pip:

```
$ pip install aisastack
```

or manual install with clone this project:

```
$ cd aisastack
$ python setup install
```

## Stack Name Available
There are several UI stack available:

- `blight` : Bootstrap 4 Admin Light (vue) (you can see the package.json for detail dependencies).
- `nativescript` : NativeSacript Vue (coming soon)


## How To
Command to do a clone:

```
$ aisvue --clone <stack-name>
$ cd <stack-name>
```

Creat app:

```
$ aisvue --build <stack-name>
```

A prompt will appear that you can fill in with the model name in the Django Rest backend.
pyark 1.2.0
Pyark is a small python-based CLI tool, which allows you to interact with the CyberArk Enterprise Password Vault API.
Keywords: CyberArk,Password Vault,API,CLI

=====
Pyark
=====

|Travis| |PyPi| |License|

.. |Travis| image:: https://img.shields.io/travis/adfinis-sygroup/pyark.svg?style=flat-square
   :target: https://travis-ci.org/adfinis-sygroup/pyark
.. |PyPi| image:: https://img.shields.io/pypi/v/pyark.svg?style=flat-square
   :target: https://pypi.python.org/pypi/pyark
.. |License| image:: https://img.shields.io/github/license/adfinis-sygroup/pyark.svg?style=flat-square
   :target: LICENSE

Pyark is a small python-based CLI tool, which allows you to interact with the
CyberArk Enterprise Password Vault API.

Features
========
Currently the following functionalities are supported:

* Get accounts
* Create accounts
* Delete accounts

Supported authentication methods:

* CyberArk accounts (default)
* RADIUS

Requirements
============
Make sure to have the following Python 3 dependencies installed before using the
tool:

* python-requests

Furthermore it's important to know which version of the CyberArk Password Vault
is used as only the newest versions expose all API endpoints. Make sure to
double check the API documentation, specific for your version, in case the tool
fails to interact with the API.

Installation
============
Simply clone this repository and start using the script. You can also install
it using setup.py or pip.

Examples
========
Get a list of available accounts:

.. code:: shell

   $ pyark --base https://vault.example.com \
           --apiuser foobar                 \
           --apipassword supersecret42      \
           account get                      \
           --safe MySafe                    \
           --keywords bruce

Create a new account:
 
.. code:: shell

   $ pyark --base https://vault.example.com \
           --apiuser foobar                 \
           --apipassword supersecret42      \
           account create                   \
           --safe MySafe                    \
           --platformid TestPlatform        \
           --accountname brucewayne         \
           --address batcave.example.com    \
           --username brucew                \
           --password d4rkkn1ght

Delete an existing account:
 
.. code:: shell

   $ pyark --base https://vault.example.com \
           --apiuser foobar                 \
           --apipassword supersecret42      \
           account delete                   \
           --safe MySafe                    \
           --accountname brucewayne         \
           --keywords bruce

Contributions
=============
Contributions are more than welcome! Please feel free to open new issues or
pull requests.

License 
=======
GNU GENERAL PUBLIC LICENSE Version 3

See the `LICENSE`_ file.

.. _LICENSE: LICENSE
money2number 0.7
Convert a single money related term in a sentence in any format to float.

## This library will convert any money related term in a string to numbers

> from money2number import m2n<br>
> m2n.m2n.process_money_tags('here is 120 million dollars ')<br>

 will return >>> 120000000.0

 <h3>Limitations</h3>
 <p>
 <ul>
    <li>Only one money related term in a string can be identified.</li>
    <li>Examples of inputs:

    2.7 million
    12 Billion
    five hundred and seventy four million 
 </ul>


 </p>
sysdef 0.0.7
sysdef bootable image and configuration management system
Requires Python: >=3.6

# sysdef

Sysdef takes a YAML file as input to either:
* Add configuration to an existing hard drive image
* Apply configuration on reboot

The aim is to produce easily customised SDCARD images which can then be booted
in IOT platforms like raspberry pi without the need for further manual
configuration.

On reboot, sysdef runs to ensure required services such as docker containers
and external hard drives are up and running

# Status: under development
This upload is to reserve the name on pypi. code is semi-working at this point
pyzshell 1.1.4
快速构建命令行(shell)应用

介绍
====

使用zshell可快速构建命令行应用

安装
====

    pip安装

.. code:: shell

    pip install -i https://pypi.org/project pyzshell

开始
====

编写第一个zshell应用
--------------------

创建helloworld.py文件 导入模块

.. code:: python

    import zshell

创建一个应用

.. code:: python

    app=zshell.App()

编写命令

.. code:: python

    @app.shell
    def helloworld():
        return 'Hello World'

运行应用

.. code:: python

    app.run()

完整代码

.. code:: python

    #coding=utf-8
    import zshell

    app=zshell.App()

    @app.shell
    def helloworld():
        return 'Hello World'
        
    if __name__ == '__main__':
        app.run()

运行helloworld.py文件

.. code:: shell

    python helloworld.py
    zshell:>>helloworld
    Hello World

交互式运行
~~~~~~~~~~

python 文件.py

.. code:: shell

    python helloworld.py
    zshell:>>helloworld
    Hello World

非交互式运行
~~~~~~~~~~~~

python 文件.py 命令 参数

.. code:: shell

    python helloworld.py helloworld
    Hello World

参数
----

变长参数
~~~~~~~~

新建add函数，函数参数为元组变长参数，参数名必须是args

.. code:: python

    @app.shell
    def add(*args):
        num=0
        for i in args:
            num+=i
        return num

输入\ ``add 1 2 3``\ 调用add命令,将参数值1，2，3相加得出结果为6

.. code:: shell

    zshell:>>add 1 2 3
    6
    zshell:>>add 1 2 3 4
    10

新建add2函数，函数参数为字典变长参数，参数名必须是kwargs

.. code:: python

    @app.shell
    def add2(**kwargs):
        return kwargs['a']+kwargs['b']

输入add2 -a 1 -b 1调用add2命令,相加得出结果为2

参数仅支持英文或以-、--开头的英文，-、--开头的参数zshell会自动去掉-、--符号

.. code:: shell

    zshell:>>add2 -a 1 -b 1
    2
    zshell:>>add2 -a 1 -b 1 -c 1
    2

非变长参数
~~~~~~~~~~

新建add3函数，函数参数随意

.. code:: python

    @app.shell
    def add3(a=0,b=0,c=0):
        return a+b+c

输入add3 1 2 3调用add3命令,相加得出结果为6

.. code:: shell

    zshell:>>add3 1 2 3
    6
    zshell:>>add3 1 2 3 4
    6
    zshell:>>add3 1
    1

``@app.shell``\ 详解
--------------------

将函数添加到zshell命令

+--------+---------------------------------+----------+----------+
| 参数   | 说明                            | 类型     | 默认     |
+========+=================================+==========+==========+
| name   | 命令名 使用\|可分隔多个命令名   | string   | 函数名   |
+--------+---------------------------------+----------+----------+
| desc   | 命令描述                        | string   | ""       |
+--------+---------------------------------+----------+----------+
| args   | 命令参数                        | list     | []       |
+--------+---------------------------------+----------+----------+

版本
----

-  1.1.4 新增内置命令

   -  clear 清除控制台
   -  修复已知bug
Dunner 0.0.1.6
A helper package for data science projects

# dunner - Make your data science projects easier

A Helper pip package for data cleaning, organizing, visualizing. machine learning and deep learning.


### Assumptions:

+ Assuming python is installed on your system.


# Description

It consists of three main modules:

- `data_operations`: tools for some useful data operations
- `data_cleaner`: tools to clean data
- `preprocess_helper`: tools to help data operation and data cleaning

# Installation

## Normal installation

```bash
pip install dunner
```