Saravanan666/pypi-org huggingface dataset:
Package: yccloudpickle
# cloudpickle[![Build Status](https://travis-ci.org/cloudpipe/cloudpickle.svg?branch=master)](https://travis-ci.org/cloudpipe/cloudpickle)[![codecov.io](https://codecov.io/github/cloudpipe/cloudpickle/coverage.svg?branch=master)](https://codecov.io/github/cloudpipe/cloudpickle?branch=master)`cloudpickle` makes it possible to serialize Python constructs not supportedby the default `pickle` module from the Python standard library.`cloudpickle` is especially useful for cluster computing where Pythonexpressions are shipped over the network to execute on remote hosts, possiblyclose to the data.Among other things, `cloudpickle` supports pickling for lambda expressions,functions and classes defined interactively in the `__main__` module.Installation------------The latest release of `cloudpickle` is available from[pypi](https://pypi.python.org/pypi/cloudpickle):pip install cloudpickleExamples--------Pickling a lambda expression:```python>>> import cloudpickle>>> squared = lambda x: x ** 2>>> pickled_lambda = cloudpickle.dumps(squared)>>> import pickle>>> new_squared = pickle.loads(pickled_lambda)>>> new_squared(2)4```Pickling a function interactively defined in a Python shell session(in the `__main__` module):```python>>> CONSTANT = 42>>> def my_function(data):...    return data + CONSTANT...>>> pickled_function = cloudpickle.dumps(my_function)>>> pickle.loads(pickled_function)(43)85```Running the tests------------------ With `tox`, to test run the tests for all the supported versions ofPython and PyPy:pip install toxtoxor alternatively for a specific environment:tox -e py27- With `py.test` to only run the tests for your current version ofPython:pip install -r dev-requirements.txtPYTHONPATH='.:tests' py.testHistory-------`cloudpickle` was initially developed by [picloud.com](http://web.archive.org/web/20140721022102/http://blog.picloud.com/2013/11/17/picloud-has-joined-dropbox/) and shipped as part ofthe client SDK.A copy of `cloudpickle.py` was included as part of PySpark, the Pythoninterface to [Apache Spark](https://spark.apache.org/). Davies Liu, JoshRosen, Thom Neale and other Apache Spark developers improved it significantly,most notably to add support for PyPy and Python 3.The aim of the `cloudpickle` project is to make that work available to a wideraudience outside of the Spark ecosystem and to make it easier to improve itfurther notably with the help of a dedicated non-regression test suite.
Package: ycc-test
sycctime:2020-2021sycc:s是Simplify或Sphere(球体)的意思,y是圆的意思,第一个c指代Cylinder（圆柱）,第二个c指代Ring（圆环）+-+-+-+-+-+-+-+-+-+-虹源三式:代表着只是个人第一次编辑的代码程序，虹代表作者写了许多为让运行程序能看到彩色字体而写了许多让程序颜色不那么单一的代码。
而本程序是用来辅助计算圆面、圆环、圆柱、球体以目前作者知识量制作后续可能会更新圆锥等规则几何物体。虹源三式这个名字则代表拥有运行可见彩色字体源自个人制作编写的三种(已更新为四种)几何图形计算方式。+-+-+-+-+-+-+-+-+-+-LogoDescription <span style=”color:#ff0000”>test html code，请等待下一次更新</span>特点1.不会显得那么单调，加入了部分色彩（cmd或Terminal显示,pycharm可能无效）2.能使用四种不同的计算器3.操作简单,不易报错4.没有团队，作者“孤军作战”下载&更新&运行使用pip下载:$pip install sycc -i https://pypi.org/simple/使用pip更新:$pip install --upgrade sycc -i https://pypi.org/simple/运行方式1:$sycc运行方式2:from sycc import *

