Saravanan666/pypi-org huggingface dataset:
Package: qim3d
QIM3D (Quantitative Imaging in 3D)qim3Dis a Python library for quantitative imaging analysis in 3D. It provides functionality for handling data, as well as tools for visualization and analysis.This library contains the tools and functionalities of the QIM platform, accessible athttps://qim.dk/platformInstallationInstall the latest stable version by using pip:pipinstallqim3dOr clone this repository for the most recent version.UsageSome basic funtionalites are descibred here. The full documentation is still under development.Loading DataTo load image data from a file, useqim.io.load()importqim3d# Load a filevol=qim3d.io.load("path/to/file.tif")# Load a file as a virtual stackvol=qim3d.io.load("path/to/file.tif",virtual_stack=True)Visualize dataYou can easily check slices from your volume usingslicesimportqim3dimg=qim3d.examples.fly_150x256x256# By default shows the middle sliceqim3d.viz.slices(img)# Or we can specifly positionsqim3d.viz.slices(img,position=[0,32,128])# Parameters for size and colormap are also possibleqim3d.viz.slices(img,img_width=6,img_height=6,cmap="inferno")GUI ComponentsThe library also provides GUI components for interactive data analysis and exploration.
Theqim3d.guimodule contains various classes for visualization and analysis:importqim3dapp=qim3d.gui.iso3d.Interface()app.launch()GUIs can also be launched using the Qim3D CLI:$ qim3d gui --data-explorerContributingContributions toqim3dare welcome! If you find a bug, have a feature request, or would like to contribute code, please open an issue or submit a pull request.LicenseThis project is licensed under the MIT License.
Package: qimage2ndarray
qimage2ndarray is a small python extension for quickly converting
between QImages and numpy.ndarrays (in both directions).  These are
very common tasks when programming e.g. scientific visualizations in
Python using PyQt4 as the GUI library.Supports conversion of scalar and RGB data, with arbitrary dtypes
and memory layout, with and without alpha channels, into QImages
(e.g. for display or saving using Qt).qimage2ndarray makes it possible to create ndarrays that areviewsinto a given QImage’s memory.This allows for very efficient data handling and makes it possible
to modify Qt image data in-place (e.g. for brightness/gamma or alpha
mask modifications).Masked arrays are also supported and are converted into QImages
with transparent pixels.Supports recarrays (and comes with an appropriate dtype) for
convenient access to RGB(A) channels.Supports value scaling / normalization to 0..255 for convenient
display of arbitrary NumPy arrays.qimage2ndarray is stable and unit-tested.
Package: qimp
Qimp![QImP Mascotte](https://github.com/Giacomo-Antonioli/QImP/blob/main/img/QImP.jpg?raw=true)Quantum image manipulation package wrapper for Qiskit.GitHub repo:https://github.com/Giacomo-Antonioli/qimp.gitDocumentation:https://qimp.readthedocs.ioFree software: MITFeaturesTODOQuickstartTODOCreditsThis package was created withCookiecutterand thefedejaure/cookiecutter-modern-pypackageproject template.
Package: qimpy
QimPy (pronounced/'kɪm-paɪ'/)
is a Python package for Quantum-Integrated Multi-PhYsics.Coding styleThe repository provides a .editorconfig with indentation and line-length rules,
and a pre-commit configuration to run black and flake8 to enforce and verify style.
Please install this pre-commit hook by runningpre-commit installwithin the working directory.
While this hook will run automatically on filed modified in each commit,
you can also usemake precommitto manually run it on all code files.Function/method signatures and class attributes must use type hints.
Document class attributes using doc comments on the type hints when possible.
Runmake typecheckto perform a static type check using mypy before pushing code.For all log messages, use f-strings as far as possible for maximum readability.Runmake testto invoke all configured pytest tests. To only run mpi or
non-mpi tests specifically, usemake test-mpiormake test-nompi.Best practice: runmake checkto invoke the precommit, typecheck
and test targets before commiting code.
Package: qimview
Descriptionqimview(qt-based image view) is a set of classes that are designed to visualize and compare images.
It uses Python as the main language, and include some code in C++ or OpenGL shading language.
Main features are:image reader: read type image format (like jpeg and png) and also raw image format (bayer images)image cache: save image reading/uncompressing time by loading previously read image into a bufferimage viewer: different image viewers are availableQT based without OpenGLOpenGL basedimage viewer can have manyfeatures:zomm/pandisplay cursor and image informationdisplay histogrammultiple image viewerto compare a set of imagesvideo vieweris experimental and based on python vlc bindingimagefilterscan be applied:black/white levelsaturationwhite balance
Package: qinfo-gui
qinfo-guiA gui forqinfousingqinfo-pythonandGTK 3.0qinfo-gui has many of the features of qinfo but now automatically updates its information every 3 seconds. Slow operations, like getting package counts, aren't repeated and only happen on inital loading.qinfo-gui uses the same configuration file and (mostly) takes the same configuration options as qinfo.qinfo-gui is currently invery early development. Not too much time has been put into this application.Installationpipinstallqinfo-guiUsage$ qinfo-gui --help 
usage: qinfo-gui [-h] [-c [CONFIG]] [-s]

A gui for qinfo

options:
  -h, --help            show this help message and exit
  -c [CONFIG], --config [CONFIG]
                        Use this config file instead of the one at defualt location.
  -s, --hide_warnings   Hide non-critical warnings
Package: qingcloud-sdk
This repository allows you to accessQingCloudand control your resources from your applications.This SDK is licensed underApache Licence, Version 2.0.NoteRequires Python 2.6 or higher, compatible with Python 3,
for more information please seeQingCloud SDK DocumentationInstallationInstall viapip$ pip install qingcloud-sdkUpgrade to the latest version$ pip install --upgrade qingcloud-sdkInstall from sourcegit clone https://github.com/yunify/qingcloud-sdk-python.git
cd qingcloud-sdk-python
python setup.py installGetting StartedIn order to operate QingCloud IaaS or QingStor (QingCloud Object Storage),
you need applyaccess keyonqingcloud consolefirst.QingCloud IaaS APIPass access key id and secret key into methodconnect_to_zoneto create connection>>> import qingcloud.iaas
>>> conn = qingcloud.iaas.connect_to_zone(
        'zone id',
        'access key id',
        'secret access key'
    )Call API by using IAM roleIf you would like to call our APIs without access key and secret key (bad things would happen if they were lost or leaked)
or if you want a finer access control over your instances, there is a easy way to do it :PGo to our IAM service, create an instance role and attach it to your instance.Create connection without access key and secret key.>>> import qingcloud.iaas
>>> conn = qingcloud.iaas.connect_to_zone(
      'zone id',
       None,
       None
    )The variableconnis the instance ofqingcloud.iaas.connection.APIConnection,
we can use it to call resource related methods. Example:# launch instances
>>> ret = conn.run_instances(
        image_id='img-xxxxxxxx',
        cpu=1,
        memory=1024,
        vxnets=['vxnet-0'],
        login_mode='passwd',
        login_passwd='Passw0rd@()'
    )

# stop instances
>>> ret = conn.stop_instances(
        instances=['i-xxxxxxxx'],
        force=True
      )

# describe instances
>>> ret = conn.describe_instances(
        status=['running', 'stopped']
      )QingCloud QingStor APIPass access key id and secret key into methodconnectto create connection>>> import qingcloud.qingstor
>>> conn = qingcloud.qingstor.connect(
        'pek3a.qingstor.com',
        'access key id',
        'secret access key'
    )The variableconnis the instance ofqingcloud.qingstor.connection.QSConnection,
we can use it to create Bucket which is used for generating Key and MultiPartUpload.Example:# Create a bucket
>>> bucket = conn.create_bucket('mybucket')

# Create a key
>>> key = bucket.new_key('myobject')
>>> with open('/tmp/myfile') as f:
>>>     key.send_file(f)

# Delete the key
>>> bucket.delete_key('myobject')
Package: qingdian
A small tool to check the any absentee.By comparing the left text panel with right text panel and it sort out the missing part.人贤齐(renxianqi aka qingdian)，一个小工具用来查询出席活动的人数是否到齐了。通过比对左边跟右边的内容，计算出左边还有哪些人员没有出席/出现在右边面板。Package hosted on [pypi] and powered by [pypi-seed]Installation / 安装pip install renxianqi国内指定镜像安装：pip install renxianqi -i https://pypi.tuna.tsinghua.edu.cn/simple或者下载清点（qingdian）：pip install qingdianpip install qingdian -i https://pypi.tuna.tsinghua.edu.cn/simpleMore Info人贤齐/万能清点工具，适用于一下场景：清单类内容比较课时出勤点名活动出席情况核对等等场景Authorlevin
Package: qing-framework
Framework for building Data pipelines that scales.Installation====```pip install qing-framework```Usage=====Build your first worker-----------------------``` python# normalizer_worker.pyfrom qing_framework import QingWorkerfrom qing_framework import QingMessage as QMclass Normalizer(QingWorker):def process(self, qs):#do your magicformatted_messages = []# messages from queue named 'dummy' are loaded for you automagically inside the qs variable.while message in qs['dummy']:# Each QingMessage has a payload and now you can create your own after modifying!formatted_message = QM( payload="formatted: " + message.payload )formatted_messages.append(formatted_message)#returned messages are automatically writted to output queue!return formatted_messages`````` python# normalizer_manifest.py# This file describes worker's responsibility and dependencies.{'name':'normalizer','author': 'AlSayed Gamal','version': '0.0.1','description': 'normalizes messages into proper format!','in-queues': ['dummy'],'out-queues': ['normalized'],'activity-rate': '5000','class': 'Normalizer'}```Run worker using CLI--------------------You can start qing as a server and use qing's CLI to run and scale the worker```bash#queen cli and UI for qing framework.qing --help # just in case you needed help.qingd # qing deamon, you will need sudo permissionqing run Normalizer # run a specific workerqing kill Normalizer --job-id=123 #kill specific worker job```Monitor the data-pipeline using Web-UI--------------------------------------```bashqing --webserver --port=8910 # you can view data pipelines, queues, jobs and workers.```
Package: qinglan-bot
青岚Bot基于NoneBot的与Minecraft Server互通消息的机器人介绍命名的灵感来自于我的一位朋友在原插件上加入了动态配置的功能数据库参考HarukaBot安装文档：仍在更新的青岚Bot文档NoneBot2pip install qinglan-bot空目录下使用命令ql runMineCraft Server前往插件Releases下载对应服务端的jar文件并安装jar安装文档可参考MC_QQ命令帮助为防止与其他插件冲突请使用ql帮助来获取帮助获取已连接至 WebSocket 的 MineCraft服务器服务器列表动态控制需要互通的群聊开启互通 Server1开启互通 Server2关闭互通 Server1关闭互通 Server2获取当前群聊开启互通的服务器互通列表为当前群聊设置是否在发送消息到MC时携带群聊名称开启发送群名关闭发送群名服务器在发送消息至群聊时，是否携带服务器名开启服务器名关闭服务器名服务器是否启用Rcon来发送消息或命令Rcon发送 消息和命令 适用于非插件端服务器Rcon发送命令适用于纯插件端开启rcon消息 服务器名丨关闭rcon消息 服务器名开启rcon命令 服务器名丨关闭rcon命令 服务器名修改服务器Rcon连接信息的IP、端口、密码为保障安全，仅限超级用户与Bot私聊使用为保障安全，若rcon密码为默认密码，将不会连接服务器的Rcon修改rconip 服务器名 新ip修改rcon端口 服务器 新端口修改rcon密码 服务器 新密码查看数据库中服务器列表服务器列表查看已经连接至 WebSocket 的服务器列表已连接服务器列表特别感谢@SK-415：感谢SK佬给予许多优秀的建议和耐心的解答。@zhz-红石头：感谢红石头在代码上的帮助SK-415/HarukaBot：感谢HarukaBot如此优雅的各类方法NoneBot2： 插件使用的开发框架。go-cqhttp： 稳定完善的 CQHTTP 实现。贡献与支持觉得好用可以给这个项目点个Star或者去爱发电投喂我。有意见或者建议也欢迎提交Issues和Pull requests。许可证本项目使用GNU AGPLv3作为开源许可证。
Package: qinglongapi
qinglongapi青龙api的python SDK具体文档https://yuxian158.github.io/qinglong-api/使用方法安装pip install qinglongapi所有模块使用方法大同小异，以环境变量模块为例:from qlapi import qlenv

ql_env = qlenv(
    url="12.22.43.23",   #青龙面板IP地址(不包含http://)
    port=5700,			#青龙面板端口
    client_id="admin",  # 青龙面板openapi登录用户名
    client_secret="abcdefg_", # 青龙面板openapi登录密码
)
ql_env.list()青龙api文档https://qinglong.ukenn.top/#/很多还没有完善，欢迎pr
Package: qingmi
Qingmi(青咪， 取自情迷谐音， 有亲昵之意)是一个基于Python3+Flask二次开发的应用层框架， 其内部封装了常用的模块和工具集， 主要用于针对flask web快速高效开发。采用的技术栈：python3flaskWerkzeugmongoengineceleryfabrichttpieFlask-ScriptFlask-WTFflask-mongoengineFlask-LoginFlask-RESTfulFlask-DebugToolbarFlask-Celery-HelperrequestsFlask-CachingFlask-AdminFlask-UploadsipythonPillowclick功能特性：数据统计短信发送邮件发送文件上传验证码静态文件IP处理日志通用模块用户模块权限管理动态配置定时任务(任务调度)通用API第三方登录微信公众平台部署辅助工具helper(加解密[hash/md5]/json/http/ip/日志/正则表达式/时间和日期/…)单元测试用法文档
Package: qingping-ble
Qingping BLEQingping BLE supportInstallationInstall this via pip (or your favourite package manager):pip install qingping-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: qingpi-python
qingpi-pythonPython library for Qingpi.$pipinstallqingpi-pythonqingpictlGUI application to control Qingpi with transparent Window and Citra compatible keyboard operation.Currently, only Windows version is available.Run$qingpictl[port]or$python-mqingpi[port]or using pre-built binary> qingpictl.exe [port]You may create batch file like this if you don't want to specify the port from the command line every time.STARTqingpictl.exe COM6Input mappingButtonControlInputAABSXZYXLQRWZL1ZR2STARTMSELECTNHOMEBPOWERVWIRELESSPHatControlInputUPTRIGHTHDOWNGLEFTFSlidePadControlInputUP<Up>RIGHT<Right>DOWN<Down>LEFT<Left>Circle Pad Pro(not implemented)ControlInputUPIRIGHTLDOWNKLEFTJHotkeysControlInputExpand window+Shrink window-Developer note$poetryrunpython-mqingpi[port]--debugThe build script requires PyInstaller and ImageMagick.$poetryrunpython-mpipinstallpyinstaller$makePyInstaller is not included in the dev group because PyInstaller has a narrower Python version specification than necessary (e.g. v6.3.0 requires "<3.13,>=3.8"), which affects version reqirements of qingpi-python.To avoid security issues,$poetryrunpython-mpipuninstallpyinstaller$gitclonehttps://github.com/pyinstaller/pyinstaller--depth1$cd.\pyinstaller\bootloader\$py.\wafdistcleanall$cd..\..\$poetryrunpython-mpipinstall.\pyinstaller\
Package: qingstor-sdk
# QingStor SDK for Python[![Build Status](https://github.com/qingstor/qingstor-sdk-python/workflows/Unit%20Test/badge.svg?branch=master)](https://github.com/qingstor/qingstor-sdk-python/actions?query=workflow%3A%22Unit+Test%22)
[![API Reference](http://img.shields.io/badge/api-reference-green.svg)](https://docs.qingcloud.com/qingstor/)
[![License](http://img.shields.io/badge/license-apache%20v2-blue.svg)](https://github.com/yunify/qingstor-sdk-python/blob/master/LICENSE)
[![Join the chat](https://img.shields.io/badge/chat-online-blue?style=flat&logo=zulip)](https://qingstor.zulipchat.com/join/nofzrqd5a5skt5ebnaor5b7d/)English | [中文](README_zh-CN.md)The official QingStor SDK for the Python programming language.Before you start using the SDK, make sure you have a basic understanding of the concepts of [QingStor object storage](https://docs.qingcloud.com/qingstor/api/common/overview.html) (such as Zone, Service, Bucket, Object, etc.).This SDK try to keep a one-to-one correspondence with the methods on the [QingCloud QingStor object storage documentation](https://docs.qingcloud.com/qingstor/api/). For details of each method, please refer to the corresponding chapter in the link.## Quick StartNow you are ready to code. You can read the detailed guides in the list below to have a clear understanding.[Preparation](./docs/prepare.md)[Installation](./docs/install.md)[Configuration](./docs/config.md)[Service Initialization](./docs/service.md)[Code Examples](./docs/examples.md)Checkout our [releases](https://github.com/yunify/qingstor-sdk-python/releases) and [change log](./CHANGELOG.md) for information about the latest features, bug fixes and new ideas.## Reference Documentations[QingStor Documentation](https://docs.qingcloud.com/qingstor/index.html)[QingStor Guide](https://docs.qingcloud.com/qingstor/guide/index.html)[QingStor APIs](https://docs.qingcloud.com/qingstor/api/index.html)## ContributingPlease see [Contributing Guidelines](./CONTRIBUTING.md) of this project before submitting patches.## LICENSEThe Apache License (Version 2.0, January 2004).
Package: qiniu-async
安装通过pip$pipinstallqiniu-async使用方法上传importasyncioimportqiniu_asyncq=qiniu_async.Qiniu(access_key,access_secret)token=q.upload_token(bucketname)# 文件流上传asyncio.run(q.upload_data(token,"333.txt","123测试"))# 文件地址上传asyncio.run(q.upload_file(token,"mypic0.jpeg","/Users/liuyue/Downloads/mypic0.jpeg"))### 异步框架接入#### Tornado```pythonimportqiniu_asyncasyncdefpost(self):file=self.request.files['file']formetainfile:filename=meta['filename']q=qiniu_async.Qiniu(access_key,access_secret)token=q.upload_token(bucketname)awaitq.upload_data(token,filename,meta['body'])returnself.write('Your file has been uploaded')
Package: qiniu-cli
qiniu-cliQiniu CLI tool.Installpip install qiniu-cliUsage$ qiniu_cli upload requirements.txt
http://tmp-images.qiniudn.com/requirements.txt

$ qiniu_cli upload --save-dir "comics/2014/" *.png *.txt
http://tmp-images.qiniudn.com/comics/2014/2014-09-25-EveryFall.zh-cn.png
http://tmp-images.qiniudn.com/comics/2014/3014.painting.png
http://tmp-images.qiniudn.com/comics/2014/requirements.txt


$ qiniu_cli --help
Usage: qiniu_cli [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --config FILENAME  Config file(default: config.json).
  --bucket TEXT          Bucket name.
  -v, --verbose          Enables verbose mode.
  --version              Show the version and exit.
  --help                 Show this message and exit.

Commands:
  search  Search file.
  upload  Upload file.

$ qiniu_cli upload --help
Usage: qiniu_cli upload [OPTIONS] FILES...

Options:
  --save-name TEXT  File save name.
  --save-dir TEXT   Upload to directory.
  --auto-name       Auto name file by sh1 hex digest with timestamp.
  --help            Show this message and exit.Changelog0.1.0 (2014-10-12)Initial Release
Package: qiniufops
# Qiniufops------Qiniu bucket image persistent operations> * `qiniufops.cfg`  Configure file,in /etc/qiniu/> * `qiniufops`      python scripts,in /usr/local/bin/------## Usage### set qiniufops.cfg configure file, then run qiniufops.```conf[qiniu]`accesskey:`           Your qiniu access key`secretkey:`           Your qiniu access secret key`bucket:`              Qiniu bucket name[fops]One or more image stylename:style,one per lineexample:`stylename1:style1``stylename2:style2``!qsmalllow:imageView2/1/w/320/h/320/q/60````
Package: qiniufs
Installpip install qiniufsUsage# initbucket_name="your-qiniu-bucket-name"prefix_url="your-qiniu-domain"fs=QiniuFS(bucket_name,access_key,secret_key,prefix_url)# uploadmime=data.mimetyper,d=fs.upload_data(data,mime=mime)ifrandd:key=d.get('key')url=fs.get_url(d.get('key'))# deleter=fs.delete_file(key)ifr:print"success"Linksgithub
Package: qiniu-lite
# coding:utf-8import tornado.ioloopimport tornado.webfrom qiniu_lite import Cowcow = Cow('access key', 'secret key')policy = cow.get_put_policy('bucket name')class MainHandler(tornado.web.RequestHandler):def get(self):self.write('''<html><body><form method="post" action="http://upload.qiniu.com/" enctype="multipart/form-data"><input name="token" type="hidden" value="%s"><input name="file" type="file" /><input name="accept" type="hidden" /><input type="submit" value="涓婁紶" /></form></body></html>''' % policy.token())if __name__ == "__main__":application = tornado.web.Application([(r"/", MainHandler),])application.listen(8888)tornado.ioloop.IOLoop.instance().start()
Package: qinling
NoteQinling (is pronounced “tchinling”) refers to Qinling Mountains in southern
Shaanxi Province in China. The mountains provide a natural boundary between
North and South China and support a huge variety of plant and wildlife, some
of which is found nowhere else on Earth.Qinling is Function as a Service for OpenStack. This project aims to provide a
platform to support serverless functions (like AWS Lambda). Qinling supports
different container orchestration platforms (Kubernetes/Swarm, etc.) and
different function package storage backends (local/Swift/S3) by nature using
plugin mechanism.Free software: under theApache licenseDocumentation:https://docs.openstack.org/qinling/latest/Source:https://opendev.org/openstack/qinlingFeatures:https://storyboard.openstack.org/#!/project/927Bug Track:https://storyboard.openstack.org/#!/project/927Release notes:https://docs.openstack.org/releasenotes/qinling/IRC channel on Freenode: #openstack-qinling
Package: qinteract
IntroAutomatic interaction with a console programAutomatic interaction with a socketInstallpip install qinteractExampleProcessInteractionProgram to be called (want_right.py):# coding:utf8# python3importrandomfirst_num=str(random.randint(0,10))second_num=str(random.randint(0,10))first_input=input('input{}: '.format(first_num))second_input=input('input{}: '.format(second_num))iffirst_num==first_inputandsecond_num==second_input:print('Right!')else:print('Wrong!')Interaction:# coding:utf8# python3fromqinteractimportProcessInteractioncommand=['python','want_right.py']pi=ProcessInteraction(command)foriinrange(2):content=pi.recvuntil_re(r'input (\d+): ')print(content[0])num=content[1].group(1)print(repr(num))pi.sendline(num)content=pi.recvline()print(content)SocketInteractionServer side program (server.py):# coding:utf8# python3importrandomimportsocketimportsys# Create socket objectserversocket=socket.socket(socket.AF_INET,socket.SOCK_STREAM)port=9999# Bind the portserversocket.bind(('',port))# Set the maximum number of connections to queue after exceedingserversocket.listen(5)whileTrue:try:print('Wait for connection...')# Establish client connectionclientsocket,addr=serversocket.accept()print('Connection address: ',addr)first_num=str(random.randint(0,10))second_num=str(random.randint(0,10))clientsocket.send('input{}: '.format(first_num).encode('utf8'))first_input=clientsocket.recv(10).decode('utf8').strip()clientsocket.send('input{}: '.format(second_num).encode('utf8'))second_input=clientsocket.recv(10).decode('utf8').strip()print(first_input)print(second_input)iffirst_num==first_inputandsecond_num==second_input:clientsocket.send('Right!\n'.encode('utf8'))else:clientsocket.send('Wrong!\n'.encode('utf8'))clientsocket.shutdown(socket.SHUT_RDWR)clientsocket.close()exceptKeyboardInterruptasidentifier:print('The program was stopped manually')breakserversocket.close()Interaction：# coding:utf8# python3fromqinteractimportSocketInteractionsi=SocketInteraction('127.0.0.1',9999)foriinrange(2):content=si.recvuntil_re(r'input (\d+): ')print(content[0])num=content[1].group(1)print(repr(num))si.sendline(num)content=si.recvline()print(content)
Package: qinvoke
qinvokeqinvoke - q stands for nothing particular.summaryA web gui for running invoke commands.installpip install qinvokeusageuse qinvoke in place of invoke or import Program from qinvoke instead of invoke.developto release make a tag like v0.1.0 that matches package version.python3 setup.py sdist
python3 -m twine upload dist/*