Saravanan666/pypi-org huggingface dataset:
Package: h-breaker
Head-Breaker 爆头者针对文件恶意扫描解析而生源自ButterAndButterflyButter, 寓意宅男; Butterfly, 寓意美好的事物。美好的世界由我们创造!技术原理可读性破坏当我们解析某类文件(比如.mp4/.jpg)时，往往需要根据该类文件约定俗成的规范进行读取。而不论哪种规范，头部往往是关键。在大多数情况下，更改头部(必要的时候加上尾部)的寥寥几个几十个字节即可使得文件完全无法解析。当然文本除外，缺失几个字节对文本后续阅读基本上没有影响针对某些压缩算法(尤其是不带密码的)，因为有一定的冗余的修复信息，一般密钥需要更长一点，且最好对尾部进行一定的破坏可还原性本项目根据密钥字符串的字节长度，读取文件相应长度的头/尾部，采用逐字节做加法取模的方法进行加密破坏。相应的，自然可以采用逐字节做减法取模的方法进行解密还原。转换速度相比较于各种压缩/加密算法，由于我们只针对密钥长度的文件部分进行破坏/还原，无论文件有多大，速度低于秒级，快的飞起。如何安装pip install --upgrade h-breaker

或者克隆本项目后
pip setup.py install或者前往Release页面下载exe文件如何使用usage: h-breaker [-h] [-breaks | -recover] [-all | -only_tail] path key

version 1.0.0 : 文件头破坏者，用于简单加密文件头/尾部

positional arguments:
  path             待处理的文件路径
  key              密钥

optional arguments:
  -h, --help       show this help message and exit
  -breaks, -b      破坏文件
  -recover, -r     恢复文件
  -all, -a         同时破坏文件头+文件尾
  -only_tail, -ot  仅破坏尾巴举例破坏文件test.mp4，口令字符串为3.1415926h-breaker ./test.mp4 3.1415926还原文件test.mp4(假设已经被破坏，相应的口令字符串为3.1415926)h-breaker ./test.mp4 3.1415926 -r破坏文件test.zip，口令字符串为(需要足够长)12345678901234567890123456789012345678901234567890h-breaker ./test.zip 12345678901234567890123456789012345678901234567890 -a还原文件test.zip(假设已经被破坏，相应的口令字符串为12345678901234567890123456789012345678901234567890)h-breaker ./test.zip 12345678901234567890123456789012345678901234567890 -a -r重要的话为了提高处理速度，我们直接对原文件进行读写操作，而不是再copy一个副本，在进行操作之前请确认文件已经备份！！！如果不小心误操作了，不用慌，记住密钥，使用相反操作即可还原。LICENSEMIT
