Saravanan666/pypi-org huggingface dataset:
Package: langx
X Programming LanguageX is a placeholder language with a python and JS like syntax and a shareable bytecode IR that can be translated into any other programming language.Languages SupportedCC++JavaPythonWhat does this list mean? This means that you can compile your X code into any one of these programming languages 😲😲😲😲!PipelineSteps to runWrite a script in X and save it with .x extension.To run the script:user@programmer~:$x-i<filename>.xTo compile to C:user@programmer~:$x-i<filename.x>--decompile-cTo compile to C++:user@programmer~:$x-i<filename.x>--decompile-cppTo compile to Java:user@programmer~:$x-i<filename.x>--decompile-javaTo compile to Python:user@programmer~:$x-i<filename.x>--decompile-pyTools for X language developersCheck the tokens for the scriptuser@programmer~:$x-i<filename>.x-tCheck the syntax tree for the scriptuser@programmer~:$x-i<filename>.x-pCheck the compiled bytecodes for the scriptuser@programmer~:$x-i<filename>.x-cX also offers a web based debugger called xdb. To use it start the xdb server and follow alonguser@programmer~:$xdb
Package: laniakea
Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster it can be used as a tool or as a library.SetupSupported Cloud ProvidersUserData ReferenceExtending LaniakeaAPI DocumentationLaniakea Help MenuSetuppython3-mpipinstalllaniakeaorpipenvinstalllaniakea
pipenvrunlaniakea-hSupported Cloud ProvidersGoogle Compute EngineAmazon EC2Packet Bare MetalAzureUserData ReferenceLaniakea supports various macros to construct and maintain user-data files.Note that not all modules are still supporting UserData files but use a container approach instead i.e Google Compute Engine. You can and probably should spawn containers within UserData files if you plan to chose to use this kind of initialization method.@import(path_to_other_userdata_file)@
@macro_name@You can use the-list-userdata-macrosoption to print out available macros inside a user-data file. Each of these macros can then be substituted with the-userdata-macrosoption.Extending LaniakeaTo extend Laniakea with new cloud providers you need to ...Add a new folder inlaniakea/core/providers/<cloud_provider>Write a command-line interface and put it into the__init__.pyWrite an API manager class and name itmanager.pyAdd additional files (i.e userdata scripts) tolaniakea/userdata/Add additional configuration files tolaniakea/examples/API Documentationhttps://mozillasecurity.github.io/laniakeaLaniakea Help Menuusage: laniakea [-verbosity {1,2,3,4,5}] [-settings path] [-userdata path] [-list-userdata-macros] [-print-userdata]
                [-userdata-macros k=v [k=v ...]]
                ...

Laniakea Runtime v1.16.0

Laniakea Cloud Providers:
  Use -h to see the help menu of each provider.


    azure                         Microsoft Azure
    ec2                           Amazon Elastic Cloud Computing
    gce                           Google Compute Engine
    packet                        Packet Bare Metal

Laniakea Base Parameters:
  -verbosity {1,2,3,4,5}          Log sensitivity. (default: 2)
  -settings path                  Laniakea core settings. (default: ~/Library/Application Support/laniakea/laniakea.json)

UserData Parameters:
  -userdata path                  UserData script for the provisioning process. (default: None)
  -list-userdata-macros           List available macros. (default: False)
  -print-userdata                 Print the UserData script to stdout. (default: False)
  -userdata-macros k=v [k=v ...]  Custom macros for the UserData. (default: None)

