semvec/pypi-packages huggingface dataset:
grouplabelencode 0.2.0
Encode grouped labels
License: MIT
Requires Python: >=3.6

[![Build Status](https://travis-ci.org/kmedian/grouplabelencode.svg?branch=master)](https://travis-ci.org/kmedian/grouplabelencode)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/kmedian/grouplabelencode/master?urlpath=lab)

# grouplabelencode


## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Commands](#commands)
* [Support](#support)
* [Contributing](#contributing)


## Installation
The `grouplabelencode` [git repo](http://github.com/kmedian/grouplabelencode) is available as [PyPi package](https://pypi.org/project/grouplabelencode)

```
pip install grouplabelencode
```


## Usage
Check the [examples](http://github.com/kmedian/grouplabelencode/examples) folder for notebooks.


## Commands
* Check syntax: `flake8 --ignore=F401`
* Run Unit Tests: `python -W ignore -m unittest discover`
* Remove `.pyc` files: `find . -type f -name "*.pyc" | xargs rm`
* Remove `__pycache__` folders: `find . -type d -name "__pycache__" | xargs rm -rf`
* Upload to PyPi: `python setup.py sdist upload -r pypi`
* Upload to PyPi with twine: `python setup.py sdist && twine upload -r pypi dist/*`


## Debugging
* Notebooks to profile python code are in the [profile](profile) folder


## Support
Please [open an issue](https://github.com/kmedian/grouplabelencode/issues/new) for support.


## Contributing
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/grouplabelencode/compare/).
Flask-EventPlanner 0.3
Event planner extension for Flask
License: MIT

# Flask-Events
Event organizer extension for Flask.

## Usage
Initialize extension by providing Flask and Flask-SQLAlchemy instances.
```python
from flask import Flask
from flask_eventplanner import EventPlanner
from flask_sqlalchemy import SQLAlchemy


app = Flask(__name__)
db = SQLAlchemy(app)
events = Events(app, db)


if __name__ == '__main__':
    app.run()
```
The Flask-Events uses 7 SQLAlchemy models:
- Venue: Facilities that hold events.
- Room: Smaller units of venues that hold programs.
- Event: Event model.
- Program: Scheduled programs of event.
- Organizer: Secondary table for users with organizing rights to event.
- Invitation: Secondary table for users invited to event.
- RSVP: Secondary table for users who submitted an RSVP to event.

These models can be extended using declarative mixin classes `VenueMixin`, `RoomMixin`, etc.
coding-test-foo 2.0.3
coding test package. I am a description.
License: MIT

.. -*- mode: rst; coding: utf-8 -*-

===========================================================
coding-test-foo - a test package for coding.net testing
===========================================================

:Version: 2.0.0
:Date:    2019-11-28
:Source:  https://coding.net
:Author:  Eric Chan <chenxinyu@coding.net>

*coding-test-foo* is a test package for coding.net testing
pyminhook 0.1
MinHook warp of Python
License: MIT
Requires Python: >=3.7

# pyminhook

此库是对[minhook](https://github.com/TsudaKageyu/minhook/)的python包装，仅支持windows。

用法如下

```py
import ctypes
from ctypes import wintypes
from minhook import *
if __name__ == "__main__":

    class TestHook(Hook):
        prototype = ctypes.WINFUNCTYPE(wintypes.HANDLE, wintypes.LPCWSTR)
        modname = 'kernel32'
        apiname = 'GetModuleHandleW'

        def detour(self, lpModuleName):
            print('before hook param', lpModuleName)
            ret = self.fp_orginal(lpModuleName)
            print('after hook ret = %08X' % ret)
            return ret

    h = TestHook()
    print('-' * 32)
    print('call 1 ret = %08X' % h.fp_target('kernel32'))
    print('-' * 32)
    h.disable()
    print('call 2 ret = %08X' % h.fp_target('ntdll'))
    print('-' * 32)
    h.enable()
    print('call 3 ret = %08X' % h.fp_target('user32'))
```

输出如下:

```txt
--------------------------------
before hook param kernel32
after hook ret = 7FF970430000
call 1 ret = 7FF970430000
--------------------------------
call 2 ret = 7FF9718E0000
--------------------------------
before hook param user32
after hook ret = 7FF970120000
call 3 ret = 7FF970120000
```