Saravanan666/pypi-org huggingface dataset:
Package: yaycl-crypt
# yaycl Encrypted Yaml SupportA [yaycl](https://github.com/seandst/yaycl) plugin to seamlessly load encypted yamls,as well as helper methods for encrypting and decrypting yaycl yamls.# Usage```python# Set the crypt key one of these ways:conf = yaycl.Config('/path/to/yamls', crypt_key='my secret')conf = yaycl.Config('/path/to/yamls', crypt_key_file='/path/to/a/file/containing/my/secret')# Or set them after instantiating conf if you like (but it's a little less pretty):conf._yaycl['crypt_key'] = 'my secret'conf._yaycl['crypt_key_file'] = '/path/to/a/file/containing/my/secret'# Or set the correspnding environment vars before loading python:# - YAYCL_CRYPT_KEY corresponds to 'crypt_key' kwarg# - YAYCL_CRYPT_KEY_FILE corresponds to 'crypt_key_file' kwarg# Assuming you've loaded "test.yaml" from your yaml conf dir,# this will encrypt it and remove the unencrypted version:yaycl_crypt.encrypt_yaml(conf, 'test')# Encrypted yamls have the extension '.eyaml', and (assuming the crypt key is set)# will be loaded just like an unencrypted yaml. If the yaml being loaded has no extension,# yaycl_crypt will append the extension '.e' to the unencrypted yaml name# To decrypt:yaycl_crypt.decrypt_yaml(conf, 'test')# As before (but going the other way), the .eyaml file will be deleted,# leaving just the unencrypted yaml file in the conf dir```# Notes- If both an encrypted an unencrypted yaml exist, `yaycl_crypt` will issue a warningand punt to the next `yaycl` loader, which is most likely the default loader. Thismeans the unencrypted yaml gets loaded, under the assumption that an unencrypted yamlnext to an encrypted yaml probably means the unencrypted yaml is being actively edited.- If `yaycl_crypt.decrypt_yaml` is called, and an unencrypted yaml already exists,`yaycl_crypt` will refuse to overwrite the existing unencrypted conf, again under theassumption that the unencrypted conf is being actively worked on. If it isn't, thesimplest way to remove it is likely to encrypt it first to delete the unencrypted file,then decrypt it.- `yaycl_crypt.encrypt_yaml` has no similar qualms about overwriting encrypted yamls, sincethe most likely reason for using this function is to write config changes in a recentlyunencrypted config file.- Both `encrypt_yaml` and `decrypt_yaml` take a `delete` kwarg, which defaults to `True`.If set to `False`, `encrypt_yaml` will *not* delete the unencrypted config of the samename, and `decrypt_yaml` will similarly *not* delete its encrypted counterpart.- `yaml_crypt` isn't guaranteed to be completely "secure"; its main goal is to obfuscateconfiguration files with private data in a way that is not trivial to circumvent.Anyone with access to a python interpreter that can read your eyaml files has accessto your secret key.[![Coverage Status](https://coveralls.io/repos/seandst/yaycl-crypt/badge.svg?branch=master)](https://coveralls.io/r/seandst/yaycl-crypt?branch=master)[![Build Status](https://travis-ci.org/seandst/yaycl-crypt.svg?branch=master)](https://travis-ci.org/seandst/yaycl-crypt)
Package: yay-digitalsparky
# python-yaySimple Python interface to Arch Linux ‘yay’ package management interface### ExamplesRefresh master package list:yay.refresh()Install a package:yay.install(“php”)Remove a package:yay.remove(“php”, purge=True)Upgrade all packages:yay.upgrade()List all installed packages:yay.get_installed()(returns dict of id, version, upgradable status)List all available packages:yay.get_available()(returns dict of id, version, repo name)Get info for a package:yay.get_info(“php”)(returns dict, info labels as keys)Get uninstalled dependencies of a package:yay.needs_for(“php”)(returns list of package names)Get installed packages that depend on this one:yay.depends_for(“php”)(returns list of package names)Check if a package is installed:yay.is_installed(“php”)(returns bool)All functions that allow a package name as parameter (exceptget_info) will accept either a single package name or a list of multiple names.
Package: yayes
# Yayes Data Patching### Overview:
Yayes patching was designed to repair erroneous entries in data streams while maintaining accuracy of overall trends. The yayes package is most powerful in situations where users see sudden, temporary drops in variables’ values that then return to correct variable values (i.e. discrepancies in variable values that may be caused by missing data or data input errors). This method was inspired by the logic behind max-pooling insofar as high values of data often contain more meaningful information and that lower values of data may more often be discarded without losing relevant information.Yayes is not intended to resolve all data errors and should only be applied intentionally to those specific contexts where it defensibly improves subsequent analyses.### Example Code> import yayes> df[yayes_col] = yayes(col_to_yayes)#### Inputs:x: a pandas Series or numpy array on which yayes will be applied.continue_walk_thresh: a float between 0 and 1 that determines whether to continue walking along trough or not.  If the function sees an increase that is larger than continue_walk_thresh * (the initial difference that triggered the process), the walk stops.max_walk_range: an (optional) integer > 0 that stops the walking process if the function has traversed at least max_walk_range steps.final_entry_lift: a boolean that determines whether whether to apply the yayes process to the last entry in the array.final_entry_lift_thresh: a float between 0 and 1.  If final_entry_lift_thresh * (the second to last value in the array) is greater than or equal to the amountdropped at the final entry, apply the yayes process.#### Output:x: The input (numpy) array after the yayes process has been applied### Data Patching Logic
The Yayes patcher takes in an array and calculates a difference array. The patcher then traverses the array and only activates once a negative difference occurs. If a second negative difference occurs, the walker deactivates. Otherwise, the walker continues navigating the array for as long as the values do not differ significantly. Once a significant increase is observed, the walker determines the magnitude of the increase and either marks the gap to be patched or deactivates. Patching is done by calling a separate function that applied a linear transformation between two points of the array. After patching, the walker restarts traversing the array after the point of initial activation.## ContactCorrespondences can be direct togsyann@berkeley.eduandhayesjosh@alumni.stanford.edu.
Package: yayson
Yay, beautiful JSON on the command line!yaysonwill take input onstdinand print pretty JSON with color in your terminal. It will come out something like this:![Example Yayson output](http://sebdah.github.com/yayson/img/screenshot.png)Example usagecat my.json | yayson.pyorcurl -shttp://www.example.com/my.json| yayson.py–helpoutputusage: yayson.py [-h] [-i INDENT] [-c] [-s] [–version]Yayson produces beautiful JSONoptional arguments:-h,--helpshow this help message and exit-iINDENT,--indentINDENTNumber of spaces to indent with (default: 2)-c,--compactPrint JSON in compact mode, i.e. without spaces
between keys and values-s,--sortTurn on key sorting--versionPrint version informationRelease information0.3.1 (2015-03-23)[Library support (#6)](https://github.com/sebdah/yayson/issues/6). Thanks [@Macropin](https://github.com/macropin) for the PR.0.3.0 (2013-05-23)[Small fix for Python 3 (#5)](https://github.com/sebdah/yayson/issues/5). Thanks [@Fiedzia](https://github.com/Fiedzia) for the PR.0.2.0 (2013-04-08)[Set default indenting to 2 spaces (#2)](https://github.com/sebdah/yayson/issues/2)[Add compact mode (#1)](https://github.com/sebdah/yayson/issues/1)0.1.0 (2013-04-07)Initial releaseReleasing to PyPImake releaseAuthorThis project is maintained by [Sebastian Dahlgren](http://www.sebastiandahlgren.se) ([GitHub](https://github.com/sebdah) | [Twitter](https://twitter.com/sebdah) | [LinkedIn](www.linkedin.com/in/sebastiandahlgren))
Package: yaytarch
yaytarchYet Another YouTube Archival (tool)Yaytarch is a local library tool that allows you to watch content which you downloaded, locally from your browser.
It tries to fill a big gap of low resource intensive media libraries, and the use case is to bring my disorder of downloaded videos and playlists to an neat end.It is a yt-dlp frontend built with python & flask and it allows you to:Download and update videos from the browser or CLIDownload and update playlists from the browser or CLIBrowse and watch videosCreate local collections of videosBrowse self contained folders(Soon) import local videos!Collections viewVideo list viewVideo viewPrerequisites:Make sure you have ffmpeg installed, both yt-dlp & yaytarch need it.Installation:You can choose to install the official release from PyPi or you can also build your own version:Installation through pypi:Fetch and install yaytarch and its dependencies:pip install yaytarchAnd you're good to go, you can skip manual installation!Build and install manually and locally:Clone the repository:git clone https://github.com/absolutelyrelative/yaytarch.gitBuild wheel:python -m build --wheela dist/yaytarch-xx.whl will be generated.Install wheel:pip install yaytarch-xx.whlUsage:The usage is divided in usage with a database '(DB)' sections of the usage, and in usage with local, directory mode.(Folder) Download to folder:If you prefer not to work without any database, you can download videos locally:yaytarch -d LINK(Folder) View a folder:Within the folder run:yaytarch -fA browser window will be automatically opened.(DB) Initialise configuration:In order to run the app, a default download location needs to be given:flask --app yaytarch init-db C:\PATH\TO\STORAGE\(DB) View videos:In order to browse videos locally you can use:yaytarchorflask --app yaytarch runNOTE: THIS is NOT the correct approach for deployment to a server. You NEED to set-up a correct secret key!
Further information will come, for now seehttps://flask.palletsprojects.com/en/2.3.x/tutorial/deploy/#build-and-installI take no responsibility in bad usage!(DB) Download video, playlist, or channel:You can download videos via CLI or UI by pressing the + button.Playlists will be organised automatically, single videos will be saved to the generic 'All Videos' category.flask --app yaytarch dl LINK(DB) Lazy restore:In case of any issue, you can always re-initialise the database and restore your previous progress. There will be two restore options, this is the so called 'lazy restore' which works by folder discovery. It should be used mainly when the database is unavailable.
It can also be used to add local videos to the database, but a better way to do so will come soon.flask --app yaytarch lazyrestore C:\PATH\TO\VIDEOSFuture features:A less bad CSS / Style.Others (will specify soon when I import my todo list)
Package: yb-cassandra-driver
A modern,feature-richand highly-tunable Python client library for YugaByte DB’s Cassandra compatible YCQL API using Cassandra’s binary protocol and Cassandra Query Language v3.The driver supports Python 2.7, 3.3, 3.4, 3.5, and 3.6.Note:This driver does not support big-endian systems.Feedback RequestedPlease provide feedback by opening an issue on github.FeaturesSynchronousandAsynchronousAPIsSimple, Prepared, and Batch statementsAsynchronous IO, parallel execution, request pipeliningConnection poolingAutomatic node discoveryAutomatic reconnectionConfigurableload balancingandretry policiesConcurrent execution utilitiesObject mapperConnecting to DataStax Astra database (cloud)DSE Graph execution APIDSE Geometric type serializationDSE PlainText and GSSAPI authenticationInstallationInstallation through pip is recommended:$ pip install yb-cassandra-driverFor more complete installation instructions, see theinstallation guide.DocumentationA couple of links for getting up to speed:Getting started guideAPI docsPerformance tipsContributingSeeCONTRIBUTING.md.Reporting ProblemsPlease report any bugs and make any feature requests on github.Getting HelpFor help on this product, please open a github issue.LicenseCopyright 2018, YugaByte Inc.Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: ybckit
This library wraps easygui, matplotlib and media operation for yuanfudao web python environment.GUI Documentybckit supports the following easygui api for now:buttonboxenterboxpasswordboxfileopenboxdiropenboxbuttonboxEach of those api has the same method signature expectrootparams because web environment doesn’t support it.For example:importeasyguieasygui.enterbox(msg='Enter something.',title='any title',default='foo')And run this code:python-mybckit.runnertest.pyThe full document of easygui can be found here.LicenseMIT.
Package: ybconfig
yb_configThis module is for managing configuration data for Python projects.Web ConfigurationThis is for general web applications and basic Python programs. Importing the configuration object can be
done with the following code:fromybconfigimportWebConfigconfig_data=WebConfig()TheWebConfigclass is a Singleton meaning that once theWebConfigclass is initialized, it will
not be initialized again throughout the rest of the program's lifetime. Every call to aWebConfiginstance will point to the same memory address so the data will be consistent across allWebConfiginstances.Setting up environmentTheWebConfigclass can load from either a YML file or environment variables. If we are going to load
from a YML file, we need to make sure that the path to the YML file is the last argument passed into the
Python file like so:pythonsome_file.py./path/to/config.ymlIf we want to not have a YML file but get our config variables from environment variables then the config file
path is not needed. Instead, we need to state that the environment variableENVIRONMENT_CONFIGtoTRUE.Getting variablesGetting variables from the config data is done using thegetfunction with the following parameters:param key:strthe key that the variable is stored underparam file:boolif set to True will force to get data from a yml file despite defaultsparam environboolif set to True will force to get data from the environment variables despite defaultsparam strictboolif set to True will throw an error if the key is not present
Package: yboss
Python wrapper for Yahoo Boss APIFree software: BSD licenseDocumentation:http://yboss.rtfd.org.Installpip install ybossUsagefrom yboss import YBoss
boss = YBoss(key=key, secret=secret)
results = boss.search("Solar Filter")
for result in results:
    print result

{u"abstract": "...long text...",
 u"clickurl":"http://...",
 u"clickurl":"http://...",
 u"date": "",
 u"title": u"Solar Filter page etc..",
 u"url": "http://....."}

print result.url
u"http://....."FeaturesAuthenticate and search in YBoss APIHistory0.1.0 (2014-03-28)First release on PyPI.
Package: yb-python-jenkins
Python Jenkins is a python wrapper for theJenkinsREST API which aims to provide a more conventionally pythonic way of controlling
a Jenkins server.  It provides a higher-level API containing a number of
convenience functions.We like to use python-jenkins to automate our Jenkins servers. Here are some of
the things you can use it for:Create new jobsCopy existing jobsDelete jobsUpdate jobsGet a job’s build informationGet Jenkins master version informationGet Jenkins plugin informationStart a build on a jobCreate nodesEnable/Disable nodesGet information on nodesCreate/delete/reconfig viewsPut server in shutdown mode (quiet down)List running buildsDelete buildsWipeout job workspaceCreate/delete/update folders[1]Set the next build number[2]Install pluginsand many more..To install:$ sudo python setup.py installOnline documentation:http://python-jenkins.readthedocs.org/en/latest/DevelopersBug report:https://bugs.launchpad.net/python-jenkinsRepository:https://git.openstack.org/cgit/openstack/python-jenkinsCloning:git clonehttps://git.openstack.org/openstack/python-jenkinsPatches are submitted via Gerrit at:https://review.openstack.org/Please do not submit GitHub pull requests, they will be automatically closed.The python-jenkins developers communicate in the#openstack-jjbchannel
on Freenode’s IRC network.More details on how you can contribute is available on our wiki at:http://docs.openstack.org/infra/manual/developers.htmlWriting a patchBe sure that you lint code before created an code review.
The easiest way to do this is to install gitpre-commithooks.Installing without setup.pyThen install the required python packages usingpip:$ sudo pip install python-jenkinsFootnotes[1]The freeCloudbees Folders Pluginprovides support for a subset of the full folders functionality. For the
complete capabilities you will need the paid for version of the plugin.[2]TheNext Build Number Pluginprovides support for setting the next build number.
Package: ybt
YaBT: Yet another Build ToolInstallRequires Python 3.8 or above, so make sure you have it (type -P python3 && python3 -V).sudoapt-getinstall-ypython3-devpython3-pip
sudopip3install--upgradepip
sudopip3installybtTo configure bash tab-completion, add the following line to your.bashrc:eval"$(register-python-argcompleteybt)"DevelopmentRequires Python 3.8 or above, so make sure you have it (type -P python3 && python3 -V).Recommended withvirtualenvwrapper.Initial virtualenv setup with virtualenvwrapper (when no virtualenv is active, rundeactivateto make sure):sudoapt-getinstall-ypython3-devpython3-pip
mkvirtualenv--python="$(type-Ppython3)"yabtcd$WORKON_HOME/yabt
gitclonegit@github.com:resonai/ybt.gitcdybt# install development requirementspipinstall-rrequirements.txt# install YaBT itself in local dev mode (in the virtualenv)pipinstall-e.You should be good to go now.Try by running unit tests or manual test cases:workonyabtcd$WORKON_HOME/yabt/yabt# Run unit tests:maketest# Some manual tests:cdtests/dag
ybttree
ybtbuildcd../simple
ybttree# this one requires a running Docker engine,# and the current user to be a member of the docker groupybtbuild
Package: ybwNB
ybw's PackageThe packge include 2 parts nowabbreviationbin toolsabbrevationcv2.imshow()->im_show()os.mkdir()->mkdir()os.mkdirs()->mkdirs()os.path.join->j各个函数都进行了人性化的改动，调用更加便捷。bin toolssb类(string&bytearray)拥有.str和.btar两个属性，方便操作abc：小写字母ABC：大写字母chSet：range(32,128)Xor函数：对两个bytes串进行异或
Package: yc1175-indicator
YC1175 Indicator - Sonoff iHostA library that implements the serial protocol for communication with the
indicator module on the Sonoff iHost. This module controls the 4 buttons
and the main RGB indicator.WARNING: This is only useful if you have flashed linux or HAOS on your iHost.Installationpip install yc1175-indicatorCLI UsageFor convience you can control the LED's from the CLI wrapper.$indicator-cli<led_index>--effect<effect_num>--rgb<rgbtuple>Example:$indicator-cli4--effect2--rgb00255Print LED and effect codes:$indicator-cli--listLibrary Usageimportasynciofromyc1175_indicatorimportindicatorasyncdeftest_callback(idx,event):print(f"Button press:{idx}, type:{event}")asyncdefmain():my_yc=indicator.HassAPI()awaitmy_yc.setup()my_yc.register_event_callback(test_callback)rgb=(0,0,255)yc.light_on(4,1,rgb)try:# wait for button pressawaitasyncio.sleep(30)exceptasyncio.CancelledError:passyc.light_off(4)if__name__=="__main__":asyncio.run(main())SupportIf you would like to help support further development of myHAOS for iHostproject consider buying me a coffee!
Package: ycat
Installpip install ycatexample~$ cat /tmp/test2.yml
---
mappings:
  templates:
  - fields:
      mapping:
        norms: false
        type: text
        fields:
          keyword:
            ignore_above: 256
            type: keyword

~$ ycat
USAGE:
        cat some.yaml | ycat
        ycat some.yaml

~$ ycat /tmp/test2.yml
.mappings.templates[0].fields.mapping.norms = False
.mappings.templates[0].fields.mapping.type = "text"
.mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256
.mappings.templates[0].fields.mapping.fields.keyword.type = "keyword"
Package: ycc
ycctime-2020-2021y是圆的意思,第一个c指代Cylinder(圆柱),第二个c指代Ring（圆环）,第三个c是指Cylinder（圆柱)A three-circle calculator, It contains Circle Circles and Cylinders.
It is in Chinese.If you konw how to speak and write or mean these,you can useThe project is about Circle , Circular ring and Cylinder
This project is in Chinese version and is for mainland China only中文版请自行翻阅本项目的README.mdInstall and Upgrade and  run使用``pip``下载:$pip install ycc使用``pip``更新:pip install --upgrade ycc运行run :$ yccuse in shell or Terminal
ycc in terminal
就只输入这三个字母
在终端或cmd运行这几个命令Tips and Rules for all请到本项目的RANDME.md查看中文或自行翻译Please comply with local laws and regulations,User only has the right to useThe final interpretation belongs to the authorFor mainland China only.
You can see or read the log in log.py
This means that you have read and agreed to all the above regulations.MADE IN CHINA,From a Chinese middle school studentOnly a student,No team, no teachers, No computer, There’s only one smartphone.I compiled this project with pydroid, and I’ve been preparing for a year.Do not steal the source code, in China, there are lawsThe user’s violation of the law has nothing to do with the authorThe Peoject in ChineseWhen you use this module and there is a program error, you can find me by the e-mailmy qq emali address:3046479366@qq.com:When you are using this project,You will agree to the following.

1.Follow your local laws and don't break the law. If you break the law, the author will not take any responsibility

2.When you use the project,please reasonable use .

If you find bugs when you're using the project,you can send a emali to 3046479366@qq.com

3.The final interpretation belongs to the author .

4.Don't steal the source code, if you find someone stealing my source code, you can tell me by email

, I will give you some compensation
5.You should know the project is make from a ChinesePython for Androidpydroidis a not bad app,I always use it..._using使用方法:https://blog.csdn.net/m0_55474082/article/details/113996741.._Download Url下载链接:https://www.lanzoux.com/b01zxzwhe下载链接中两个密码都是pythonNew1.倒计时动态化2.优化显示3.增加加载进度条4.新的徽标EnglishThe countdown is dynamic.Optimize the display3.Load the progress bar4.New Logo