semvec/pypi-packages huggingface dataset:
python-package-example-Johnny-dpp 0.6
An example python package
License: MIT

python-package-example

This is a minimal python package, for use alongside the lesson: https://github.com/BillMills/pythonPackageLesson

Contributing:

Please do! Guidelines:

 - This lesson is for beginners. Yes there are plenty of super fancy things we don't cover here; someday, we'll make a different, super fancy lesson to teach those things.
 - Max 100 lines per PR please.
 - Open an issue or empty PR first to talk about controversial changes.
atom3 0.1.4
3D Atomic Data Processing
License: MIT

atom3
=====

Processing of 3D atomic data.

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

.. code-block:: console

    $ pip install atom3 

Usage
-----

Process a PDB file to a pickled pandas dataframe.

.. code-block:: console

    $ atom3 parse sample/11as.pdb1.gz sample/parsed

Derive subunits of a parsed dataframe.

.. code-block:: console

    $ atom3 complex sample/parsed sample/complexes.dill

Split subunits into interacting pairs.

.. code-block:: console

    $ atom3 pairs sample/complexes.dill sample/pairs

For help on commands.

.. code-block:: console

    $ atom3 -h
    $ atom3 parse -h
django-params-validator 1.1.10
Decorator for Django REST Framework for validate params
License: MIT
Keywords: rest,django,api,params,parameters,djangorestframework,decorator

# django-params-validator
django restframe params validator

use for check django rest api params
用于检查django的rest接口的参数
包括参数的类型、范围
如果参数是bool类型，能将 1, 0转化为布尔值
```bash
pip install django-params-validator
```
# Example

```python
from django_params_validator import Params

@Params(book_num=int, book_num__gte=100, book_num__lte=200, book__optional=False)
def some_interface(request, *args, **kwargs):
    pass
    
    
@Params(name=str, name__default='jack',
        create_datetime=Params.DATETIME_STR, create_datetime__format='%Y-%m-%d',
        colors=('red', 'blue', 'yellow'), colors__many=True)
def other_interface(request, *args, **kwargs):
    colors = kwargs.get('colors')
    # colors = ['']
    pass
```


# Options

## TYPE

```name=str```
指定参数的类型

其中Params.DATETIME_STR是特殊的时间戳字符串格式

## gt/lt/gte/lte
制定参数的范围
```num__gte=100```


## optional
是否是可选参数


## default
默认值

## many
```colors__many=True```
是否是列表。