if __name__=='__main__':
    main()cmd或linux系统的终端使用运行方式1python交互式窗口或编辑一个新的py文件中使用运行方式2注:第三方编辑器(eg:pycharm)可能无法显示本程序应有的高亮颜色权利本模块的所有权归作者所有，用户只有使用权,在此强调作者规定用户无复制权作品翻译权归作者和用户提示与警告tips :作者定制版本!##作者专用当你使用这个模块，出现程序错误时，你可以通过qq邮箱找到我qq邮箱:lwb29@qq.com:当您正在使用此项目时，您默认同意并了解以下内容。

1.遵循你当地的法律，不要触犯法律。如果你在使用该项目中触犯了法律，与作者无任何关系

2.请合理使用使用本项目。如果您在使用项目时发现bug，可以发送电子邮件到lwb29@qq.com

3.最终解释权归作者所有。

4. 严禁盗源!如果你发现有人窃取我的源代码，你可以通过电子邮件lwb29+@qq.com告诉我，我会给你一些补偿问题q:为什么经常出现退出或切换模式?a:如果不及时切换或退出则会出现各种报错,这也不是大家想看到的.q:为什么需要密码?a:此版本为作者定制版,暂不提供他人使用.如果还有其他问题邮箱lwb29@qq.com.q:为什么进度条加载这么慢?a:版本号获取方式与众不同New1.待更新:修复在部分linux系统显示闪烁问题2.优化代码逻辑3.优化部分高亮彩色显示4.优化自述文件显示5.优化依赖包6.略微美化7.优化加载进度条(tqdm),优化版本号获取时间方式8.新增略微有趣小彩蛋(1个)9.增加cls或clear命令的执行10.简化tqdm特别鸣谢1.感谢九霄天的赠与本项目的名字(+-+-+-+-+-中内容)——虹源三式2.感谢Miss.Wei3.感谢csdn,百度,博客圆,pypi,pydroid,网易云,阿里云4.感谢coloramatqdmnetifaces的作者3.当然在此的感谢人员和平台数不胜数,在此统一感谢
Package: ycezlib
LearningPython安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/HTTPError: 403 Forbidden fromhttps://upload.pypi.org/legacy/Invalid or non-existent authentication information. Seehttps://pypi.org/help/#invalid-authfor more information.C:\Users\Administrator.pypirc
[disutils]
index-servers = pypi[pypi]
username =user
password =pwd制作本lib包的方法：
pip install wheel
pip install twinepython setup.py sdist
python setup.py sdist bdist_wheel
python -m twine check dist/*
python -m twine upload dist/*
Package: ychaos
ychaosYChaos is a self-serving chaos testing toolkit designed to
provide users with all the capabilities of doing an end to end resilience
testing of your service. YChaos is designed to give users a framework
to validate, verify and attack your system to simulate real life
failures that might cause outages in your service.To get started with YChaos, refer to thedocumentationTable of contentsBackgroundInstallUsageMaintainersLicenseBackgroundThe most important aspect of maintaining a web service on cloud
infrastructure is to make it resilient from failures. Most of
these failures are unexpected and are not tested while development.
The service which is capable of handling an unexpected failure passes the
criteria of a resilient service.YChaos provides a self-serving framework to inject these unexpected failures
into your service in the form of YChaos Agents and understand if your service
is equipped to handle unknown failures either within the service
or from a 3rd party service dependency.InstallTo install ychaos from PyPi,pipinstallychaos[<subpackage>]The following subpackages are available for usageagents :pip install ychaos[agents]chaos :pip install ychaos[chaos]To know more about each subpackage and what they do, refer to thedocumentationYou can also install the package from the source code.gitclonehttps://github.com/yahoo/ychaoscdychaos
pipinstall".[<subpackage>]"UsageRefer to thedocumentationto know about the usage.MaintainersThe Resilience Team @yahooLicenseThis project is licensed under the terms of the Apache 2.0 open source license.
Please refer toLICENSEfor the full terms.
Package: ycleptic
YclepticYAML configuration generatorYAML is a popular markup language for input files, with its easy syntax and clear
mapping to lists and dicts.  Ycleptic allows a developer to specify all keys, datatypes,
default values, choice restrictions, and other features of YAML-format input
files. This makes the specification of input file syntax on top of YAML for any
particular application a bit easier than just using pure YAML.InstallationpipinstallyclepticOnce installed, the developer has access to theYcleptclass.Release History1.0.4added**kwargstoconsole_helpto allow override ofprint1.0.3.3fixed spurious output1.0.3.2fixed version detection bug1.0.2Updated documentation; added version detection1.0.1Include example base config1.0.0Initial versionMetaCameron F. Abrams –cfa22@drexel.eduDistributed under the MIT license. SeeLICENSEfor more information.https://github.com/cameronabramshttps://github.com/AbramsGroupContributingFork it (https://github.com/AbramsGroup/HTPolyNet/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: yclients-aio-client
YCLIENTS API async clientImportant. This library is not official!Asynchronous client for interacting with theYCLIENTS API.To work with the YCLIENTS API, you will need a partner token (Bearer), which can be obtained byfollowing the link.InstallingPython version required: >= 3.10.*Installing withpip:pip3installyclients-aio-clientAlso, you can install from source with:gitclonehttps://github.com/akimrx/yclients-aio-client--recursivecdyclients-aio-client
makeinstallorgitclonehttps://github.com/akimrx/yclients-aio-client--recursivecdyclients-aio-client
python3setup.pyinstallGetting startedBackoff strategyEach HTTP request, in case of failure, will be repeated a limited number of times, using an exponential backoff strategy with jitter.The number of attempts, the delay time between them and the jitter range can be changed using environment variables.YCLIENTS_BACKOFF_MAX_TRIES— Maximum number of total call attempts if the HTTP request failedYCLIENTS_BACKOFF_JITTER— Enables jitter if True is passedYCLIENTS_BACKOFF_BASE_DELAY– Basic delay between attempts (dynamic when jitter is on)YCLIENTS_BACKOFF_EXPO_FACTOR– Multiplier for exponential backoffYou can use an additional backoff for your methods through the decoratoryclients_aio_client.utils.decorators.backoff, however, it is not necessary to decore already decorated default cases:Internal Server Errors, i.e. 5xx HTTP-codesNetwork Errors, i.e. DNS, connect and socket failsSync usageIf your code is synchronous and you don't want to use async for some reason, you can wrap the func calls withasyncio.run.importasynciofromtypingimportCoroutine,Anyfromyclients_aio_clientimportAsyncYclientsClientpartner_token="xxxxxxxxxxxxxxxxxxxx"yclients=AsyncYclientsClient(partner_token=partner_token,raise_client_errors=True)def_(coroutine:Coroutine)->Any:"""Wrapper for run async fucntion synchronous."""returnasyncio.run(coroutine)defauthenticate_user(user:str,password:str)->str:"""Get user token by user:password pair."""result=_(yclients.auth.get_user_token(user,password))returnresult.data.user_tokenSee full exampleLoggingThis library uses theloggingmodule.Example of usage:importlogginglogging.basicConfig(level=logging.INFO,format='[%(levelname)s]%(message)s')logger=logging.getLogger(__name__)Change library log level:importlogginglogging.getLogger("yclients_aio_client").setLevel(logging.ERROR)
Package: ycm
The Yaff CoMpiler is a utility designed to work with the Yaff framework, to compile custom components and templates
for use within an application project.UsageOnce installed, you should be able to run yaff_compile directly from the command line.Syntax: yaff_compile <src> <target> [flags]Run yaff_compile with no arguments for more info.Project structureProjects should have a templates folder and a components folder.Component files have the extension .ycfTemplates have the extension .htmlThe header file for the project has the extension .ypfSee the sample project for more details.
Package: ycml
This package contains a collection of code that I’ve written over the past years for pretty run-of-the-mill deployments of machine learning projects.Documentation is sparse because this is mostly for my own personal use. Sorry!Seehelloworldfor a sample ML project template.UsageTo use it in your files, add:git+https://github.com/skylander86/ycml.git@v0.1.5#egg=ycmlto yourrequirements.txt.Development TipsIn your app, do:pip install -e ../ycmlto install module in “editable” mode.
Package: ycnbc
Download news data from CNBC! CNBC's API*** IMPORTANT LEGAL DISCLAIMER ***ycnbc isnotaffiliated, endorsed, or vetted by CNBC, It's an open source tool that uses Web Scraping and is intended for research and educational purposes.ycnbcoffers a threaded and Pythonic way to news and market data fromCNBC.Changelog »Quick StartRequirementsPython >=3.5+pandas>=0.24.0requests>=2.23.0lxml>=4.5.1Installation$ pip install ycnbc --upgrade --no-cache-dirUsageimportycnbcdata=ycnbc.News()# get trending newstrending_=data.trending()# return DataFrame# get latest newslatest_=data.latest()# return DataFrame# get news by categoryeconomy_=data.economy()# return DataFrame# etc.Note:URL pages containing news content that have thePROtag still cannot be retrieved using this library.Legal Stuffycnbcis distributed under theApache Software License. See
theLICENSE.txtfile in the release for details.P.S.Please drop me an note with any feedback you have.Asep Saputra
Package: ycolor
# Ycolor<br>
made by Yourouchour<br>
My English is not good,so the following content comes from my translation software.<br>
### Description<br>
Ycolor is a conventional color text printing tool.<br>
### How to use<br>
Ycolor 1.0.x uses four functions to print color text.<br>`python from ycolor import *printcolor('Hello,world',fore=Fore.RED,back=Back.WHITE)printcolor_text('Hello,world',color='RED+WHITE')printcolor_int('Hello,world',color='0xfe')`### Historical version<br>
v1.0.1 Two functions are created to print color text.<br>
v1.0.2 Some modules are hidden to make the display more concise.<br>
v1.0.3 Added function printcolor_int.<br>
Package: yconf
A wrapper for combining yaml configuration files and command line argument parsing.
It builds uponPyYAMLfor parsing yaml config files andargparsefor handling command line arguments and adds the clue produce one unified program configuration.RequirementsPython 2.7+ or 3.2+PyYAML >= 3.1Configuration EnvironmentsBecause configuration often differs depending on the environment, e.g. production and testing settings, yconf allows you to define multiple environments in a single configuration.
The current supported environemts areproduction,staginganddevelopment. For convenience, yconf is able to merge environment configuration to reduce redundancy, meaning that if the environment is set tostaging, the configuration will inherit all settings available in aproductionenvironment and override them withstagingvalues where neseccary.Exampleconfig.ymlproduction:
  rundir: /var/run/example
  database: /var/lib/example/db.sqlite
  loglevel: warning

staging:
  database: :memory:

development:
  loglevel: debugConfiguration# production environment
config.rundir: /var/run/example
config.database: /var/lib/example/db.sqlite
config.loglevel: warning

# staging environment
config.rundir: /var/run/example
config.database: :memory:
config.loglevel: warning

# development environment
config.rundir: /var/run/example
config.database: :memory:
config.loglevel: debugBothstaginganddevelopmentenvironments are optional.If a directory is specified instead of a configuration file, yconf will
look for configuration files by convention of <environment>.yml in that
directory and merge them accordingly if possible.Command Line ArgumentsExtending the argument list supported by a configuration will require subclassingyconf.BaseConfigurationand overriding themakeParsermethod.Exampleimport sys
from yconf import BaseConfiguration

class MyConfig(BaseConfiguration):

  def makeParser(self):
    parser = super(MyConfig, self).makeParser()
    parser.add_argument("-f", "--foo", dest="foo")
    return parser


config = MyConfig()
config.parse(sys.argv[1:])The following configuration arguments are already preset:-cPath to configuration file or directory-eThe environment used for configuration (default: production)When present, command line argument always take precedent over configuration settings. To override nested yaml values, a dotted destination path can be set for the argument.config.ymllogging:
  loglevel: debugArgumentparser.add_argument("--log-level", dest="logging.loglevel")Accessing ConfigurationConfiguration can be accessed either by attribute or by key.config = MyConfig()
config.parse(args)

config.foo == config['foo']
config.foo.bar == config['foo']['bar']
Package: ycontract
ycontractPython library for contracts testing.This library provides functions for checking argument(in_contract) and return value(out_contract) of a function.How to install$pipinstallycontractExampleExample files arehere(test file)Main example isfromycontractimportcontract,out_contract@contract(lambdaa,b:a*b>0)defadd(a,b,c):returna+b@contract(returns=lambdares:res>0)defsub(a,b):returna-bAnd more complex example about in_contract is@contract(lambdaa0:a0>0,lambdaa1,b:a1>0andb>0,{"a2":lambdax:x>0,"a3":[lambdax:x>=0,lambdax:x<4,],("a4","a5"):lambdax,y:x>0andy>0,},b=lambdax:x>0,contract_tag="tagtag",)defadd_for_complex(a0,a1,a2,a3,a4,a5,b=1):returna0+a1+a2+a3+a4+a5+bFurthermore if you want to be disable, callycontract.disable_contract()LICENSESApache 2.0
Package: yconverter
💱 YConverter - BetaAll fiat currency and crypto converter💚 Type terminal:convert 1 usd tryto test it🎓 For Alfred 4 ➡️YConverterAlfred🎉 Complex queries like2 TRY PHPis working now!⬇️  InstallationRecommended installation ispipinstallpip install yconverter🔑 Get Your Free Api Key for FIATClick the link:https://openexchangerates.org/signup/freeSign upVerify your email and use the key that send to your e-mail👮‍♂️ Free Forex API Rate LimitsCurrency Pairs per Request: 2Number of Requests per Hour: 100Date Range in History: 8 DaysAllowed Back in History: 1 Year(s)Crypto ConvertionCrypto convertion usesBinancetickersThere is no limit🗄 Cache SystemAll data is stored in$HOME/yconverter.ymlAll cached pair value are refreshed every10 minsfor fiat,10 secfor crypto🪪  LicenseCopyright 2022 Yunus Emre Ak ~ YEmreAk.com

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 at

    http://www.apache.org/licenses/LICENSE-2.0

Unless 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: ycrash-python-package-example
python-package-exampleThis is a minimal python package, for use alongside the lesson:https://github.com/BillMills/pythonPackageLessonContributing: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.
Package: yc-secret
YC SecretLibrary for interaction with the Yandex Cloud Lockbox serviceInstalling YC SecretYC Secret is available on PyPI:$ python -m pip install yc-secretYC Secret officially supports Python 3.7+.Key FeaturesUnlimited number of secret ids (limited by system only)Getting the list of keys by secrete idsGetting particular key without using a secret idGetting startedYou need to define all secret ids in one line and put it into environment You also need to useYCSECRETas variable
Please note that symbol|is being used as separatorCode exampleHow to get the content of the secretsecret=Secret(token)secret_value=secret.get_secret("yg854tgreg9ger")How to get the content of the keysecret=Secret(token)key_value=secret.get_key("yg854tgreg9ger")RequirementsPython >= 3.7aiohttpLicenseYC Secretis offered under the Apache 2 license.
Package: ycsettings
ycsettings is a utility module for handling app settings.
It simplifies the searching of multiple sources (i.e., environment, files, etc) for settings and configuration variables.Exampleparser=ArgumentParser(description='Hello World!')parser.add_argument('settings_uri',type=str,metavar='<config_file>',help='Positional option')A=parser.parse_args()settings_dict={'A':5}settings=Settings(A,settings_dict,'s3://example/settings.yaml',search_first=['env','env_settings_uri'],warn_missing=False)print(settings.getint('A',default=5,raise_exception=True))
Package: yctl
yctlControlYggdrasilnode with Python.APIYggdrasil's control commandstranslated from camelCase to pythonic snake_case methods. For example,getSelfbecomesControl.get_self()Supports keepalive mode if instantiated withkeepalive=True.Exampleimportasyncioimportyctlasyncdefmain():ctl=yctl.Control(host="127.0.0.1",port=9001,keepalive=False)res=awaitctl.get_peers()fork,vinres['response']['peers'].items():res=awaitctl.debug_remote_get_self(v['key'])print(res)asyncio.run(main())
Package: yctmodel
ModelSelectorTheModelSelectorclass is a comprehensive tool designed to simplify the model selection process in machine learning. It automates the creation of an ensemble pipeline containing a selected number of models, optimizing hyperparameters for optimal prediction scores.Input ParametersWhen initializing theModelSelectorclass, you can provide the following input parameters:data(pandas DataFrame): The input dataset to be used for model selection.target(str): The name of the target column in the dataset.eda_pipe(sklearn Pipeline, optional): An optional pipeline for Exploratory Data Analysis (EDA). If provided, EDA will be performed on the dataset before model selection. Defaults toNone.task(str, optional): The task to be performed, which can be either 'classification' or 'regression'. Defaults to 'classification'.i(int, optional): The number of best models to be selected. You can specify the number of top-performing models to include in the final ensemble. The maximum value is 6. Be aware that selecting more models increases the computation time. Defaults to 2.precision(float, optional): A precision value ranging from 0.1 to 1. A higher precision value results in more precise model selection but requires more time to run. It determines the granularity of model evaluation. Defaults to 0.2.Getting the Final PipelineAfter initializing theModelSelectorclass with your desired parameters, you can obtain the final machine learning pipeline by calling theget_pipeline()method. This pipeline will consist of the selected ensemble of models, fine-tuned with the best hyperparameters.Here's an example of how to use theModelSelectorclass:# Import the ModelSelector classfrommodel_selectorimportModelSelector# Initialize the ModelSelector with your data and target columnselector=ModelSelector(data=my_data,target='target_column')# Get the final machine learning pipelinefinal_pipeline=selector.get_pipeline()FeaturesAutomated Ensemble Creation:TheModelSelectorclass automatically generates an ensemble pipeline with a specified number of models, each contributing to the final predictions.Hyperparameter Optimization:Utilizes a combination of model selection and hyperparameter tuning to output the best-performing models and their corresponding hyperparameters.Versatile Usage:Offers both ensemble creation (start()).Scoring:Run the (evaluate()) function after ensemble creation to get your scores.Supports Classification and Regression:Adaptable for both classification and regression tasks, providing flexibility in application.Easy Retrieval of Best Pipeline:Use theget_pipeline()function to retrieve the optimized pipeline with the best-performing models.AutoTuner ClassGives the option to fine-tune an existing pipeline with a specific model (auto_tune()), given a specific data. Takes X and Y (could be X_train and y_train).InstallationYou can install theModelSelectorclass using pip:pipinstallyctmodel
Package: ycv
ycvBuild CV and job application materials using yaml filesExample PDFsHereyou can find the pdfs built usingyamlandbibfiles in theexampledirectory.InstallationpipinstallycvRequirementsPythonPyYAMLbibtexparserTeXUsageAfter installingycvone can start building application materials using the commandycvfrom the terminal.ycv-jjob_name-ydoc_type:yaml_fileNote:The command should be executed inside a directory that contains aauthinfo.yamlandstyle.yamlfile. If these are not present, these will be created on the fly using prompts. Seeherefor more about these files.ycvis designed to be used for multiple job applications and therefore requires ajob_nameto create a directory where all materials related to that job will be stored.ycvcan create multiple application materials for a given job at once. To create different materials one needs to provide theyamlfiles for these materials in the formatdoc_type:yaml_filewith a space between different materials. For example, to create acvandresearch statement, provide the yaml files asycv-jjob_name-ycv:/path/to/cv.yamlresearch_plan:/path/to/research_statement.yamlNote:The keys to yaml files should be one of the recognized onescvresearch_planpublicationsmore would be added to this list.authinfo and style filesycvrequires aauthinfo.yamlandstyle.yamlfile.authinfo.yamlcontains information about the author which is used to a common header for all documents, for example. An example yaml file can be foundhere.style.yamlfile is used to apply customized style to different elements in theTeXdocuments. This gives the user freedom to apply a style of their preference. An example file can be foundhere.