semvec/pypi-packages huggingface dataset:
test3-pass-admin-Smarv 0.0.1
A simple password admin program
Requires Python: >=3.6

# Password Admin

This is a simple password admin program.
It is made to ask the user for username and password input data which
is then written and collected in a JSON file. There is also other functions
like editing created usernames and passwords, deleting information etc.

The main program has 3 modes:
- Main mode
- Admin mode
- User mode

In Main mode you have the options to login as admin, sign in a new user and login as user.

When you log in as an admin you enter in Admin mode, where you can view the user's data, or
delete users data.
If there is no admin data for login you are asked to sign in as admin and that data is collected
in the JSON file. There can be only one admin.

When you sign in a new user it's data is collected in the JSON file and you can log in after that.
There can be multiple users.
When you log in as a user you enter in User mode, where you can edit your username and password.
You can also add a nickname and have the option to view all your data.
dadastockapi 2.4.3
API for DaDaStock webiste
Requires Python: >=3.6

# DaDa Stock API

## For TEDU.TW automatic trade class

<p>API for DaDa stock website，</p>
<p>You can use this API to operate order,login,get inventory...e.t.c.</p>

<p style="color:red;font-weight: bold">
	Warning: Before use this API,you must register at DaDa stock.
</p>


<p style="color:red;">This API is for TEDU.TW class and testing.</p>
VisualAssertLibrary 0.2.8
Robot Framework Visual Assert Library

Visual Assert Library
=====================
Robot Framework library for visual verification in selenium tests.

This library allows easy way for visual regression verifications in selenium based tests in Robot Framework.


How it Works
------------
The main idea is to compare the screenshot of a rendered web page or web element against known good screenshots with expected result.

In other words, this tool follows these steps:

- It takes a screenshot of the current web page or needed element on the page.

- If a previous capture of this element exists in the baseline, it compares the current screenshot (actual result) with the previous one (actual result). If these screenshots differ, test fails with embedded picture showing their differences.

- If not, the screenshot is saved to the baseline to be used as expected results in later executions. Probably this new image might be reviewed manually.

At the moment mega.nz is used to store baseline with screenshots.


Installation
------------

``python3 -m venv /path/to/virtual/environment``

``source /path/to/virtual/environment/bin/activate``

``pip install VisualAssertLibrary``


Usage
-----

    *** Settings ***
    Library    SeleniumLibrary
    Library    VisualAssertLibrary

    *** Variables ***
    # In case of use mega.nz to store baseline of screenshots
    ${MEGA_BASELINE_DIR_NAME} =    Name of the directory
    ${MEGA_EMAIL} = XXXXXXX
    ${MEGA_PASSW} = YYYYYYY


    *** Test Cases ***
    Example of test
        open browser   https://some.test.site.com/some/page     Chrome
        set window size   1366   769
        Visual assert  Review has got 3 stars         # Text explaining verification. As well this text will be in the report in a case of test failure.
        ...  //*[@class="some_class"]                 # XPATH locator to the element on the which should be captured
        ...  file_name_with_expected_result.png       # File name of the screenshot with expected result.
        ...  exclude=//*[@class="to_be_excluded"]     # XPATH locator to the element to be excluded from the screenshot.

    *** Keywords ***
    Visual assert
        [Arguments]  @{varargs}  &{named}
        run keyword and continue on failure   assert screenshot     @{varargs}  &{named}
        ...    cols=30  rows=30  # Number of columns and rows the screenshot area should be divided (optional parameter, default is 20)
        ...    factor=1000  Empiric parameter for accuracy of comparing images (optional parameter, default is 1000)
        ...    trim=3  # Number of pixels to be removed from the top/bottom/left/right of the screenshot (optional, default is 0)


WARRANTY
--------

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
scipy-calculator 1.0.0
A Scientific calculator

# Scientific Python Calculator

Scientific Python Calculator (scipy_calculator) is a library for doing mathematics computation. It works similar to a calculator.

:raised_hands: This is my first python package. It will be improved over time. Feel free to contribute to this beautiful work of art.

## Installation
:warning: scipy_calculator is only tested with python 3. 

**Installation via PYPI**
```sh
$ pip install scipy-calculator
```
**Installation via Github**
this is for the stable released version
```sh
$ pip install git+https://github.com/komus/scipy_calculator
```

scipy_calculator uses multipledispatch dependency and pytest for automated test

## Usage
The calculator can be used for basic mathematical computation. The calculator has a memory that caches the last result until it is reset. The cached result is used in the next computation if not reset. 

The `reset` is used to clear the cache

Examples will be shown below

## Sample Code
```python
from calculator import Calculator

my_cal = Calculator()
```
### Addition
```python
>>> my_cal.add(10)
10
```
#### Subtraction
`subtract`
```python
>>> my_cal.subtract(5)
5
```
because the memory was not reset, `5` was subtracted from previous value `10`


#### Division
For `divide`, zero division returns `None` and description
```python
>>> cal.divide(2)
2.5
```
```python
>>> cal.divide(0)
number cannot be zero => float division by zero
None

>>> cal.memory_val
2.5
```


#### Multiply
```python
>>> cal.multiply(2.5)
6.25
```
#### Modulo
```python
>>> cal.modulo(5)
1.25
```
#### Square root
```python
>>> cal.sqrt(16)
4
```

#### Reset
```python
>>> cal.reset()
>>> cal.memory_val
0
```