Saravanan666/pypi-org huggingface dataset:
Package: linkymeter
linkymeter modulelinkymeter is a pure python module which can collect power consumption data generated by Enedis smart meter 'linky'.Pre-requisite: activate load curve recording on Enedis websiteModule collects data from Enedis website.
You must first enable your enedis account (https://espace-client-particuliers.enedis.fr/group/espace-particuliers/) and the data collection ("Consommation" > "Gérer ma courbe de charge" > "Activer ma courbe de charge")How to installDebian packages to installIf you intend to use this module on a debian based linux distribution, and want to use python3 default installation, you need to install following packages.sudo apt-get install python3 python3-dateutil python3-requestsThen typepython3 setup.py installInstallation in a virtual environmentYou can also install it in a dedicated virtual environment.python3 -m venv 
source venv/bin/activate
pip install .Usageimport linkymeter
import datetime
from dateutil.relativedelta import relativedelta

session = linkymeter.web.session.login(username,password)
today = datetime.date.today()
res_hour = session.get_hourly_consumption((today - relativedelta(days=7)), today)PSIf this project help you reduce time to develop, you can give me a cup of coffee :)
Package: linky-note
linky-note🤔 DescriptionThis project provide a markdown to markdown converter that adds aBi-Directional LinkSection at the end of each markdown files that is converted. It is heavily inspired by thenote-link-janitorThe project also provide apre-commit hookso you can easily integrate it within your own projects easilyIt relies heavily on theMarkopython package that is the only
Markdown Parser with a Markdown Renderer that I know of.💭 WhyI believe a great amount of information can be extracted from collaborative notes if we take time to structure them correctly.I wanted:To make collaborative notesTo organize the notes in aRoamlike mannerEveryone to be able to navigate through the notes without installing anythingThis system to be easily adopted by a software engineering team.Using git and this converter as a pre-commit, I can easily do all of this ! 🚀Take a look at the example available inexamples/adr✨ FeaturesUnderstands both  Wikilinks and Markdown linksCan use a reference system based on filename as unique Keys or titles as unique key.Can convert wikilinks to markdown links and reciprocallyAll this, entirely configurable through a simple stepper usinglinky-note initcommandLimitations: If using wikilinks, a filename should be the same as it's title🏃 Getting StartedInstallation as a python package with pipConsidering you already have python available. You can simply add thpipinstall--userlinky-noteThen you can see all the option of the CLI usinglinky-note--helpIt is advised to start by configuring the CLI usinglinky-noteinitYou can then apply the conversionlinky-noteapply<INPUT_DIR>--output-dir<OUTPUT_DIR>If noOUTPUT_DIRis given, it will overwrite the files inINPUT_DIRInstallation as a pre-commit hookThis pre-commit hook use the [pre-commit](https://pre-commit.com) tool that you will
need to install.Add the following line to your pre-commit configuration (.pre-commit-config.yaml) at the root of your
repository.repos:-repo:https://github.com/jb-delafosse/linky-noterev:v0.4.4hooks:-id:linky-noteargs:['directory-containing-my-markdown']and install the hook usingpre-commit installYou should also runlinky-note initat the root of your repo to configure linky-noteI'm also working on a not yet releasedgithub appthat would make this workflow easier with a better integration with github.
Feel free to take a look and let me know if you're interested.🛡 LicenseThis project is licensed under the terms of theMITlicense. SeeLICENSEfor more details.📃 Citation@misc{linky-note,
  author = {jb-delafosse},
  title = {Awesome `linky-note` is a Python cli/package created with https://github.com/TezRomacH/python-package-template},
  year = {2020},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/jb-delafosse/linky-note}}
}CreditsThis project was generated withpython-package-template.It is heavily inspired by thenote-link-janitor
Package: linky-tools
linky-toolslinky-tools provides tools to manage data generated by Enedis smart meter 'linkylinky_grabber.py: collect power consumption data stored on Enedis web service and store them in a sqlite3 databaselinky.sh: script shell calling linky_grabber.py that can be invoke in crontablinky_query.py: query sqlite3 databasePre-requisite: activate load curve recording on Enedis websiteModule collects data from Enedis website.
You must first enable your enedis account (https://espace-client-particuliers.enedis.fr/group/espace-particuliers/) and the data collection ("Consommation" > "Gérer ma courbe de charge" > "Activer ma courbe de charge")How to installInstallation in a virtual environmentlinky-tools depends on linkymeter module.
You can install linky-tools in a dedicated virtual environment.python3 -m venv 
source venv/bin/activate
pip install .UsagetbcPSIf this project help you reduce time to develop, you can give me a cup of coffee :)
Package: linkzone
Alcatel LinkZone SDK (early stage)InstallationFor developmentFirst create a virtual environmentpython-mvenv.venvActivate the virtual environmentsource.venv/bin/activateInstall pip-toolspipinstallpip-toolsResolve project dependenciespip-compile-orequirements.txtpyproject.tomlOptional dev dependenciespip-compile--extradev-odev-requirements.txtpyproject.tomlInstall dependenciespipinstall-rrequirements.txtpipinstall-rdev-requirements.txtCreated by@JimScope
Package: linlangleyprime
.gitignoregit ignore file
created from the template athttps://github.com/github/gitignoreLICENSECustom license, software developed in-house may choose to adopt a custom license specifically tailored to meet ACC/A29 needs; the licenses can include specific terms and conditions related to ownership, usage, distribution, and modifications of the software.Open source software licenses, GNU General Public License (GPL) or the Apache License are commonly used by the DoD their in-house developed software
"Copyright protection … is not available for any work of the United States Government, but the United States is not precluded from receiving and holding copyrights transferred to it by assignment, bequest, or otherwise."17 USC § 105 athttps://www.copyright.gov/title17/92chap1.html#105Clarifying Guidance Regarding Open Source Software (OSS) athttps://dodcio.defense.gov/portals/0/documents/foss/2009oss.pdf
Package: linlearn
linlearn: linear methods in PythonLinLearn is scikit-learn compatible python package for machine learning with linear methods.
It includes in particular alternative "strategies" for robust training, including median-of-means for classification and regression.Documentation|Reproduce experiments|LinLearn simply stands for linear learning. It is a small scikit-learn compatible python package forlinear learningwith Python. It provides :Several strategies, including empirical risk minimization (which is the standard approach),
median-of-means for robust regression and classificationSeveral loss functions easily accessible from a single class (BinaryClassifierfor classification andRegressorfor regression)Several penalization functions, including standard L1, ridge and elastic-net, but also total-variation, slope, weighted L1, among many othersAll algorithms can use early stopping strategies during trainingSupports dense and sparse format, and includes fast solvers for large sparse datasets (using state-of-the-art stochastic optimization algorithms)It is accelerated thanks to numba, leading to a very concise, small, but very fast libraryInstallationThe easiest way to install linlearn is using pippip install linlearnBut you can also use the latest development from github directly withpip install git+https://github.com/linlearn/linlearn.gitReferences
Package: linlei04-pdemo
说明本文包含了python的打包、分发、构建、测试等，比如包含了tox、mypy等。目录结构说明默认情况下，需要打包的工程需要放置到一个目录下，这个目录下创建配置文件，比如pyproject.toml、MANIFEST.in等文件。setuptoolssetuptools支持pyproject.toml、setup.cfg和setup.py几种方式，目前推荐使用pyproject.toml的方式，本文也以此为例进行说明，详细的请参考pyproject.toml文件内的注释。打包命令需要提前使用pip install build安装build工具# 配置完成后，使用下面命令进行打包# 命令执行完成后，会在dist目录下生成whl和tar.gz文件# 这两个文件就可以通过 pip install 进行安装了，此时会安装到site-packages下，项目代码就可以像引用其它模块一样进行引用了python-mbuild# 查看帮助python-mbuild--help# 只打包sdist，也就是tar.gz文件(默认打包为tar.gz和whl两个文件)python-mbuild-s# 只打包whlpython-mbuild-w# 加快打包速度(不安装虚拟环境)python-mbuild--no-isolation-s不建议使用setup.py，请参考:Why you shouldn’t invoke setup.py directly自动版本识别# 依赖于setuptools_scm，当然还有很多其它的插件可以使用pipinstallsetuptools_scm项目目录下需要有版本工具的配置信息，比如git就需要有.git目录[project]# version = "0.0.1"  # Remove any existing version parameter.dynamic=["version"][tool.setuptools_scm]version_file="pkg/_version.py"# write_to已经在新版本弃用，使用上面的version_file代替write_to="mypkg1/_version.py"local_scheme="no-local-version"生成规则根据git的最新tag生成版本号开发模式# 如果已经安装到了site-packages下，先卸载pipuninstallmypkg1# 需要先python -m build后才可以使用，命令执行目录和python -m build在同一级，否则需要更改 .参数# 不用重复使用下面命令，使用一次即可pipinstall-e.发布包发布到pypipipinstalltwine# 测试发布(需要提前在pypi注册账号) https://test.pypi.orgtwineupload-rtestpypidist/*# 正式发布 https://pypi.org/twineuploaddist/*# 默认发布到pypi,可以通过参数发布到指定的repo# 注意需要到pypi增加自己的api token,使用api token处理username和passwordtwineupload--repository-urlhttps://xxx-uusername-ppassworddist/*注意: api token只会出现一次，后续无法获取，故需要及时保存，而且使用时的用户名一律为:__token__另外：可以配置$HOME/.pypirc为如下配置，即可以不在命令行使用用户名和密码[pypi]username=__token__password=pypi-xxxxtox# 查看env列表toxlist# 执行tox
toxrun# 指定执行环境toxrun-epy310# 如果命令行有{}替换符号，可以通过--的方式替换{}toxrun-epy310---vmake如果在windows下执行，建议使用WSL，安装并启动windows下访问wsl目录，直接在资源管理器输入\\wsl$就可以查看；linux下访问windows，可以直接cd /mnt即可
wsl里面，进入到指定目录后，如果想通过vscode编辑代码，可以通过code .命令启动vscodeMakefile里面定义了各项动作，比如要执行tox，只需要执行make test命令即可shields.io生成badges参考demo0内部README.md文件和shields.io官方链接readthedocssphinx# 安装pipinstallsphinx# 快速生成一个基础的目录sphinx-quickstart# 编译sphinx-build-Mhtmlsourcebuild# 如果有自动生成makefile，也可以使用下面的make命令makehtmlrst语法请参考:GettingStarted本项目总结# 测试代码maketest# 打包代码并发布到pypi (https://pypi.org/project/linlei04-pdemo/)makerelease# 生成文档并发布到read the doc# 直接进入: https://readthedocs.org/projects/pdemo/ 导入github项目自动构建即可# https://pdemo.readthedocs.io/en/latest/参考链接setuptoolsMANIFEST.inpyproject.tomltwinepackaging-projectssetuptools-scmtoxshields.iosphinxreadthedocsreadthedocs-tutorial其它:Why you shouldn’t invoke setup.py directlysetuptools-scm配置项RST-DirectivesRST-Builders
Package: linmarg
linmarg: Linear parameters marginalizerRead the documentation athttps://obswww.unige.ch/~delisle/linmarg/doc/.ContributeEveryone is welcome to open issues and/or contribute code via pull-requests.
A SWITCH edu-ID account is necessary to sign in tohttps://gitlab.unige.ch.
If you don't have an account, you can easily create one athttps://eduid.ch.
Then you can sign in tohttps://gitlab.unige.chby selecting "SWITCH edu-ID" as your organisation.
Package: linna
LINNALinna (Likelihood Inference Neural Network Accelerator) is a tool to accelerate Bayesian posterior inferences using artificial neural networks.Linna automatically builds training data, trains the neural network, and produces a Markov chain that samples the posterior.Reduces the runtime of survey cosmological analyses of the Dark Energy Survey by a factor 8-50.Linna is verified to enable accurate and efficicient sampling for Vera Rubin Observatory’s Legacy Survey of Space and Time (LSST) year 10 multi-probe analyses.Linna is explicity verified for the following three multi-probe analysese:3x2pt, a joint analysis of galaxy clustering, galaxy–galaxy lensing, and cosmic shear.4x2pt+N, a joint analysis of cluster–galaxy cross correlations, cluster lensing, cluster clustering, and cluster abundances.6x2pt+N, a joint analysis of data vectors in 3x2pt and 4x2pt+N.DocumentationRead the docs athttps://linna.readthedocs.io/en/latest/readme.html#documentationInstallationgit clone https://github.com/chto/linna.git
cd linna
python setup.py installExampleFor example, if you want to sample a 33 dimensional gaussian spaces, you can doimportnumpyasnpimportmatplotlib.pyplotaspltfromlinna.mainimportml_samplerfromlinna.utilimport*#Define gaussianndim=33init=np.random.uniform(size=ndim)means=np.random.uniform(size=ndim)cov=np.diag(0.1*np.random.uniform(size=ndim))priors=[]foriinrange(ndim):priors.append({'param':'test_{0}'.format(i),'dist':'flat','arg1':-5.,'arg2':5.})deftheory(x,outdirs):x_new=deepcopy(x[1])returnx_new#LINNAnwalkers=4#Number of mcmc walkerpool=Noneoutdir=os.path.abspath(os.getcwd())+"/out/2dgaussian/"chain,logprob=ml_sampler(outdir,theory,priors,means,cov,init,pool,nwalkers,gpunode=None,nepoch=101)History0.0.1 (2022-01-18)First release on PyPI.
Package: lino
This is the core package of the Lino framework.This repository is an integral part of theLino framework, which is documented as a whole in theLino
Book.Code repository:https://gitlab.com/lino-framework/linoTest results:https://gitlab.com/lino-framework/lino/-/pipelinesFeedback:https://community.lino-framework.orgMaintainer:https://www.saffre-rumma.net/
Package: lino-algus
A project which you can use as template for writing your ownLinoapplication.Basic use is as follows:Find a short one-word name for your application, for example “Lino
Example”.Download and unzip a snapshot of this repository to a directory
named “~/projects/example”.In your project directory, rename all files and directories
containing “algus” in their name to “example”:$ git mv lino_algus lino_example
$ git mv lino_algus/lib/algus lino_example/lib/example
$ ...In all your files (.py,.rst,.html), replace all occurences
of “algus” by “example” (and “Algus” by “Example”).Note: “algus” is the Estonian word for “start”. We did not name this
template “Lino Start” because the word “start” is more likely to occur
in variable names or text which is not related to the projet name.
Package: lino-amici
Lino Amiciis a Lino Django application for managing family contacts.Source code:https://gitlab.com/lino-framework/amiciDocumentation:https://lino-framework.gitlab.io/amici/Changelog:https://lino-framework.gitlab.io/amici/changes.htmlThis is an integral part of the Lino framework, which is documented
athttps://www.lino-framework.orgFor introductions, commercial information and hosting solutions
seehttps://www.saffre-rumma.netThis is a sustainably free open-source project. Your contributions are
welcome.  Seehttps://community.lino-framework.orgfor details.
Package: lino-avanti
Lino Avanti is a freeLinoapplication used by social workers in East Belgium for helping
immigrants with theirintegration course.Theintegration courseis a Belgian administrative procedure
consisting in an individual mentoring and a series of courses with the
goal of helping new residents to acquire the base knowledge about
society and social relations in Belgium in order to ease their
integration on the territory.  Read more about the procedure inParcours d’intégration des primo-arrivants(French) orIntegrationsparcours: Der Einstiegsweg für Migranten(German).Lino Avanti is being developed by order ofMinisterium der
Deutschsprachigen Gemeinschaft(Ministery of
theGerman-speaking Community of Belgium).
Package: lino-book
This is the code repository that contains (1) the Sphinx source files
of the Lino Book, (2) thelino_bookPython package and (3) a test
suite with doctest-based tests for the Lino framework.TheLino Bookis the central documentation tree of the Lino
framework.  It is visible onwww.lino-framework.organd onlino.readthedocs.io.Thelino_bookPython package is a collection of small example Lino
applications used for educational and testing purposes.The code repositories for thelinoandlino_xlPython packages
have no documentation tree on their own and almost no unit tests, they
are tested and documented here.Your feedback is welcome.  Ourcommunity pageexplains how to contact us.
Package: lino-cms
Lino CMSis a Content Management System à la Lino.Source code:https://gitlab.com/lino-framework/cmsDocumentation:https://lino-framework.gitlab.io/cms/This project is part of the Lino framework, which is documented
athttps://www.lino-framework.orgChangelog:https://lino-framework.gitlab.io/cms/changes.htmlFor introductions, commercial information and hosting solutions
seehttps://www.saffre-rumma.netThis is a sustainably free open-source project. Your contributions are
welcome.  Seehttps://community.lino-framework.orgfor details.
Package: lino-cosi
More about Lino Così:https://cosi.lino-framework.orgSource code:https://gitlab.com/lino-framework/cosiDemo sites:https://www.lino-framework.org/demos.htmlDeveloper specs:https://www.lino-framework.org/specs/cosiLino Così is an integral part of the Lino framework, which is documented
athttps://www.lino-framework.orgLino Così is a sustainably free open-source project. Your contributions are
welcome.  Seehttps://community.lino-framework.orgfor details.Professional hosting, support and maintenance:https://www.saffre-rumma.net
Package: linode
A thin python wrapper aroundLinode’s API. Built with the idea of sticking to Linode’s docs and being pythonic.Installationpip install linodeUsagefrom linode import Api

