semvec/pypi-packages huggingface dataset:
helloworld-nik12 0.0.4
say hello

# Hello World

[![Build Status](https://travis-ci.com/nikhar1210/helloworld_PyPI.svg?branch=main)](https://travis-ci.com/nikhar1210/helloworld_PyPI)

This is an example project demonstrating how to publish a python module tp PyPI


## Installation

Run the following to install:

```python
pip install helloworld-nik12
```

## Usage

```python

from helloworld import say_hello

# Generate hello world
say_hello(name=None)

#Generate "Hello, Joe!"
say_hello("Joe")

```
argtools 0.1.6
A collection of decorators to build command-line tools with minimal effort
Keywords: argparse subcommand command cli

Argtools
==========

Description
-------------------
A collection of decorators wrapping argparse module for building command-line tools with *minimal effort*.

Quick start
-------------------

### Installation
```sh
$ pip install argtools
```

### Building a simple command-line tool

```python
# examples/test.py
from argtools import command, argument

@command
@argument('foo', help='a positional arugment')
@argument('--bar', default=3, help='an optional argument')
def main(args):
    """ One line description here

    Write details here (printed with --help|-h)
    """
    print args.bar
    print args.foo
    return 1  # return code


if __name__ == '__main__':
    command.run()
```

```sh
$ python test.py
$ python test.py -v   # Increasing the verbosity of logging module
```

The `argument` decorator has the same api as argparse.ArgumentParser.add_argument.
See http://docs.python.org/dev/library/argparse.html for details.


### Building subcommands

```python
# examples/subtest.py
from argtools import command, argument

@command.add_sub
def foo(args):
    """ This is foo
    """
    print 'foo'


@command.add_sub
def bar(args):
    """ This is bar
    """
    print 'bar'


@command.add_sub(name=baz)  # set different name
def bar(args):
    """ This is baz
    """
    print 'baz'

if __name__ == '__main__':
    command.run()
```

```sh
$ python test.py foo      # print foo
$ python test.py bar      # print bar
$ python test.py bar -h   # print help text of bar subcommand
```


Other features
-------------------

- In `command.run()`, the logging module is setup. You can control the verbosity with options: -v, -vv, ..
- In `command.run()`, SIGPIPE occured inside of wrapped function will be ignored to ease piping.
- To use `group` or `exclusive` functionality of argparse, give `argument` objects (e.g. arg1, arg2, arg3) as `@argument.group(arg1, arg2, arg3)` or `@argument.exclusive(arg1, arg2, arg3)`, respectively (documentation is #TODO).
- Builtin options: -v, --verbose and --debug can be turned off by setting `command.add_verbose = False` or `command.add_debug = False`
psstore-ru 2.0.0
Play Station Store Russian Python Interface
Requires Python: >=3.6

### **Python interface for PlayStation4 Store Russia**

#### **Basic Usage**

```python
from psstore4ru.core.scraping_routines.game_page import PS4Game

game = PS4Game(alias="EP0002-CUSA23470_00-CB4STANDARD00001")

print(game.as_json())
```

#### **psstore4 supports different output formats, namely:**

```python
from psstore4ru.core.scraping_routines.game_page import PS4Game

game = PS4Game(alias="EP0002-CUSA23470_00-CB4STANDARD00001")

print(game.as_json())
print(game.as_yaml())
```
product-id-extractor-yimian 0.0.4
A tiny package to extract product id

A extractor to extract product id from an provided url of specific platforms.


# Installation
```
pip install product-id-extractor-yimian
```


# Examples

```python
from product_id_extractor import Extractor

# Initialize Extractor Object
# Leave platform parameter None to use auto detection
example = Extractor("https://item.taobao.com/item.htm?spm=a230r.1.14.141.34655b0c4rO8sl&id=637790875524&ns=1&abbucket=16#detail",platform='')

# specify platform if needed by passing it to Extractor object
example.platform = 'taobao'

# call Extractor.extract() function to get product_id
example.extract()

print(example) # 637790875524
```
 
# Notes
1. Only support URL of items from following platforms:
    1. taobao
    2. tmall
    3. jd
    4. suning
    5. amazon