The exit status is 0 for non-failures and 1 for failures.
Package: laniakea-spark
Laniakea SparkSpark is the generic Laniakea job runner and package build executor.
It is able to perform a variety of tasks on dedicated builder machines,
like building packages, distribution ISO images or performing longer QA tasks.Spark instances communicate with Lighthouse servers via ZeroMQ to fetch new jobs and
report information. They auto-register with the master system, if they were provided
with the right credentials for the respective instance.Setup InstructionsMinimum required Debian release: 11.0 (Bullseye)Dependenciessudoaptinstall\python3-debian\python3-zmq\python3-setuptools\python3-firehose\gnupg\dput-ng\debspawnInstallationYou can find more information on how to set up Spark instances atthe Laniakea documentationor check out ourAnsible provisioning templates.
Package: laniakea-utils
Laniakea UtilsLaniakea utilites packageApiteststart: gunicorn --workers 2 --bind 0.0.0.0:5001 --timeout 300 app:appcurl: curl -H 'Accept: application/json' -H "Authorization: Bearer ${TOKEN}"http://90.147.102.14:5000/valid_user/${SUB}How to upload on pypiCreate a new package:python setup.py sdistUpload on pypi with twine:twine upload dist/*
Package: lan.io
Lan(懒)是一套测试框架 .主要功能接口测试(Interface Testing) 简称 it
服务器监控(Server monitoring) 简称 sm安装第一种pipinstalllan第二种 使用时可以直接下载源码来执行pythonsetup.pyinstall使用方法1、创建Project(自定义)文件夹,进入目录cdProject2、执行lan后显示usage: lan [-h] {create,make,run,server} ...
Lan(懒)是一套Python测试套件脚手架
positional arguments:
  {create,make,run,server}
    create              - 创建项目 项目类型(it st sm)/项目名称
    make                - 用例生成 根据config.yaml文件生成用例文件
    run                 - 运行项目 结束退出
    server              - 运行项目 后台模式3、选择需要创建的类型
