semvec/pypi-packages huggingface dataset:
tc-ds-2023-calculator 1.0.0
Contains Calculator Class    used for performing basic arithmetic operations


# Calculator package

  

## Summary

  

The package contains a calculator class which is a python representation of a calculator.
Calculator objects are used to perform the following
operations:

- Addition

 - Subtraction
   
 - Multiplication
   
 - Division
   
 - Taking n-th root of a positive number.
   
 - Reseting the memory

  

## Installation

  

#### To install the package:

    pip install tc-ds-2023-calculator



## Using the package

#### To import the package:

    from calculator import Calculator
    
#### Instantiating an object:

    obj = Calculator(memory=0)

Memory stores the initial value which will later be manipulated. The variable is 0 by default but can be set to any other number of type int or float.

### Operator behaviour and instance methods
#### Operators:


The class uses operator overloading for addition, subtraction, multiplication and division operations.

 

|+|Addition|
|--|--|
|-|**Subtraction**|
|*| **Multiplication** |
|/|**Division**|



These operations are done in a following manner:

    object <operator> input

Example:

    >>> obj = Calculator(2)
    >>> obj
        Calculator(2)
    >>> obj + 2
    >>> obj
        Calculator(4)
    >>> obj/2
    >>> obj
        Calculator(2)
    >>> obj * 3
    >>> obj
        Calculator(6)
    >>> obj / 2
    >>> obj
        Calculator(3)
    
   #### Methods:
   Calculator class provides following methods:
   
|.root(n=2)| Takes the n-th root of a positive number stored in the calculator memory. The n value must be an integer number. Only works with positive memory numbers even when n is odd. Takes the square root by default|
|--|--|
|**.reset()**| **Sets the calculator memory to 0** |
|**.get_num()**|**Returns calculator memory** |


Example:

    >>> obj = Calculator(4)
    >>> obj.root()
    >>> obj
        Calculator(2)
    >>> obj.reset()
    >>> obj
        Calculator(0)
    >>> obj.get_num()
        0
        

## Testing
Install dependencies:

    pip install -r requirements.txt

Test:

    python3 -m unittest
fuo-kuwo 0.2.0
Kuwo music provider for FeelUOwn music player
Requires Python: >=3.8,<4.0

# Kuwo music provider for FeelUOwn player

## Installation

### Arch Linux
`pacman -S feeluown-kuwo`

### Install from pypi
`pip install --user feeluown-kuwo`

### Install with pip
`pip install --user .`

## Development with poetry
`poetry install` to create venv and start development.
`poetry run pre-commit install` to setup git pre-commit hooks.
`poetry run poetry2setup > setup.py` before commit.

## Run tests
`pytest -v`

test_kuwo_api.py -- Kuwo API tests

## Changelog

### v0.2.0 (2023-07-13)
* 修复 API 不可用的问题
* 适配 feeluown v2 model，废弃 v1 models

### v0.1.6 (2022-06-08)
* 修复获取歌曲/mv播放链接有一定概率会失败的问题

### v0.1.5 (2021-11-06)
* 处理 html 字符实体

### v0.1.4 (2021-05-27)
* 处理 html 字符实体

### v0.1.3 (2021-04-23)
* 加了个图标
* 支持网页登录
* 支持加载个人收藏的播放列表

### v0.1.2 (2020-10-18)
* 使用 SequentialReader

### v0.1.1 (2020-06-05)
* fix the issue that fuo-kuwo can't be installed without install_requries

### v0.1 (2020-06-05)
* support fetching song/artist/album/playlist detail
* support searching
PypolyBest 0.6.11
see long description

##DOCUMENTATION

PypolyBest has a class named polyBest. 
Constructor of this class accepts four parameters:
    1. Feature Data-frame(a matrix type object)
    2. Target Data-frame(a matrix type object)
    3*. A list of coefficients of regularization for lasso regression of degree 1,2,3,.. 
       in that order upto whatver degree you would like to do polynomial regression.
    4. Train-Test split ratio
    5. boolean value, pass True if u want to do StandardScaler else pass False
The class has two methods:
    1. mseScore(): takes no parameters, returns a list of mse scores of len(3*).
    2. maescore(): takes no parameters, returns a list of mae scores of len(3*)
vsiew 2.3.8
VapourSynth packages from Irrational Encoding Wizardry
Requires Python: >=3.10

# vs-iew

### PyPi package for quickly updating and installing all IEW packages.

<br>

<br><br>
## How to install

Install `vsiew` with the following command:

```sh
pip install vsiew
```

<br>

## How to use

Install all iew packages:
```sh
python -m vsiew
```

Install latest git version of all iew packages:
```sh
python -m vsiew latest
```
poetry-partifact-plugin 0.1.1
A poetry plugin that configures AWS CodeArtifact
Requires Python: >=3.8,<4.0

## POETRY-PARTIFACT-PLUGIN

This project is a poetry plugin that wraps the `poetry add/install` commands and adds some logic
that will authenticate to AWS CodeArtifact under the hood.

Before any poetry `add` or `install` commands are run, this plugin will check the `pyproject.toml` file
for any codeartifact sources.

It is looking for the first `tool.poetry.source` block that contains `.codeartifact.` in its url. 
The required fields are "url" and "name."

If the tool doesn't find any valid source blocks, nothing happens.

## Configuration

Create a `tool.poetry.source` block in your `pyproject.toml` file, then set the "url" to the CodeArtifact repository url, and set the "name" to the id of the AWS profile you'll be using to authenticate.

Here's an example of a valid `tool.poetry.source` block (the `default=true` is optional):
```yaml
[[tool.poetry.source]]
name = "<your-aws-profile-name>"
url = "https://<your-domain-name>-<your-project-id>.d.codeartifact.<your-region>.amazonaws.com/pypi/<your-repo-name>/simple/"
default = true
```

## Installation

To install the plugin, run this command:

```shell
poetry self add poetry-partifact-plugin
```

## Uninstallation

To remove the plugin, run this command:

```shell
poetry self remove poetry-partifact-plugin
```

## Under the Hood

Once the plugin has gotten your repository url and the name of the AWS profile you'll be using, it  uses the AWS profile credentials located at `~/.aws/credentials` to make an API request to your AWS CodeArtifact repository.

If this request is successful, a short-lived token will be returned that will grant temporary access.
This token is set as a [poetry environment variable](https://python-poetry.org/docs/configuration/#using-environment-variables) and allows poetry to seamlessly authenticate to the repository.

## Dependencies

* [partifact](https://github.com/Validus-Risk-Management/partifact)

## License 
Copyright 2023 Amino Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
Gru 0.0.2
Package to help all pythoners
Requires Python: >=3.6

# Make sure you have upgraded version of pip
Windows
```
py -m pip install --upgrade pip
```

Linux/MAC OS
```
python3 -m pip install --upgrade pip
```

## Create a project with the following structure
```
packaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir tests
```

## pyproject.toml 

This file tells tools like pip and build how to create your project

```
[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"
```
build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.

build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.


# Setup.cfg setup
Using setup.cfg is a best practice, but you could have a dynamic setup file using setup.py

```
[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = src

```
# Running the build
### Make sure your build tool is up to date
Windows
```
py -m pip install --upgrade build
```
Linux/MAC OS
```
python3 -m pip install --upgrade build
```


### Create the build
```
py -m build
```













### References
https://packaging.python.org/tutorials/packaging-projects/