Package: hbrootcalculator
HB ROOT CALCULATORTHIS IS A SIMPLE ROOT CALCULTOR MODULE YOU CAN EASILY USE ITInstallationpip install hbrootcalculatorUsageimporthbrootcalculatornumber=int(input("HLO ENTER ANY NUMBER: "))root=int(input("CUBE OR SQUARE ROOT : "))ifroot=="2":result=(number**(1/2))else:result=(number**(root))print("RESULT =",result)
Package: hbrs-grader
HBRS GraderA Jupyter Notebook workflow for grading exams at the Hochschule Bonn-Rhein-Siegfor everyone who hates spreadsheets as much as I do.This workflow allows you toimport a csv-file (e.g. obtained from DIAS),enter points for each student for an exam consisting of a specified number of assignments,decide on a passing grade and the limit of a"perfect"grade andcreate publishable results with some additional exam statistics.Check outthis example notebook.
Theexported HTML-documentwill not contain the code cells.Since the export format is HTML and most online teaching tools such as MOODLE or ILIAS support HTML, you can simply copy the HTML source to a text node of your online course.InstallationRunpipinstallhbrs_graderUsageStep 1/3: Create a Notebook from templateRunhbrs-gradercreate2019_MyExamto create a Jupyter notebook called2010_MyExam.ipynbin your current working directory.Step 2/3: Grade your examExecute the newly created notebook usingjupyter-notebookorjupyter-lab:jupyter-notebook./2019_MyExam.ipynbThen just follow the instructions in the code comments. You can add additional code cells if you like, just make sure that all code cells contain the following metadata{"hideCode":true,"hidePrompt":true}so that they don't show up in the published html.Step 3/3: Publish the resultsOnce you are done grading, you can export the notebook to HTML with the following command:hbrs-graderexport-notebook2019_MyExam.ipynb
Package: hbschr-sampleproject
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: hbspark
HBSparkThis project package is meant to be an interface between Hbase and spark that moves information directly from the thrift api to spark rdd.NOTE: THIS PACKAGE IS UNDER HEAVY DEVELOPEMENT AND IS NOT MATURE IN ANY MEANS. BUGS AND CHANGES TO THE API SHOULD BE EXPECTED.Developement environment:The current developement environment is as follows:python 3.6.9happybase 1.2.0pyspark 3.2.0The target development environment is as follows:python 2.7.5happybase 1.2.0(spark) 2.2.0.cloudera1Currently, dependency requirements through the package may be inconsistent. If issues persist, please emulate the developement environment provided above.Packaging:This package has been created following thehttps://packaging.python.org/tutorials/packaging-projects/tutorial.pyproject.toml:Determines dependencies for PIPsetup.cfg:Static configuration for setuptools (packagemanagement)Installation:In order to install the package, pip can be used:pip install hbsparkDocumentationAnd for usage documentation, please refer to thereadthedocspage which includes an in depthAPI.
Package: hbsst
百度搜索提交工具本工具将百度站长API提交的命令集成优化，改成利于使用的Python函数，方便程序调用。本工具由heStudio开发，你可以通过https://www.hestudio.net/前往heStudio博客。结构hbsst.py(主程序, 隐藏)hbsst_config.json(预设文件)hbsst_return.json(系统返回值的文件)使用方法首次使用1.1. 你的设备需要安装Python 3，wget1.2. 安装hbsstpip install hbsst1.3. 在工作目录创建预设1.3.1. 新建 hbsst_config.json 文件1.3.2. 写入预设{"预设名称":"百度站长的API接口调用地址"}例如：{"demo":"http://data.zz.baidu.com/urls?site=https://www.example.com&token=xxxxxxxxx"}调用方法例如：python3 -c "import hbsst;hbsst.submit(config='demo', url='https://www.example.com/1.html')"如果需要提交多个，可以用换行符\n隔开。例如：python3 -c "import hbsst;hbsst.submit(config='demo', url='https://www.example.com/1.html\nhttps://www.example.com/2.html')"获取返回结果返回结果会保存在hbsst_return.json内，在执行命令是结果会直接输出人类可以看懂的文字。开发者可以通过获取success或error的存在状态来判断是否成功提交，可以通过获取error的值来获取错误码。有关hbsst_return.json的内容结构，你可以访问https://ziyuan.baidu.com/linksubmit/index获取。贡献你可以直接提交PR到本仓库。反馈&建议你可以使用以下方法：向本仓库提交Issue在heStudio Talking提交：https://www.hestudio.net/talking赞助https://www.hestudio.net/donate/
Package: hbtn-cli
HBTN-CLIAutomates the Creation of  all necessary files of a project. by supplying one or more URL.Install$python3-mpipinstallhbtn-cliUsage$hbtnsetup$hbtnfetch<projectURL>$hbtn--helpUsage: hbtn [OPTIONS] COMMAND [ARGS]...Create all necessary files of a project. by supplying one or more URL.Options:--help  Show this message and exit.Commands:fetch  Fetch project files and creates them.setup  Create settings.ini.
Package: hbtools
hbtoolsPackage containing a few python utils functions.InstallationThe package is available on pypihereyou can install it with:pip install "hbtools[opencv]"(or simplypip install hbtoolsif not using the image part of the package /pip install "hbtools[opencv-headless]"if using opencv-headless)UsageLoggerfromhbtoolsimportcreate_loggerlogger=hbtools.create_logger("MyLogger",verbose_level="debug")logger.debug("Debug message")Printsfromhbtoolsimportclean_printclean_print("Processing sample (1/10)",end="\r")clean_print("Processing sample (10/10)",end="\n")fromhbtoolsimportyes_no_promptyes_no_prompt("Would you like to continue ?")Imageimportnumpyasnpfromhbtoolsimportshow_imgimg=np.zeros((200,200,3))show_img(img)Additionally, if using a server through ssh, you can install this package with extras for displaying images to the terminal:pip install "hbtools[opencv, terminal]"
Package: hb-tryton-sale-subscription-automatic-post
…InstallDependencies for ArchLinuxsudo pacman -S cairo pkgconf gobject-introspectionDependencies for debiansudo apt-get install libcairo2-dev libgirepository1.0-devInstall the package# installs python deps
pip install hb_tryton_sale_subscription_automatic_post
# install the module
trytond-admin -u sale_subscription_automatic_post --activate-dependenciesInstall the db by hb-tryton-devtoolspip install git+https://gitlab.com/hashbangfr/tryton-modules/hb_tryton_devtools.git#egg=hb_tryton_devtools
export TRYTON_DATABASE_URI=postgresql:///
export TRYTON_DATABASE_NAME=test
hb-tryton-admin create-db --modules sale_subscription_automatic_postTest packageThe package need pytest and hb-tryton-devtoolspip install pytest pytest-cov
pip install git+ssh://git@gitlab.com/hashbangfr/tryton-modules/hb_tryton_devtools.git#egg=hb_tryton_devtoolsRun the test with pytest with environ variableexport TRYTON_DATABASE_URI=postgresql:///
export TRYTON_DATABASE_NAME=test
pytest sale_subscription_automatic_post/testsDesignThis module adds new fields to the Subscription Model and the Sale Configuration
model.The field “Invoice State” of the Subscription Model allows to set, for each
instance of Subscription, to set the state of the invoices that will be
generated : draft, validated or posted.The default value of this field is set by the field “Default Subscription
invoice state” of the Sale Configuration model.UsageSetting the state of the invoices generated by a subscriptionWhen creating a new subscription, select a state (draft, validated or posted) in
the “Invoice State” field, set up all the subscription, quote and run. Then,
when running the Consumption Creation wizard and the Invoice Creation wizard,
all the invoices linked to this subscription will have the state of the “Invoice
State” field of the subscription.Setting the default value of the invoice state of a subscriptionOpen the Sale Configuration menu, and select a state (draft, validated or
posted) in the “Default Subscription invoice state” field. Then, when creating a
new Subscription, the default value of the “Invoice State” will be the value
selected in the Sale Configuration. The value of “Invoice State” is still
editable.When the “Default Subscription invoice state” field is empty, the default value
of “Invoice State” is draft.CHANGELOG1.0.0 (2022-05-17)Added field on subcription to indicate if the invoice will be posted or not.
Package: hbutils
hbutilsSome useful functions and classes in Python infrastructure development.InstallationYou can simply install it withpipcommand line from the official PyPI site.pipinstallhbutilsFor more information about installation, you can refer
toInstallation.FeaturesThe features currently supported byhbutilsincluding:hbutils.algorithm- Some useful classic algorithms.hbutils.binary- Utilities for loading and saving values from binary data. (Still under development)hbutils.collections- Data structures and containers, as well as the tools that go with themhbutils.color- Color model, spaces (RGB, HSV, HLS are supported) and their calculations.hbutils.design- Extendable implements for some useful design patterns in Python.hbutils.encoding- Common encoding, decoding and hash calculations for binary data.hbutils.expression- Expression-based unary logic infrastructure.hbutils.file- Useful utilities for reading and writing files or streams.hbutils.model- Useful utilities for building immutable data model.hbutils.random- Quickly generate various kinds of random value.hbutils.reflection- Magical utilities based on Python imports/object/function/class/module reflections.hbutils.scale- Calculation and parsing of scaled values, such as memory size and timespan.hbutils.string- Simple but useful string processing utilities, such as pluralization and omission.hbutils.system- Operations on current running environment.hbutils.testing- Useful utilities for building unit test.For further information, take a look atHBUtils’s Documentation,
the API Documentation part is just the function and classes included now.This utility set is still under development, more utilities will be added soon afterwards. You
canshare good ideas or suggestions in the issue area, where we can discuss
and develop them further.
Package: hbv-scheduler
Home Based Visit SchedulerChange Log0.1.0 (November 1 2020)Added speciality based routing0.0.9 (November 1 2020)Fixed path related bug issue0.0.8 (November 1 2020)Adding additional code to handle dependecies related bugs0.0.7 (November 1 2020)Returning output as array0.0.6 (November 1 2020)Moved few files to fix bugPython 3.7+ dependencies added0.0.5 (October 31 2020)Optimized a couple of files0.0.4 (October 31 2020)Added dependecies0.0.3 (October 31 2020)Fixing dependecies0.0.2 (October 31 2020)Added routes description and typesReturns an array of results0.0.1 (October 30 2020)First ReleaseScheduler works with multi resource multi job with arbitrary start and end locations
Package: hbx-django-tastypie-mongoengine
This Django application providesMongoEnginesupport fordjango-tastypie.This project is unmaintained. If anyone wants to step up and take over maintenance, please open an issue.Django 1.9+ compatibility fixesFixed ‘self._meta.queryset.query.query_terms’ to return a set instead of dictionary as according to django-tastypie 0.13.3.Replaced ‘SortedDict’ with ‘collections.OrderedDict’ since SortedDict is deprecated as of Django 1.7 & removed in Django 1.9.In the method ‘get_fields’ of class ‘MongoEngineResource’, help_text of field is being retrieved which might not be present. Replaced with conditional retrieval.RequirementsPython2.7+Django1.9+django-tastypie0.13.3+MongoEngine0.10.6+How to use?See documentation:http://django-tastypie-mongoengine.readthedocs.orgSee usage in tests:http://github.com/wlanslovenija/django-tastypie-mongoengine/tree/master/tests
Package: hc
(GitLab CI) -(Travis CI) --hc – holiday converterSupports the following inputs and outputs:Input: German school holidays (HTML tables) fromhttp://www.schulferien.org/Input and output: (School) holidays format used byopening_hours.jsSupports the following data serialization languages:YAMLJSONRepositoriesGitLab(primary repo with issue tracker)GitHub(mirror)DocumentationRead the DocsAuthorsRobin SchneiderLicenseGNU Affero General Public License v3 (AGPL-3.0)
Package: hca-bundle-jsonld
Representing HCA Bundles as JSON-LD allows them to be easily converted
to RDF and queried using SPARQL. This software, when combined with a
graph or triplet store can provide semantic data models that allow for
an expressive query interface.UsageThe “bundle_to_rdf” module presents a method for converting HCA
bundles to RDF ttl files.import requests
import bundle_to_rdf