创建接口测试(项目名称必填)：lan create it/projectName创建压测(项目名称必填)：lan create st/projectName创建服务器监控(项目名称必填)：lan create sm/projectName3、运行pythonrun.py方法调用说明# 需要模块哪些就引入哪些fromlanimportUtils,Request,FileDb,Config,Log,MonitorUtils 工具类# 获取年月日
Utils.time_ymd()
# 返回：20190520# 判断是否为空
Utils.empty(val)
# 返回：True/False# 创建目录
Utils.mkdir(path)
# 返回：True/False# 读取文件
Utils.open_file(path)
# 返回：content# 写入文件
Utils.write_file(path, content)# 删除文件
Utils.remove_file(path)Request 请求类# Get请求
Request.get(api,data,headers,stream)# Post请求
Request.post(api,data,headers,stream)# Put请求
Request.put(api,data,headers,stream)# Delete请求
Request.delete(api,headers,stream)统一返回{
	'status_code': 200,
	'status': 'success', # success/error
	'response': {},
	'time': 0,  # 时间
	'msg': ''  # 错误提示
}学习怎么开发框架开始学习
Package: lanisapi
[README DE]  [README EN]LanisAPI⚠ NoticeBecause the Schulportal Hessen changes quickly and is very fragmented, some functions at specific schools or after a while may no longer work.What is this?It's an unofficial Python library for the Schulportal Hessen. Also available onPyPi.FeaturesFetch homework or other tasks.Fetch substitution plan.Fetch calendar events.Fetch conversations.Fetch all schools that have Lanis.Fetch all web applets with their links.Overview of future Features, Problems and other thingshere.App for the Schulportal HessenIf you want to have an app for Lanis, check outSPH-vertretungsplanby@alessioC42.It's still in an early phase!It would be also really nice if you contribute to this project, like bug reporting, if you know Dart and Flutter it would be nice to see your help or you could learn Dart, it's not hard.How do I install it?pipinstalllanisapiRequired is Python 3.11.(older versions are probably not working, I didn't tested it.)ExampleThis example gives the substitution plan.fromlanisapiimportLanisClient,LanisAccount,LanisCookies,Schooldefmain():client=LanisClient(LanisAccount("school id","name.lastname","password"))or:client=LanisClient(LanisAccount(School("school","city"),"name.lastname","password"))or:client=LanisClient(LanisCookie("school id","session id"))client.authenticate()print(client.get_substitution_plan())client.close()if__name__=="__main__":main()More infos at thewiki.How can I help?You can report problems atIssues.You can suggest ideas atIssues.Contributing: You can contribute to this project either by code or improving the wiki. If you're new to contributing, lookhereand for this project there is also some helphere.Also if you like this project you can give it a star.CreditsThe Javascript projectSPHclientfrom@alessioC42helped me to understand theSchulportal Hessen.The Android-Appsph-plannerfrom@koenidvhelped me to understand the Level 2 encryption.Other projects that didn't helped me but are cool:Flutter Android appSPH-Vertretungsplanalso from@alessioC42TypeScript libraryMariafromElderguardianJavascript appSchulportalAppfromDerOwnerHDFlutter Android applkwslr-sphplanerfromflutter-previewNoticeThis project isn't officially related to the Schulportal Hessen. It's only a unofficial library, supported by the community.
Package: lanms-nova
Locality-Aware Non-Maximum Suppression (LANMS)This is a python binding for LANMS as described by Zhout et al.
in their paper "EAST: An Efficient and Accurate Scene Text Detector", CVPR 2017. The C++ code is  taken from the
implementation available on:https://github.com/argman/EASTInstallationpip install lanms-novaUsage exampleimportnumpyasnpimportlanmsboxes=np.array([[137.0,113.6,162.3,113.3,162.4,122.2,137.2,122.6,0.75],[137.2,113.8,163.2,114.6,163.0,122.6,137.0,121.9,0.97],[136.8,113.4,163.2,114.5,162.9,122.7,136.5,121.6,0.15],[136.6,112.9,163.3,114.5,162.8,122.9,136.1,121.3,0.95],[136.4,112.6,163.4,114.5,162.8,123.0,135.8,121.2,0.96],[131.4,89.2,137.8,89.0,138.2,98.5,131.8,98.7,0.98],[131.6,89.2,137.8,89.1,138.1,98.6,131.8,98.8,0.32],[131.5,89.2,137.9,89.1,138.0,98.6,131.6,98.7,0.99],[131.5,89.2,138.0,89.1,138.1,98.5,131.6,98.5,0.87],[131.5,89.3,137.8,89.0,138.2,98.4,132.0,98.7,0.97]],dtype=np.float32)boxes=lanms.merge_quadrangle_n9(boxes,nms_thresh=0.5)print(boxes)
Package: lannerpsp
A Python interface to accessLanner PSP.AboutLanner PSPaims to simplify and enhance the efficiency of customer’s application implementation.
When developers intend to write an application that involves hardware access, they were required
to fully understand the specifications to utilize the drivers. This is often being considered a time-
consuming job which requires lots of related knowledge and time. In order to achieve better full
access hardware functionality,Lannerinvests great effort to ease customer’s development journey
with the release of a suite of reliable Software APIs.“Python API for Lanner PSP” uses Python to call the shared object file generated after PSP compilation
to execute PSP functions, and encapsulates many C functions in PSP into Python interfaces, so please
make sure to installCore SDKbefore use.If yourCore SDKwas installed via theOne-Step Automated Installmethod, you can use it out of
the box, otherwise you should set theliblmbio.soandliblmbapi.sopaths before instantiating
other objects. For example:fromlannerpspimportPSP,HWMPSP.lmb_io_path="/path/to/liblmbio.so"PSP.lmb_api_path="/path/to/liblmbapi.so"hwm=HWM()hwm.get_cpu_temp(1)...Assuming you want to obtain the sensors data for the hardware monitor:fromlannerpspimportHWMhwm=HWM()sensors=hwm.list_supported_sensors()forsinsensors:print(f"{s.display_name}={s.value}{s.unit}")Then run it withROOTprivileges, the output will be like:CPU 1 temperature = 41 C
SYS 1 temperature = 42 C
CPU 1 Vcore = 0.856 V
5V = 5.087 V
3.3V = 3.35 V
Battery = 3.184 V
DDR channel 1 = 1.104 VFor complete usage, please refer to thedocumentation.Concurrency and ParallelismLanner PSPinvokes many underlying hardware interfaces for communication, such as IPMI, SMBus,
Super I/O, or some MCUs. Some PSP functions may occupy the same communication channel, such as UART
or I2C, etc. Pleaseavoidusing multi-process or multi-threading unless you can ensure they will
not cause errors due to simultaneous access to the same channel.InstallationTo use the “Python API for Lanner PSP”, you must haveROOTprivileges and theCore SDKmust be
installed first. To install “Python API for Lanner PSP”, see theInstallationchapter.DocumentationComprehensive documentation is available athttps://psp-api-python.readthedocs.io/.Issues and questionsIf you have a feature request or bug report, please open anissue on GitHub.
If you have a question or need help, this may be better suited toLanner’s official online customer service.Python supportWarning“Python API for Lanner PSP” only supports Python 3.6 and above.
Package: lan-presenter
LAN PresenterThis software enables you to control your presentation remotely from a smartphone,
or an other computer with a browser.It has a web user interface, that looks like this:SECURITY WARNING:This software provides absolutelynoauthentication, authorization, or encryption.Anybodyon your network will be able access the remote control functionality.Supported operating systems:Linux (must be run as root)WindowsHow to useYou will need Python (3.6+) and PIP to install this software.
You can install it with:pip install lan_presenterAfter installation you can run it with:lan_presenter
Package: lanro-gym
LANRO (Language Robotics)LANROis a platform to study language-conditioned reinforcement learning.
It is part of the following publications that introduced the following features:a synthetic caretaker providing instructions in hindsightGrounding Hindsight Instructions in Multi-Goal Reinforcement Learning for Robotics(ICDL 2022, seeicdl2022branch for old version)a setup for conversational repair via action correctionsLanguage-Conditioned Reinforcement Learning to Solve Misunderstandings with Action Corrections(NeurIPS 2022 Workshop LaReL)InstallationPip modulepipinstalllanro-gymFrom sourcegitclonehttps://github.com/frankroeder/lanro-gym.gitcdlanro-gym/&&pipinstall-e.or# via httpspipinstallgit+https://github.com/frankroeder/lanro-gym.git# or sshpipinstallgit+ssh://git@github.com/frankroeder/lanro-gym.gitExampleimportgymnasiumasgymimportlanro_gymenv=gym.make('PandaStack2-v0',render=True)obs,info=env.reset()terminated=Falsewhilenotterminated:obs,reward,terminated,truncated,info=env.step(env.action_space.sample())env.close()EnvironmentsClick here for the environments READMEKeyboard and mouse controlIt is also possible to manipulate the robot with sliderspythonmain.py-i--envPandaNLReach2-v0or your keyboardpythonmain.py-i--keyboard--envPandaNLReach2-v0DevelopersRunning testsWe usepytest.PYTHONPATH=$PWDpytesttest/Measure the FPS of your system:PYTHONPATH=$PWDpythonexamples/fps.pyAcknowledgementsThis work uses code and got inspired by following open-source projects:pybulletHomepagehttps://pybullet.org/Source:https://github.com/bulletphysics/bullet3/tree/master/examples/pybulletLicense:Zlibpanda-gymSource:https://github.com/qgallouedec/panda-gymLicense:MITChanges: The code structure oflanro-gymcontains copies and extensively modified parts ofpanda-gym.CitationsGrounding Hindsight Instructions in Multi-Goal Reinforcement Learning for Robotics@inproceedings{Roder_GroundingHindsight_2022,title={Grounding {{Hindsight Instructions}} in {{Multi-Goal Reinforcement Learning}} for {{Robotics}}},booktitle={International {{Conference}} on {{Development}} and {{Learning}}},author={R{\"o}der, Frank and Eppe, Manfred and Wermter, Stefan},year={2022},pages={170--177},publisher={{IEEE}},isbn={978-1-66541-310-7},}pybullet@MISC{coumans2021,author={Erwin Coumans and Yunfei Bai},title={PyBullet, a Python module for physics simulation for games, robotics and machine learning},howpublished={\url{http://pybullet.org}},year={2016--2021}}panda-gym@article{gallouedec2021pandagym,title={{panda-gym: Open-Source Goal-Conditioned Environments for Robotic Learning}},author={Gallou{\'e}dec, Quentin and Cazin, Nicolas and Dellandr{\'e}a, Emmanuel and Chen, Liming},year=2021,journal={4th Robot Learning Workshop: Self-Supervised and Lifelong Learning at NeurIPS},}
Package: lanshark-django-xhtml2pdf
AttentionThis is a fork of thehttps://github.com/xhtml2pdf/django-xhtml2pdfproject.This project is wrapper code between the django project and the xhtml2pdf
project, both have a few maintaining so maybe are not ideal for your project.What it does is simply allow people to create xhtml2pdf templates using all the
cool django things like STATIC_URL etc.. (like one would for a webpage
template), and the utils function makes all the images and resources appear in
the pdf.This release (0.0.7) supports Django 2.0, and Python 3.6.NOTE:While this project is being maintained on a limited basis for legacy projects,
we recommend strongly that new projects consider usingWeasyPrint <https://weasyprint.org>.UsageSimply do the following:from django_xhtml2pdf.utils import generate_pdf