api = Api('your_api_key')
api.linode.create(datacenterid, planid, paymentterm)
api.linode.disk.createfromdistribution(linodeid, distributionid, label, size, rootpass, rootsshkey)TestsI has them.CaveatsAny deviations from the Linode docs.Variable CasingAll variables have been lower cased. The Linode API is case insensitive so this is not a true change from their docs.Variable OrderRequired variables have been declared as positional arguments and optional variables as keyword arguments with a default ofNone. This meansalloptional arguments must come after required ones.
Package: linode-cli
linode-cli (lin)The Linode Command Line InterfaceProvides easy access to any of the Linode API endpoints from the command line and displays results in an organized, configurable table.This project is automatically generated from theLinode OpenAPI specusing theopenapi3 Python package.Visit theWikifor more information.InstallInstall via PyPI:pip3installlinode-cliVisit theWikifor more information.ContributingThis CLI is generated from theOpenAPI specification for Linode's API.  As
such, many changes are made directly to the spec.Please follow theContributing Guidelineswhen making a contribution.
Package: linode-dynamic-dns
Update Linode DNS records with your local IPv4 and IPv6 addresses.Environment VariablesNameDescriptionHOSTThe host record to update.DOMAINThe domain the host is a part of.TOKENYour Linode API access token.IPV4_URLThe URL which returns your local IPv4 address (defaulthttps://ipv4.icanhazip.com/)IPV6_URLThe URL which returns your local IPv6 address (defaulthttps://ipv6.icanhazip.com/)InstallationArch LinuxDockerPyPI
Package: linode-metadata
Linode Metadata Client for PythonThis package allows Python projects to easily interact with theLinode Metadata Service.Getting StartedPrerequisitesPython >= 3.8A runningLinode InstanceInstallationpipinstalllinode_metadataBuilding from SourceTo build and install this package:Clone this repositorymake installBasic ExampleThe following sample shows a simple Python project that initializes a new metadata client and retrieves various information
about the current Linode.fromlinode_metadataimportMetadataClientclient=MetadataClient()# All of these responses are handled as DataClasses,# allowing IDEs to properly use completions.instance_info=client.get_instance()network_info=client.get_network()ssh_info=client.get_ssh_keys()user_data=client.get_user_data()print("Instance ID:",instance_info.id)print("Public IPv4:",network_info.ipv4.public[0])print("SSH Keys:","; ".join(ssh_info.users.root))print("User Data:",user_data)TestingBefore running tests on this project, please ensure you have aLinode Personal Access Tokenexported under theLINODE_TOKENenvironment variable.End-to-End Testing Using AnsibleThis project contains an Ansible playbook to automatically deploy the necessary infrastructure
and run end-to-end tests on it.To install the dependencies for this playbook, ensure you have Python 3 installed and run the following:maketest-depsAfter all dependencies have been installed, you can run the end-to-end test suite by running the following:makee2eIf your local SSH public key is stored in a location other than~/.ssh/id_rsa.pub,
you may need to override theTEST_PUBKEYargument:makeTEST_PUBKEY=/path/to/my/pubkeye2eNOTE: To speed up subsequent test runs, the infrastructure provisioned for testing will persist after the test run is complete.
This infrastructure is safe to manually remove.Manual End-to-End TestingEnd-to-end tests can also be manually run using themake e2e-localtarget.
This test suite is expected to run from within a Linode instance and will likely
fail in other environments.LicenseThis software is Copyright Akamai Technologies, Inc. and is released under theApache 2.0 license.
Package: linode-mgmt
LINODE-MGMTThe linode-mgmt is a python package that used to manage Linode ELK clusters.To use this package and perform actions on linode, you will need to acquire a token.
Follow the following guideline to acquire one:Browse tohttps://www.linode.com/Click on your profile --> API TokensClick on theCreate A Personal Access TokenbuttonFill in all your details and click on theCreate TokenbuttonKeep the Token in a safe placeNote: This token will be used to communicate with the Linode API.Usage:usage: linode-mgmt   [arguments]Linode Management componentoptional arguments:
  --help            show this help message and exit
  --version         shows program version
  --log-file NAME   log file name
  --verbose         if added will print more information
  --dry-run         used to test action without performing anything

required arguments:
  --token <TEXT>    a personal access token
  --cluster <NAME>  a cluster name (required only in specific resources)

resources:
    cluster
    node
    volumeExamples:To create a new cluster with 8 nodes in 'us-iad' region
ref:https://api.linode.com/v4/regionslinode-mgmt cluster create \
--token <token> \
--cluster <cluster> \
--region us-iad \
--node-count 8 \
--verboseTo upgrade an existing cluster to a newer kubernetes version
ref:https://www.linode.com/docs/products/compute/kubernetes/guides/upgrade-kubernetes-version/?tabs=cloud-manager,linode-apilinode-mgmt cluster upgrade \
--token <token> \
--cluster <cluster> \
--kube-version 1.26 \
--verboseTo poweron a specific nodelinode-mgmt node poweron \
--token <token> \
--cluster <cluster> \
--node lke87300-132938-63c003e48302 \
--verboseTo delete a volumelinode-mgmt volume delete \
--token <token> \
--volume-name pvc1809b72cc85e4fa7 \
--verboseTo update a node with specific alert thresholdslinode-mgmt node update \
--token <token> \
--cluster <cluster> \
--node lke87300-132938-63c003e48302 \
--node-cpu-alert 
--verboseTo create a new storage objects (bucket)linode-mgmt storage create
--token <token> \
--cluster <cluster> \
--bucket-name <bucket> \
--verboseTo List all storage objectslinode-mgmt storage list
--token <token> \
--cluster <cluster> \
--verboseTo delete a storage objectslinode-mgmt storage delete
--token <token> \
--cluster <cluster> \
--bucket-name <bucket> \
--verbose
Package: linode-python
# Linode Python BindingsThe bindings consist of three pieces:api.py: Core library that manages authentication and api callsshell.py: A command line interface to api.py that allows you to invokea specific api command quicklyoop.py: An object oriented interface to api.py inspired by djangoFor definitive documentation on how the api works please visit:https://www.linode.com/api## API KeysWhen creating an api object you may specify the key manually, or use the
Api.user_getapikey which will return your apikey as well as set the internal
key that will be used for subsequent api calls.Both the shell.py and oop.py have mechanisms to pull the api key from the
environment variable LINODE_API_KEY as well.## BatchingBatching should be used with care, once enabled all api calls are cached until
Api.batchFlush() is called, however you must remember the order in which calls
were made as that’s the order of the list returned to you## LicenseThis code is provided under an MIT-style license. Please refer to the LICENSE
file in the root of the project for specifics.