semvec/pypi-packages huggingface dataset:
pybeginners 1.0.1
A package to use some basic numeric/math functionalities
Requires Python: >=3.4

# pybeginners

Python package to help beginners with basic math program functionalities like

* isprime(number)
* oddeven(number)
* issquare(number)
* iscube(number)

## Installation

`pip install pybeginners`

## How to Use

1. Install the package.
2. To check if a number is perfect square, use the following code:

	```
	from pybeginners import programs
	print(programs.issquare(number))
	```
3. Similarly, you can use `programs.isprime(number)` and two more functions.
pychk 1.0.1
A command line tool for developers to check if their project dependencies have known vulnerabilities.
Requires Python: >=3.6
Keywords: pip requirements security SAST sast vulnerability dependencies dependency vulnerable

# Pychk

Pychk is a tool to help developers identify vulnerable dependencies being used in their project. It reads the project's dependencies from the specified file (which is usually `requirements.txt`) and checks the entries in it against entries in a database of packages with known vulnerabilities associated with them.

## Installation

Pychk can be easily installed with PIP with the following command:

```bash
pip3 install pychk
```

## Usage

Pychk reads the project dependencies from the file specified by the user (by default, Pychk will look for 'requirements.txt' in the current directory). It can also, optionally, write the output to a specified file in JSON format.

* Running Pychk with defaults:

```bash
pychk
```

* Running Pychk against a specific file:

```bash
pychk [-p/--path <path to file>]
```

* Writing the output to a file:

```bash
pychk [-o/--out-file <file>]
```

* Displaying help:

```bash
pychk -h/--help
```
yamlpp 1.0.1
Simple YAML preprocessor, resolves anchors.

# yamlpp

Simple YAML preprocessor, resolves anchors. This is meant for preprocessing `.gitlab-ci.yml` files. The anchors will be preprocessed, so you can see what the file looks like if you wrote out everything by hand.

## Example

Here is `example.yml` (taken from https://docs.gitlab.com/ee/ci/yaml/#anchors):

```yml
.job_template: &job_definition
  script:
    - test project

.postgres_services:
  services: &postgres_definition
    - postgres # urmom
    - ruby

.mysql_services:
  services: &mysql_definition
    - mysql
    - ruby

test:postgres:
  <<: *job_definition
  services: *postgres_definition

test:mysql:
  <<: *job_definition
  services: *mysql_definition
```

If you run `yamlpp example.yml` the output will be:

```yml
.job_template:
  script:
    - test project

.postgres_services:
  services:
    - postgres
    - ruby

.mysql_services:
  services:
    - mysql
    - ruby

test:postgres:
  script:
    - test project
  services:
    - postgres
    - ruby

test:mysql:
  script:
    - test project
  services:
    - mysql
    - ruby
```