def myview(response):
    resp = HttpResponse(content_type='application/pdf')
    result = generate_pdf('my_template.html', file_object=resp)
    return resultClass-based viewsYou can use the provided PdfMixin with any view that subclasses TemplateView,
example:from django.views.generic.detail import DetailView
from django_xhtml2pdf.views import PdfMixin
from .models import Product

class ProductPdfView(PdfMixin, DetailView):
    model = Product
    template_name = "product_pdf.html"It will output the rendered content of the view in pdf.DecoratorSimply do the following:from django_xhtml2pdf.utils import pdf_decorator

@pdf_decorator
def myview(request):
    return render(request, 'mytemplate.html')Change the pdf file name:from django_xhtml2pdf.utils import pdf_decorator

@pdf_decorator(pdfname='new_filename.pdf')
def myview(request):
    return render(request, 'mytemplate.html')
Package: lansync
Sales pitch- Ever felt the pain of transferring files to your peers?- Yeah, well we've got Facebook and email to transfer them.- What if you file is bigger than 25MB? What if you want to transfer a 10GB archive or a VM image?Not everyone has big USB sticks or external hard drives with them all the time. Online file sharing services are cool, however, there are 2 things I dislike about them:Sending any file to a peer means uploading it on a server first and then my peer has to download it which is a total waste of traffic. What if my bandwidth is low?Privacy concerns - I don't want someone potentially snooping on my files.Peer-to-peer should be easy, especially when connected to the same network! How do we do it then?Read on.What is this project about?lansyncis an application that simplifies file transfers between peers connected to the same network.It is a wrapper around the popularrsynctool.The way rsync worksis really clever and it's quite easy to synchronize files on different machines.The issue is that 99% of the time rsync is used with ssh and having ssh access to someone's computer is not desirable (at least from their point of view).Fortunately, you can use rsync with ssh by severely limiting the access you have over that channel.
To be more precise you are allowed only to runrsync --serveron the receiving side.DemoHere you can see a simple example. The client on the left wants to sendtest.txtto the client on the left. You can see that both machines have different ip addresses but are on the same network. Before runninglansyncthersynccommand fails dues to missing permissions, but once the public key of the machine on the right is imported, rsync succeeds and the file is  successfully sent.Currently key importing can be done in several ways with-ior--import:Raw string of passedRead from a fileGithub usernameNote that for each of the last two, if multiple keys are found, they will all be added.Now since you are importing other people's (hopefully ones you trust) keys it would be a good idea to limit the share directory in some way.
You don't want people trolling you by sending 100GB files just do troll you and leave with without any free space.Share size limitHow does it work?When you runlansync --size <some size>a file is created with that size on your machine in the~/.lansync/directory.
Afterwards that file is formatted as a disk image and a singleext4partition is setup.Mounting filesystems requiressudoaccess so it has been left up to you to mount the new filesystem in you share directory.
The application tells you how to do that exactly in a secure way.Essentially, people are sharing files to your virtual filesystem that you can delete anytime you want without affecting the rest of your system.InstallationCurrently I do no provide a single binary so I recommend installing dependencies in a virtual environment:$gitclonegit@github.com:ViktorBarzin/lansync.git
$pipinstall-rrequirements.txtSee help with$pythonlansync.py-hTODO:add PyPi package/binarysmb supportKnown issuesSince the app is composed of multiple files, moving any of them to another directory may result if failure to run. (Paths are painful)
Package: lant
Langton's AntAn implementation ofLangton's Antin Python for fun.InstallationpipinstalllantUsageTo get started, you may invoke the program with:ant-walk100000output.mp4This produces the evolution of the ant on the grid until it walks over the
edge, or the maximum number of steps is met, in this case 100k.For more advanced usage, see the helptext:ant-walk--help
Package: lantern3
lantern3.pyLight up the Ethereum blockchain with Lantern3, a Python library that provides high-level interfaces for sending bundled transactions to block builders. Lantern3 aims to increase the success rate of transaction inclusion while mitigating issues such as transaction reverts, front-running, back-running, and sandwich attacks.BuildersLantern3 supports multiple block builders that you can use to send your bundled transactions.NameRPC EndpointNotesFlashbotshttps://relay.flashbots.netFlashbotsBuilderbuilder0x69https://builder0x69.iobeaverbuildhttps://rpc.beaverbuild.orgrsync-builderhttps://rsync-builder.xyzPlease refer to the documentation of each block builder for any specific requirements or considerations when using them.ExamplesTo get started with Lantern3, you can explore the provided examples. The following example demonstrates a simple transfer of Ether:$python3examples/simple_transfer.py<YOUR_PRIVATE_KEY>Please note that before running the examples, you may need to install the necessary dependencies by following the installation instructions in the project's documentation.ContributingWe welcome contributions to Lantern3! If you encounter any issues, have suggestions, or want to contribute improvements or new features, please open an issue or submit a pull request on the GitHub repository.LicenseLantern3 is licensed under theMIT License. See theLICENSEfile for more details.
Package: lantern-client
Python Client for LanternInstallpipinstalllantern-clientBasic usagefromlanternimportSyncClientDB_URL="postgresql://postgres@localhost:5432/lantern"client=SyncClient(url=DB_URL,table_name="small_world",dimensions=3,distance_type="l2sq",m=12,ef=64,ef_construction=64)try:client.drop()except:passclient.create_table()client.bulk_insert([("1",[0,0,0],{"name":"a"}),("2",[0,1,0],{"name":"b"}),("3",[0,0,1],{"name":"c"})])client.create_index()# Select specific fieldsvec_by_id=client.get_by_id(id="1",select_fields=["id","metadata"])assert(vec_by_id.embedding==None)# Get by idvec_by_id=client.get_by_id("1")assert(vec_by_id.id=="1")# Get by idsvectors_by_ids=client.get_by_ids(["1","3"])assert(len(vectors_by_ids)==2)assert(vectors_by_ids[0].id=="1")assert(vectors_by_ids[1].id=="3")# Insert oneclient.upsert(("4",[1,0,0],{"name":"d"}))# Updateclient.update_by_id(id="4",metadata={"name":"4"})# Get row countrow_count=client.count()assert(row_count==4)vec_by_id=client.get_by_id(id="4",select_fields=["id","embedding","metadata"])assert(vec_by_id.metadata.name=="4")vectors=client.search(query_id="4")assert(len(vectors)==row_count)assert(vectors[0].id=="4")assert(vectors[0].distance==0)vectors=client.search(query_embedding=vec_by_id.embedding,limit=2,filter={"name":"a"},select_fields=["id"])assert(len(vectors)==1)assert(vectors[0].id=="1")assert(vectors[0].metadata==None)assert(vectors[0].embedding==None)