Saravanan666/pypi-org huggingface dataset:
Package: lisa-orm
lisa-ormLisa is an ORMAvailable fields now:- CharField()
- IntegerField()
- BooleanField()
- FloatField()
- TextField()
- DateField() -> not fully ready
- DateTimeField() -> not fully readyHow to use lisa-orm:Let's connect to database first:# Importing modelsfromlisa_orm.dbimportmodels# Path to databasedb_path='db.sqlite3'# Connect to database:db=models.DB(db_path)Ok now we are connected to database.let's create our models:# Create basic system to manage classes and students# Create classes modelclassSchoolClass(models.Model):table_name='classes'class_name=models.CharField(max_length=30,unique=True)def__str__(self):returnself.name# Create students modelclassStudent(models.Model):table_name='students'student_name=models.CharField(max_length=60)student_age=models.IntegerField()student_gender=models.BooleanField()# 1 for male and 0 for femalestudent_class=models.ForeignKey(SchoolClass)def__str__(self):returnself.nameNow we just defined the models.We should apply them to database.db.create(SchoolClass)db.create(Student)Congratulations. now you have two tables in databaseLet's add some data to our SchoolClass model:# create instances of SchoolClassclass_1=SchoolClass(class_name='1-1')class_2=SchoolClass(class_name='1-2')class_3=SchoolClass(class_name='1-3')# saving themdb.save(class_1)db.save(class_2)db.save(class_3)add data to Student model:# we can add data to foreignkey with to method:# first: field_name__id=id. in our case will be:# student_class__id=1# the second is adding by reference field_name=instance# in our case will be: student_class=class_1# let's start:# first we should get class that FK will reference toclass_1=db.get(SchoolClass,id=1)# creating instances of Studentahmed=Student(student_name='ahmed mohamed',student_age=19,student_gender=1,student_class=class_1)marwan=Student(student_name='marwan mohamed',student_age=19,student_gender=1,student_class=class_1)asmaa=Student(student_name='asmaa ahmed',student_age=16,student_gender=0,student_class=class_1)# saving themdb.save(ahmed)db.save(marwan)db.save(asmaa)Now we have data in our database.let's get it:# get one recordeone_rec_1=db.get(Student,id=1)one_rec_2=db.get(Student,student_name='marwan mohamed')one_rec_3=db.get(Student,id=1,student_name='ahmed mohamed')# get return result as object of model (Student)# filter datafiltered=db.filter(Student,student_age=19)# filter return result as list of objects of model (Student)We can access values by reference:results=db.filter(Student,student_age=19)ifresults:# to check if results not Noneforresinresults:print(f'name:{res.student_name}| class:{res.student_class.class_name}')# Output:# name: ahmed mohamed | class: 1-1# name: marwan mohamed | class: 1-1We can delete models by:db.drop(SchoolClass)db.drop(Student)
Package: lisa-plugins-test
OverviewTest pluginRequirementsPython (2.7, 3.4)Django (1.8)Django REST Framework (3.0, 3.1)InstallationInstall usingpip…$pipinstalllisa-plugins-testExampleTODO: Write example.TestingInstall testing requirements.$pipinstall-rrequirements.txtRun with runtests.$./runtests.pyYou can also use the excellenttoxtesting tool to run the tests
against all supported versions of Python and Django. Install tox
globally, and then simply run:$tox
Package: lisa-server
AboutThis project is like the J.A.R.V.I.S IA built by Tony Stark in the Iron Man films.I decided to create my own Digital Life Assistant because I didn’t found any good project to contribute, or the concept wasn’t good enough to fit my needs. I want something fast, easy to understand, easy to edit, easy to add features. Something small enough to run on a cheap computer like Raspberry Pi.L.I.S.A will assist me as a Digital Life Assistant.It will give me usefull informations even if I didn’t ask these, and answer me when I will ask something I want to know or to do.
I actually have my house managed by a Fibaro Home Center 2 controller (Zwave).
L.I.S.A will be able to manage it (and other boxes with a simple module) and allow me to control my house by voice.State of the project :DonationDocumentationYou will find all documentation needed onhttps://lisa.readthedocs.org/en/latest/index.html
Package: lisatools
lisatoolsTools for monitoring my Lifetime ISA portfolio.Installation$pipinstalllisatoolsUsagelisatoolsprovides classes and functions that help me manage my Lifetime ISA
fund portfolio. For example, I can calculate the trades required to obtain
my target portfolio as in the following snippet:importlisatoolsimportdatetimeftse_global=lisatools.Fund("FTSE Global All Cap Index Fund",172.14,isin="GB00BD3RZ582",date=datetime.date(2022,11,21))gilts=lisatools.Fund("U.K. Gilt UCITS ETF (VGOV)",18.58,isin="IE00B42WWV65",date=datetime.date(2022,11,21))holding1=lisatools.Holding(ftse_global,1.0,0.6)holding2=lisatools.Holding(gilts,5.0,0.4)pf=lisatools.Portfolio([holding1,holding2])buy,sell=pf.trade_to_target()print("Buy:\n=====",buy,"\nSell:\n=====",sell,sep="\n")A more elaborate exampleis provided in the /docs/ folder.Licenselisatoolswas created by Istvan Kleijn. It is licensed under the terms of the MIT license.Creditslisatoolswas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: lis-autocontent
lis-autocontentScrapes the LIS datastore (https://data.legumeinfo.org) and populates various configs and databases for deploymentReqiurementsJBrowse2 (https://jbrowse.org/jb2/docs/combined/)NCBI-BLAST+ (https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/)Python3.7+Quick Install With pipCreate a virtual environment for python3.python3 -m venv lis_autocontent_env(optional)Source environment.. ./lis_autocontent_env/bin/activate(optional)pip install from pypi.pip install lis-autocontentDeveloper InstallClone repository.git clone https://github.com/legumeinfo/LIS-autocontent.gitCreate a virtual environment for python3python3 -m venv lis_autocontent_env(optional)Source virtual environment. ./lis_autocontent_env/bin/activate(optional)CD into repo and install requirements.cd LIS-autocontent/;pip install -r requirements.txt(optional)Install Black and pre-commit for git hooks.pip install black pre-commitInitialize pre-commit (if you haven't already).pre-commit installBuild package locally.python setup.py build(optional)Install package into env and add to PATH.python setup.py install(optional)Run(lis_autocontent_env) $ lis-autocontent --help
Usage: lis-autocontent [OPTIONS] COMMAND [ARGS]...

  Click Group Object to Attach Commands.

Options:
  --help  Show this message and exit.

Commands:
  populate-blast     CLI entry for populate-blast
  populate-dscensor  CLI entry for populate-dscensor
  populate-jbrowse2  CLI entry for populate-jbrowse2
  populate-jekyll    CLI entry for populate-jekyllFOOOO
Package: lisdf
LISdfA repository for a universal I/O spec for Task and Motion Planning (TAMP), along with scripts to convert from
popular specs to our spec. Includes:LISdf specification for specifying scenes for TAMP.A sophisticated parser for reading.lisdfscene files.The LISdf Plan Output format, with helpers to read, write, validate and run plans.Note:this repository is under active development and is not intended for general use.
Please contactwillshen at mit.eduandjiayuanm at mit.eduif you are interested in using this package.Table of ContentsInstallationDocumentationContributingLicenseAuthorsChange LogInstallationDependencies:this package required Python 3.8 or higher. Although the dependencies withinlisdfare minimal,
we recommend you use aconda envorvirtual envwith an appropriate Python version.Installing withpippip install lisdfInstalling from SourceClone the repository and install the dependencies withpip:> git clone git@github.com:Learning-and-Intelligent-Systems/lisdf.git> pip install -e .DocumentationLISdf Input Spec: coming soon...LISdf Plan Output Spec (Google Doc)ContributingDev DependenciesFollow the instructions below:Clone the repository usinggit clone.If you are creating a virtual environment within the project directory, then you might want to call it one of.env, env, .venv, venvas the code checks have been configured to exclude those directories.Runpip install -e '.[develop]'to install all dependencies for development/contribution.(Optional, required for unit tests) Install thelisdf-modelsmodel files by runningpip install lisdf_models@git+https://github.com/Learning-and-Intelligent-Systems/lisdf-models.gitWARNING:thelisdf-modelsrepositoryis ~700MB big as of 10th September 2022.CheckCONTRIBUTING.mdfor more information on how to contribute to this repository, including
how to run the tests, code checks, and publishing to PyPI.LicenseThis repository is licensed under the MIT License. SeeLICENSEfor more details.AuthorsLISdf is an initiative within theLearning and Intelligent Systems (LIS) groupatMIT CSAIL.Contributors and Programmers (alphabetical order):Aidan CurtisJiayuan MaoNishanth KumarSahit ChintalapudiTom SilverWilliam ShenZhutian YangOther contributors who helped with general discussions, design, feedback (alphabetical order):Leslie KaelblingMichael NoseworthyNicholas RoyRachel HolladayTomás Lozano-PérezYilun DuChange Log0.1.0Initial release to PyPI.LISdf = Learning and Intelligent Systems Description Format
Package: lisense
lisense=======Sensible repository licensing for Humans.. image:: https://pypip.in/status/lisense/badge.svg:target: https://pypi.python.org/pypi//:alt: Development Status.. image:: https://pypip.in/version/lisense/badge.svg:target: https://pypi.python.org/pypi//:alt: Latest Version.. image:: https://pypip.in/py_versions/lisense/badge.svg:target: https://pypi.python.org/pypi//:alt: Supported Python versions.. image:: https://pypip.in/license/lisense/badge.svg:target: https://pypi.python.org/pypi//:alt: License.. image:: https://pypip.in/download/lisense/badge.svg:target: https://pypi.python.org/pypi///:alt: Downloads**Sir Isaac Newton once said that***Open source simply isn't open source without a proper license. So add a license. Always.*GitHub recently launched their `License API <https://developer.github.com/v3/licenses/>`__, it's still in preview stage though.They also released a blog post showing `Open source license usage on GitHub.com <https://github.com/blog/1964-open-source-license-usage-on-github-com>`__, which is enough to convice you that why adding a license is`sine qua non <http://lmgtfy.com/?q=define+sine+qua+non>`__.*Newton and Open Source, Respect both, let us.*\- Yodalisense in action~~~~~~~~~~~~~~~~~.. figure:: https://raw.githubusercontent.com/pravj/lisense/master/docs/lisense.gif:alt: lisenselisense. What?~~~~~~~~~~~~~~lisense is a command-line tool which helps you license your projects.- Lets you have a global configuration. Use your defaults, anywhere, anytime.- Guides you about using a particular license, better than you uncle.- And yes! Generates licenses.lisense. Controls?~~~~~~~~~~~~~~~~~~Generating a license is more easy than doing nothing.- lisense listList all available licenses.- lisense guide [license]Provide guidance about a license. Description, use cases etc.- lisense setupSetup global lisense configurations. Default license and owner name.- lisense new [license] --owner="OWNER NAME"Generates new license. Both the *license* and *owner* arguments are optional. Uses defaults when not supplied.Automatic extra context variable handling~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Almost all the licenses have two common fields in them, *owner* and *year*. Some of them have extra fields also. For example, the GPL-v2 licensehas a field *description*, which asks for the description of the project.Lisense uses *jinja2*'s low level meta API to parse the abstract syntax tree of the template and interactively asks users to fillextra fields, if any.So, you don't have to worry about it.Dependencies~~~~~~~~~~~~- `docopt <https://github.com/docopt/docopt>`__ - command-line argument parsing- `jinja2 <https://github.com/mitsuhiko/jinja2>`__ - generate licenses from license templates- `xtermcolor <https://github.com/broadinstitute/xtermcolor>`__ - colorful messages on terminal-----Built with :two_hearts: by `Pravendra Singh <http://pravj.github.io>`__
Package: lisflood-lisvap
Lisflood OSThis repository hosts source code of LISVAP model.
Go toLisflood OS pagefor more information.Other useful resourcesProjectDocumentationSource codeLisfloodModel docshttps://github.com/ec-jrc/lisflood-codeUser guideLisvapDocshttps://github.com/ec-jrc/lisflood-lisvap(this repository)Calibration toolDocshttps://github.com/ec-jrc/lisflood-calibrationLisflood Utilitieshttps://github.com/ec-jrc/lisflood-utilitiesLisflood Usecaseshttps://github.com/ec-jrc/lisflood-usecasesLISVAPLISVAP is a model that produce Evaporation timeseries maps that can be used as input to Water Balance/Flood simulation models.Reference values for potential evapotranspiration and evaporation are estimated using the Penman-Monteith equation (Supit et al., 1994, Supit & Van Der Goot, 2003)For full documentation, please visit theofficial documentationwebsite.This software is part of Lisflood Open source/Nexus Initiative and it's released under the EUPL 1.2 license.
Source code and test cases are available in theLISVAP GitHub repositoryJRC - European Commission(C) 2019
Package: lishoginet
Based onlichess-org/fishnet@824bfe4InstallationInstall the lishoginet client.Via pipTo install or upgrade to the latest version do:pip install --upgrade --user lishoginetExample usage:python -m lishoginet --auto-updateOther useful commands:python -m lishoginet configure  # Rerun the configuration dialog
python -m lishoignet systemd  # Generate a systemd service file
python -m lishoginet --help  # List all commands and optionsVia DockerThere is aDocker containercourtesy of@mklemenz. For example you can
simply do:docker build -t lishoginet:latest .
docker run -it lishoginet:latestLichess’ Video tutorialFAQWhich engine does lishoginet use?lishoginet is usinga fork of Stockfish called Fairy Stockfishwhich supports both shogi and shogi variants
by@ianfab.You can build Fairy-Stockfish yourself (for example with./build-stockfish.sh)
and provide the path usingpython-mlishoginet--stockfish-command. Otherwise
a precompiled binary will be downloaded for you.What are the requirements?Precompiled Fairy-Stockfish binaries available for Linux, Windows and OS X on
Intel and AMD CPUsPython 3.3+ or 2.7Will max out the number of configured CPU coresUses a default of 256 MiB RAM per engine process, spawns one process for
each group of ~3 coresA small amount of disk spaceLow-bandwidth network communication with Lishogi servers
(only outgoing HTTP requests, so probably no firewall configuration
required)Is my CPU fast enough?Almost all processors will be able to meet the requirement of 4 meganodes in
6 seconds. Clients on the faster end will automatically be assigned
analysis jobs that have humans waiting for the result (the user queue, as
opposed to the system queue for slower clients).What happens if I stop my client?Feel free to turn your client on and off at any time. By default, the client
will try to finish any jobs it has already started. On immediate shutdown,
the client tries to inform Lishogi that jobs should be reassigned.
If even that fails,
Lishogi will reassign the jobs after a timeout.Will lishoginet use my GPU?No, Fairy-Stockfish is a classical alpha-beta engine.Is lishoginet secure?To the best of our knowledge. All network communication uses modern TLS.
However you implicitly trust the authors, PyPI infrastructure when running with--auto-update, the CI infrastructure when using precompiled Fairy-Stockfish
binaries, and Lishogi to not exploit potential vulnerabilities in Fairy-Stockfish’s
USI implementation. You can mitigate all of these by running lishoginet as an
unprivileged user.Is there a leaderboard of contributors?No, sorry, not publically. It would incentivize gaming the metrics.Is there a Docker image?Yes, see the installation instructions above.Can I autoscale lishoginet in the cloud?There is currently no ready-made solution, butan API for monitoring the job queue statusis provided.ProtocolSeeprotocol.mdfor details.Licenselishoginet is licensed under the GPLv3+. See LICENSE.txt for the full
license text.
Package: lisper
lisperLispWARNING: This repo is in development. It was automatically generated withmkpylib. If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality isprint('TODO').If you really want to try it out, feel free. I recommend reading through thetestsand commit history to see if it does what you need, orask mefor status updates.Stay tuned!Installpip3 install -U lisperOr develop locally:git clone https://github.com/shawwn/lisper ~/lisper
cd ~/lisper
python3 setup.py developUsageimportlisperprint('TODO')LicenseMIT. SeeLICENSEfile.ContactA library byShawn Presser. If you found it useful, please considerjoining my patreon!My Twitter DMs are always open; you shouldsend me one! It's the best way to reach me, and I'm always happy to hear from you.Twitter:@theshawwnPatreon:https://www.patreon.com/shawwnHN:sillysaurusxWebsite:shawwn.com
Package: lisptick
lisptick-pythonLispTick Python client libraryIt allows to send request and receive result from a LispTick server.Get a socket connection to a LispTick server, for example:lisptick.org:12006main serverkereon.lisptick.org:12006Kereon Intelligence serverSend your request and read the streamed result.packageclient_test.py is our regression test ensuring each data type is checked.MeteoNet ExampleHere is an example asking for the temperatures on 7th june 20172017-07-06at Poitiers Airport (meteonet code"86027001"), data are coming fromMeteoNet.importlisptickHOST="lisptick.org"PORT=12006defmain():"""Ask for temperature at Poitiers airport"""conn=lisptick.Socket(HOST,PORT)request="""(timeserie @"t" "meteonet" "86027001" 2017-07-06)"""timeserie=conn.get_result(request)forpointintimeserie:print(point)if__name__=="__main__":main()ExamplesDirectories with examples for different data sources.MeteoNetMeteorological data from Météo France.oneday.pySimple small temperature timeserie.Full result is retreived into an array.oneday_walk.pySimple small temperature timeserie.Streamed result is read point by point minimizing memory usage.temperature_max.pyA little bit more elaborated requests with symbol definition and Kelvin to Celsius convertion.
Stream maximum temperature in Celsius at Poitiers from 1st Jan 2016 to 31th Dec 2018.BitstampBitstamp is a cryptocurrency market place allowing bitcoin trading.We use it as an example of live flow computation with LispTick.liquidity.pyLive simple liquidity indicators, like bid ask spread and mininum available volume at first limit.Shows how to request several live timeseries in one request and how to handle them.
Package: lispy
An extension of Peter Norvig’s lispy (http://norvig.com/lispy.html)
which includes the ability to access symbols from python packages as
if they were written in lispy.This experiment was initially intended to let me play with scheme while
still having access to python’s batteries.MotivationI’ve been writing a lot of python code, and I love the python
ecosystem. It has wonderful tools for web application development
(Django, Flask, Pyramid), data munging (Beautiful Soup, requests) and
data analysis (NumPy, SciPy, Pandas, IPython). I’d like to learn more
about the internal implementation of python, its introspection
abilities and its design decisions. I’d also like to better understand
the LISP ecosystem, what better way than implementing a LISP in
python.Current FeaturesA minimal scheme implementation in Python (based on Peter Norvig’s lispy)A scheme implementation which can call python functions within the same processThe begining of a “dialect framework” which will allow customized
lisp dialects with changes to the lanage implemented in either
python or a lispy dialectGoalsThis is currently a pet project to facilitate learning the LISP and
scheme ecosystems and to bring about a better understanding of the
theory and complexity of language design. My roadmap includes several
additions to lispy to make it a toolkit for python developers who
might be interested in dipping their toe in LISP. For functionality
that’s left to be implemented please check the issue tracker for the
project athttps://github.com/adamhaney/lispy/issues
Package: lissajous
lissajousA Lissajous Curve Visualizer written in PythonInstallationpip install lissajous
lissajousManual InstallationRequirementsPython 3.6+numpy 1.16+matplotlib 3.0+StepsClick theClone or downloadbutton in the top right corner then clickDownload ZIPUnpack thezip fileRun the main scriptcd lissajous
python __main__.pyScreenshotsLicenseThis project is licensed under MIT. For more information see theLICENSEfile.
Package: list115utils
This package contains A115’s collection of clean and useful utilities for
manipulating python lists and for facilitating funcional programming with
Python.  These utilities have been tried and tested in multiple real
world deployments and have proven useful in just about any kind of project.The best way to learn about the provided utilities is to look at the
nicely commented source code and the comprehensive suite of unit tests.This package is used as one of several basic building blocks in multiple
other Python packages released as open-source by A115.Python 2.7 is required.For commercial support, seehttp://www.a115.bg/
Package: list2excel
============================list2excel changelog============================Version 0.5.5, 23 Jun 2017:--------------------------------* django >=1.8 compatibility (parent_model removed)Version 0.5.4, 26 Feb 2017:--------------------------------* export CSV tab delimited (usato per Mailchimp)Version 0.5.3, 29 Oct 2016:--------------------------------* django >=1.7 compatibility (get_query_set deprecated and removed)Version 0.5.2, 9 May 2016:--------------------------------* setuptools installVersion 0.5.1, 29 December 2015:--------------------------------* Fixed handling of related fields in explicit export listsVersion 0.5.0, 17 September 2013:--------------------------------* Initial release
Package: listaprimo
Este es un ejemplo simple de un paquete Python. Este paquete contiene una funciÃ³n para realizar un listado de los numero primos entre 1 y el numero soleccionado por el usuario.This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Package: listas-anidadas
Listas anidadasMódulo que incluye una función para imprimir los ítems de listas anidadas separados en cada línea. La función también permite tabularlos.Nested listsThis module includes a function that prints nested list's items line by line. It may also indent them.Author: FortinuxEmail:info@fortinux.comWeb:https://fortinux.comLicense: GNU General Public License v3.0