DSS_URL = "https://dss.dev.data.humancellatlas.org/v1"
bundle_uuid = "4be0071d-b36e-4414-a7ee-7b879f60be7c"

r = requests.get("{}/bundles/{}?replica=aws".format(DSS_URL, bundle_uuid))
bundle = r.json()

file_name = bundle_to_rdf.bundle_to_rdf(bundle)
print(file_name)A file is created in the current working directory with a filename
following the pattern:{bundle_uuid}.ttl.This file can then be loaded into a triplet store of your choosing. For
an example of usage with BlazeGraph, check out theexample-usage.ipynb.DevelopmentThis module should make as few assumptions about the DSS data model as
possible. Future developments would use this module as part of a service
to either create RDF that can be queried directly, or loaded into a
graph store like Blazegraph or Amazon Neptune.TODOAdd unit tests, the module currently relies on active connections to
the DSSImprove example notebook with biological use casesDemonstrate using the SPARQL and RDF interface to demonstrate tabular
representationsIntegrate into a microservice for generating RDF from bundles on the
flyContributingPlease add any issues you experience to our Github issue tracker!This software is Open Source, Apache licensed, send in your changes!
Package: hcai-models
DescriptionThis repository contains code to make readly deploy pretrained machine learning model from the Chair forHuman-Centered Artificial Intelligence at the University of AugsburgCurrently available ModelsImage ModelsModelStatusWeightsUrlEfficientNetB0✅imagenethttps://keras.io/api/applications/EfficientNetB2✅imagenethttps://keras.io/api/applications/EfficientNetB1✅imagenethttps://keras.io/api/applications/EfficientNetB3✅imagenethttps://keras.io/api/applications/EfficientNetB4✅imagenethttps://keras.io/api/applications/EfficientNetB5✅imagenethttps://keras.io/api/applications/EfficientNetB6✅imagenethttps://keras.io/api/applications/EfficientNetB7✅imagenethttps://keras.io/api/applications/InceptionV3✅imagenethttps://keras.io/api/applications/BlazeFace✅ls3d-whttps://arxiv.org/abs/1907.05047S3FD✅ls3d-whttps://arxiv.org/abs/1708.05237
Package: hcai-models-nightly
DescriptionThis repository contains code to make readly deploy pretrained machine learning model from the Chair forHuman-Centered Artificial Intelligence at the University of AugsburgCurrently available ModelsImage ModelsModelStatusWeightsUrlEfficientNetB0✅imagenethttps://keras.io/api/applications/EfficientNetB2✅imagenethttps://keras.io/api/applications/EfficientNetB1✅imagenethttps://keras.io/api/applications/EfficientNetB3✅imagenethttps://keras.io/api/applications/EfficientNetB4✅imagenethttps://keras.io/api/applications/EfficientNetB5✅imagenethttps://keras.io/api/applications/EfficientNetB6✅imagenethttps://keras.io/api/applications/EfficientNetB7✅imagenethttps://keras.io/api/applications/InceptionV3✅imagenethttps://keras.io/api/applications/BlazeFace✅ls3d-whttps://arxiv.org/abs/1907.05047S3FD✅ls3d-whttps://arxiv.org/abs/1708.05237
Package: hcam-drivers
hcam_driversprovides Python tools for interfacing with the HiperCAM high-speed
camera.hcam_driversis written in Python and is based on TKinter. It should be
compatible with Python2 and Python3.InstallationThe software is written as much as possible to make use of core Python
components. The third-party requirements are:My ownhcam_widgetspackage;astropy, a package for astronomical calculations;twisted, a package for asynchronous programming;autobahn, a package to use the Web Application Messaging Protocol (WAMP);tornado, used for file server which allows remote access to observing data;pyamlandconfigobjfor loading config files andpymodbus(Python 2) orpymodbus3(Python 3) for talking to the flow-rate monitor.Usually, installing with pip will handle these dependencies for you, so installation is a simple matter of typing:pip install hcam_driversor if you don’t have root access:pip install --prefix=my_own_installation_directory hcam_driversFor more information, see:The documentationThis packages’ Github code repositoryHistory0.1.0 (2017-02-11)First release on PyPI.
Package: hcam-finder
hcam-finderObservation planning and finding charts for HiPERCAM, ULTRACAM and ULTRASPECThehcam_finderpackage provides Python scriptshfinder,ufinderandusfinderfor observation planning with HiPERCAM on the WHT and GTC, ULTRACAM on the NTT and
ULTRASPEC on the TNT, respectively.These tools allow you to generate finding charts as well as specify the instrument setup
you require, whilst providing an estimate of observing cadence, exposure time and
S/N estimates.NoteCreating a finding chart and instrument setup for the above instruments are more
tightly connected than is usually the case with CCD imagers. To avoid errors in
phase II setups, youmustuse the tools above to generate finding charts. By
doing so, and reading the instrument-specific documentation below, you will avoid
the non-optimal phase II setups that arise from a lack of awareness of the peculiarities
of imagers designed for high time resolution.hcam_finderis written in Python and is based on TKinter. It should be compatible
with Python2 and Python3.InstallationThe software is written as much as possible to make use of core Python
components. It requires my ownhcam_widgetsmodule.
It also relies on the third party librariesastropyfor astronomical
calculations and catalog lookup, as well asgingafor
image display. Optionally, you can also useastroqueryto expand
the range of surveys one can download images from.Installing usingpipshould take care of these dependencies. Simply install with:pip install hcam_finderor if you don’t have root access:sudo pip install hcam_finderor:pip install --user hcam_finderFree software: MIT licenseDocumentation:https://hcam-finder.readthedocs.io.History0.1.0 (2017-02-11)First release on PyPI.
Package: hc-amo
wradvis_hc_amo minhcuong.todayminhcuong.today
wradvis is intended as an application based on thewradliblibrary.Its prime motivation is to provide a convenient application for viewing weather radar data.
However, wradvis might also contain simple analytical features, e.g. for computing zonal statistics.Right now, wradvis is still in the design process. Further information will follow once we have a basic prototype.
Package: hcam-widgets
hcam-widgetsTkinter Widgets for HiPerCAM toolshcam_widgetsprovides a set of TKinter widgets and utility functions for writing tools to
plan and carry out HiPERCAM observations. The idea is to create a lightweight and easily-installed
collection of common widgets. It is compatible with Python2 and Python3.InstallationThe software is written as much as possible to make use of core Python components. It relies
on the third party libraryastropyfor astronomical calculations.Once you have installed astropy, install with the usual:pip install .or if you don’t have root access:pip install --user .Optional package dependencieshcam_widgetssupports several other tools, such as the finding chart toolhfinderand the
instrument control GUIhdriver. Most users will need no extra modules installed. However,
If you want to be able to runhdriver,andyou want full communication with the telescope
whilst running at the GTC, you need to install the CORBA implementationomniORBpy.Full install instructions are found at the omniORB projecthomepage.
Be sure to install both omniORB and omniORBpy. Also, the omniORBpy module and the lib64 variant must
both be in thePYTHONPATH. Finally, communicating with the GTC requires the installation of
Interface Definition Language (IDL) files, and the python modules compiled from them. Contact S. Littlefair
for these files, which must also be in thePYTHONPATH.Free software: MIT licenseHistory0.1.0 (2017-02-11)First release on PyPI.
Package: hcaptcha
hcaptchahcaptcha is a Python module (unofficial) that provides an easy-to-use interface for verifying hcaptcha responses using the hcaptcha verification API.InstallationYou can install hcaptcha using pip:pipinstallhcaptchaUsageTo use hcaptcha, you'll need an hcaptcha secret key for your site. You can get one by signing up for an account athcaptcha website.fromhcaptcha.hcaptchaimportHCaptchaVerifier,HCaptchaVerificationErrorimportasyncio# Initialize the verifier with your hcaptcha secret keyverifier=HCaptchaVerifier(your_hcaptcha_secret_key)# Verify an hcaptcha response# You can use await instead of asyncio.run if you are in a async functiontry:is_valid=asyncio.run(verifier.verify(user_response_token))ifis_valid:print("Captcha verified successfully.")else:print("Captcha verification failed.")exceptHCaptchaVerificationErrorase:print(f"Verification failed with error:{str(e)}")DocumentationDocumentation for hcaptcha is availablehereContributingIf you find a bug or have a feature request, please open an issue onGitHub.Licencehcaptcha is distributed under the MIT License. See LICENSE for more information.