Saravanan666/pypi-org huggingface dataset:
Package: linder
LINDER: Land use INDexERA pipeline for calculating land cover over urban/rural areas.How to use?A quick demo:frompathlibimportPathimportlinderasld# get a list of CSV files of calculated land cover fractions of all downloaded imageslist_path_fraction=ld.get_land_cover(51.515070,-0.008555,51.489564,0.034932,"2016-01-01","2017-10-01",path_GUF="Data/GUF/WSF2015_v1_EPSG4326/WSF2015_v1_EPSG4326",path_save=Path("~/Downloads/linder_res").expanduser(),)# synthesise the above results to one `DataFrame`df_lc=ld.proc_fraction(list_path_fraction)Required librariesGrassfor macOS, download and install the grass package:http://grassmac.wikidot.com/downloadsother python librariesusecondato create a fresh environment for this pipeline:condaenvcreate-fGDAL.ymlDependency details refer toGDAL.yml.Dependency datasetsnc_spm_08datasetThis dataset includes projection files required byGRASS.
download ithere.GUFdataset (optional)GUF (Global Urban Footprint)is a global urban coverage dataset produced by DLR.
This pipeline useGUFto improve accuracy in predicting urban features.configurationsentinel-hubrefer tothis page for setting up a new configuration.
Then update thesentinelhubinstance ID as follows:sentinelhub.config --instance_id [your-instance-ID]detailsThis is a pipeline for calculating the landcover over desired regions. It includes:Step 1: Getting the location of the region (latandlon)Step 2: Getting the satellite image for the desired regionStep 3: Prediction of the land cover into 3 categories:1-Urban2-Green3-Water and4-otherStep 4: Overlaying theGUFdata into the prediction. Therefore the landcover becomes 1-Water 2-Green 3-Urban 4-OtherStep 5: Overlaying the building data fromOSMorMicrosoft data(only for the US). Therefore, the final land cover includes 1-Water 2-Green 3-Buildings 4-Paved 5-OthersUsing this pipeline is as simple as choosing the coordinates, and providing the GUF data and/or building data. The user can choose which data is available. For example, in the case of no GUF data, the pipeline uses the prediction, or in the case of no Microsoft data, the pipeline uses the OSM data for buildings. Note that adding GUF data makes the final result of the landcover more accurate.Some technical details:Merging various maps might be very computationally expensive, and the current Python packages like GDAL are not very efficient.
The pipeline instead uses a python interface to use GRASS functions (such asv.overlay) directly to speed up the merging processes.The pipeline uses a pre-trained model to predict the land cover.
Currently, the model is trained over Colombo, but various tests has shown it has a good performance on other places as well.
A more sophisticated model can be trained by using more datasets.Note that while OSM data are automatically fetched from the website for the desired region, the Microsoft data need to be downloaded for the chosen location manually. This can be automated in the future.Some examplesColombo, Sri LankaPittsburgh, United States
Package: lindle
Lindle PyLindle is your ultimate solution for managing and organizing your web links with ease. This versatile Chrome extension empowers you to save, categorize, and access your online resources like never before.API DocumentationTheAPI Documentationfor Lindle.Installationpip install lindleorpip3 install lindleGetting StartedGet your Lindle API key fromChrome Extension.import lindle
apiKey = "YOUR_API";
lindle = Lindle(apiKey)Get Linkslinks = lindle.get_links()
print(links)Get Foldersfolders = lindle.get_folders()
print(folders)Get Synced Bookmarksdata = lindle.get_synced_bookmarks()
print(data.folders)
print(data.links)Change Log1.0.0 (15/02/2023)Initial version
Package: lindo
The Python Interface to LINDO API.This package requires LINDO API and a valid license key. Please refer to lindoapi/readme.html for LINDO API installation details.InstallationThis python package can be installed with pipFor administrative users:>pipinstalllindoFor standard (non-administrative) users:>pipinstalllindo--userTestingA quick way to test the installation is to run>python-mlindo_testYou can also try out the samples by> python samples/lp.pyPossible errors due to misconfigurationYou may get the following error if your LINDOAPI_HOME environment variable is not set up.Error: Environment variable LINDOAPI_HOME should be setTo fix the problem follow these stepsUsing WindowsOn the command line> setx LINDOAPI_HOME "c:/lindoapi"Using Mac or LinuxOn the command lineFor administrative users:$ export LINDOAPI_HOME="/opt/lindoapi"For standard (non-administrative) users:$ export LINDOAPI_HOME="~/opt/lindoapi"To have this variable set automatically, add the above line to your~/.bashrcor~/.bash_profilefile.How to Build Wheel and Install (for package managers)To build the python package on any operating system first start by creating a whl file. From the top of the lindoapi-python directory run the command.>python-mbuildIf the command is successful a new directory nameddistis created in the lindoapi-python directory. The new directory will have a two files with extension.whland.tar.gz. For example, if you built it on Mac OS using Python 3.10 the new directory will look like this.├──dist
│├──lindo-x.y.z-cp310-cp310-macosx_10_9_universal2.whl
│└──lindo-x.y.z.tar.gzThe package can now be installed locally using the command.>pipinstalldist/*.whl
Package: lind-static-resources
Copyright (c) 2020 James MontgomeryPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: # Lind Static DesignsPlatform: any
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Package: lindworm
lindwormlindworm is a pure python package.DependenciesPython 3 is required
use of anaconda recommended.packages used:pandaspysimpleguiwxfeatureslindworm.pyGatherMDlindworm.ldmStorageFolderlindworm.ldmStorageFolderFrminstallPackage is published atpypi.pipinstalllindwormpythonsetup.pyinstalllindworm.pyGatherMD{#lindworm.pyGatherMD}python gather for markdown to simple pandocmarkdownis a great way to document your thoughts and code.
If small md fragments are supposed to be combined into a single document usingpandoc, certain problems may show up:keeping right orderimages in sub foldersreferenceslinks to files in md are suddenly dead in docusage{#lindworm.pyGatherMD.usage}analyse markdown file and generate one result markdown filelindworm.gather.mdgoala python script shall read one md file, analyse it and walk through each md file link.
all found md files shall be compacted into a new single one.all images links shall be copied into a single media folder.suggested tree structure shall be flattened out.links to other file types, determined by extension, shall be modified to repo links.requirementspython 3 implementationCLI, command line interfaceconfiguration xmlproject language Englishcoding language English, sort ofbackgroundFIXMEmarkdownmarkdownor simple md is available in a lot of state-of-the-art platform, a few format instruction allow you to structure
information into readable look, with any overhead.
it's text rendered into html.benefits:easy to learneasy to rememberlightweightsafe, no macros or anything that might invite an attackpandocpandocis a flexible document converter.
seemanualIt can read and write:markdownhtmlodtdocxtexpdfepuband moremore on githubsrcwikitrickslindworm.ldmStorageFolder{#lindworm.ldmStorageFolder}Walk through folder content, gather filenames and directories,
calculate fingerprint (SHA) on portions of data or all.
Result can be stored in json file.lindworm.ldmStorageFolderFrm{#lindworm.ldmStorageFolderFrm}Provide GUI to increase usability oflindworm.ldmStorageFolder.contributeevery contribution is very much appreciated.join, discuss, use and share.
Package: line
LINEDocumentation :http://carpedm20.github.io/line/Developer Mailing List:Google
GroupMay the LINE be with you…Update2015.05.28sendImageandsendImageWithURLis fixed.To send an Image:>>> contact = client.contacts[0]
>>> contact.sendImage('./image.jpg')Or use:>>> contact = client.contacts[0]
>>> contact.sendImageWithURL('https://avatars3.githubusercontent.com/u/3346407?v=3&s=460')2015.03.31authToken expirationissuesolved.update authTokenautomatically:$ pip install line --upgradeThere is nothing to change in your original code.update authTokenmanually:$ pip install line --upgrade
$ python
>>> from line import LineClient, LineGroup, LineContact
>>> client = LineClient("ID", "PASSWORD")
>>> client.updateAuthToken() # manual update
True2014.08.08Some codes are removed because of the request of LINE corporation. You
can use library only withauthTokenlogin.ScreenshotAuthorTaehoon Kim / [@carpedm20](http://carpedm20.github.io/about/)
Package: linea
lineaLinear light curve detrending forCHEOPSobservations.
For more information and tutorials:read the docs.LicenseThis project is Copyright (c) Brett M. Morris and licensed under
the terms of the BSD 3-Clause license. This package is based upon
theAstropy package templatewhich is licensed under the BSD 3-clause licence. See the licenses folder for
more information.ContributingWe love contributions! linea is open source, built on open source, and we’d love
to have you in our community. To contribute tolinea, please follow theAstropy dev guidelinesto make a code contribution. Please report any issues or requests for support
via theGitHub Issue tracker.
Package: linea-cli
OverviewThisclifolder contains code for our linea-cli.
Users of this software willpip install linea-cliand use this client from their laptop locallyHow to useThe user need to get access token from linea UI (e.g. dev.linea.ai) first and configure linea-cli to use the credentialInit# linea init
Your Linea API address (e.g. dev.linea.ai) :: localhost
Your API token: < type in the token here>This will create a linea.config file underLINEA_HOME, by default it isHOME/.lineaGet pipeline details# linea list-pipelines
-----
results like this ==>
[
  {
        'name': 'fraud_detection_stream_data',
        'author': '',
        'maintainer': '',
        'last_execution': '',
        'next_execution': '2023-12-18T05:34:07.143493+00:00',
        'health': '',
        'orchestrator': 'default-airflow',
        'orchestrator_url': 'http://localhost/airflow',
        'description': '',
        'frequency': 'an hour',
        'code_link': '/tmp/airflow/dags',
        'last_updated': '2023-12-13T22:32:43.460913',
        'remote_url': ''
    },
    {
        'name': 'fraud_detection_stream_fraud',
        'author': '',
        'maintainer': '',
        'last_execution': '',
        'next_execution': '2023-12-18T05:34:06.736915+00:00',
        'health': '',
        'orchestrator': 'default-airflow',
        'orchestrator_url': 'http://localhost/airflow',
        'description': '',
        'frequency': 'a day',
        'code_link': '/tmp/airflow/dags',
        'last_updated': '2023-12-13T22:32:44.514551',
        'remote_url': ''
    }
]Get task details# linea list-executions fraud_detection_dashboard
-----
results like this ==>
[
    {
        'name': 'scheduled__2023-12-17T03:24:42.253908+00:00',
        'started': '2023-12-18T03:28:30.856181+00:00',
        'ended': '2023-12-18T03:28:34.825636+00:00',
        'status': 'failed',
        'code_link': ''
    },
    {
        'name': 'scheduled__2023-12-16T03:24:42.253908+00:00',
        'started': '2023-12-17T03:30:16.865230+00:00',
        'ended': '2023-12-17T03:30:20.814001+00:00',
        'status': 'failed',
        'code_link': ''
    }
]Create LE (TBD)
Package: lineage-aq
LineageGenealogy management softwareStores lineage of family. Interactive command line interface to create and edit lineage of families.Lineagenoun:
the series of families that somebody comes from originallyवंश, वंशावलीInstallRecommended (To install pipx clickhere)pipx install lineage-aqorpip install lineage-aqOr upgrade by:pipx upgrade lineage-aqorpip install --upgrade lineage-aqUsageExecute:lineageInstall from sourcePoetry is required. For installation clickhere.Download the source and install the dependencies by running:git clone https://github.com/aqdasak/Lineage.git
cd Lineage
poetry installRunIn the source folder containing pyproject.toml, runpoetry shell
lineageFor Python3.7 compatible version clickhere
Package: lineage-aq-py37
LineageBackward compatibility for Python3.7Fork ofhttps://github.com/aqdasak/LineageGenealogy management software.Stores lineage of family. Interactive command line interface to create and edit lineage of families.Lineagenoun:
the series of families that somebody comes from originallyवंश, वंशावलीInstallRecommended (To install pipx clickhere)pipx install lineage-aq-py37orpip install lineage-aq-py37Or upgrade by:pipx upgrade lineage-aq-py37orpip install --upgrade lineage-aq-py37UsageExecute:lineageInstall from sourcePoetry is required. For installation clickhere.Download the source and install the dependencies by running:git clone https://github.com/aqdasak/Lineage-py37.git
cd Lineage-py37
poetry installRunIn the source folder containing pyproject.toml, runpoetry shell
lineage
Package: lineage-bundle
Lineage bundleThis package is distributed under the "DataSentics SW packages Terms of Use." SeelicenseLineage bundle allows you to generate and publish lineage of notebooks and notebook functions of yourDaipeproject.Getting startedAddlineage-bundleto your projectpoetry add lineage-bundle --devGenerate and publish lineage to a static HTMLconsolelineage:publish:htmlOptional:To use a databaase: addsqlalchemybundle.yamlfile to[PROJECT_NAME]/_config/bundles/parameters:sqlalchemybundle:connections:default:engine:mssqlserver:'%env(DB_HOST)%'database:'%env(DB_NAME)%'username:'%env(DB_USER)%'password:'%env(DB_PASS)%'driver:'{ODBCDriver17forSQLServer}'In.envin your Daipe projectAPP_ENV=dev# DatabricksDBX_TOKEN=# LineageDB_HOST=address.of.mssql.server.comDB_NAME=db_nameDB_USER=usernameDB_PASS=passwordInitialize the databaseconsolelineage:database:initGenerate and publish lineage to databaseconsolelineage:publish:databasePreviewPipelines lineageFunctions lineage
Package: lineage.controlpanels
WarningALPHA: THIS IS STILL EXPERIMENTAL CODE!Allows Lineage child site specific configurations for plone.registry based controlpanels.Not available in Lineage ChildsitesThe following control panels change global settings. Therefore they are not available in subsites.content-controlpaneldexterity-typesfilter-controlpanelmaintenance-controlpanelprefs_install_products_formresourceregistry-controlpanelsecurity controlpanelusergroup-groupprefsusergroup-userprefsThis is also disabled, but should probably fixed to work with local registries too:
- portal_registryThis one stores it’s configuration in the registry but has changes one setting in portal_actions, which would affect all sites.
Thus disabled.
- syndication-controlpanelInstallationInstall lineage.controlpanels by adding it to your buildout:[buildout]

...

eggs =
    lineage.controlpanelsand then runningbin/buildoutSource Code and ContributionsIf you want to help with the development (improvement, update, bug-fixing, …)
oflineage.controlpanelsthis is a great idea!The code is located in thegithub collective.You can clone it orget access to the github-collectiveand work directly on the project.Maintainer is Johannes Raggam and the BlueDynamics Alliance developer team. We
appreciate any contribution and if a release is needed to be done on pypi,
please just contact one of usdev@bluedynamics dot comContributorsJens W. Klein <jens@bluedynamics.com>Daniel Widerin <daniel@widerin.net>LicenseThe project is licensed under the GPLv2.Changelog1.0a1 (2016-10-06)Initial release.
[thet]
Package: lineage-keeper
Lineage KeeperA lightweight lineage tool based on Spark and Delta LakeTable of contentsInstalationBasic useFunctionalitiesListener functionload listenerLineage graph viewerLineage graph writerLimitationsDemo NotebookInstalationpip install lineage-keeperBasic usefrom lineage_keeper import load_listener, LineageViewer
load_listener(spark)

df1 = spark.read.table("db.table_1")
df2 = spark.read.table("db.table_2")

df_join = df1.join(df2, "key")

df_join.write.saveAsTable("db.join_tables")

LineageViewer(spark).viewer()FunctionalitiesBy default Lineage Keeper use "default._service_table_lineage_keeper" as a service table.If wanted its possible to use a different service table.Listener functionManually input lineage information on the service tableLineageListener : spark sesison
listener : source DataFrame, target tablell = LineageListener(spark)
ll.listener(df, "target_db.target_table")load listenerChange df.write.saveAsTable to automatically input lineage information on the service tableload_listener(spark)Lineage graph viewerGenerate a static HTML with the lineage graphLineageViewer(spark).viewer()Lineage graph writerSave a static HTML with the lineage graph on diskLineageViewer(spark).save_graph(path)LimitationsIts necessary to use tables sintax to read dataspark.read.table("db.table")spark.sql("SELECT * FROM db.table")To useload_listenerto  is necessary to usedf.write.saveAsTable("db.table")otherwise need to callLineageListener(spark).listener(df, "db.table")Demo NotebookSample using Lineage Keeper
Package: lineageot
LineageOTThis code accompanies the paperhttps://www.nature.com/articles/s41467-021-25133-1. Documentation is available athttps://lineageot.readthedocs.io/.Requirements and installation guideInstalling dependenciesFirst, clone this repository withgit clone https://github.com/aforr/LineageOTDependencies are listed inconda_requirements.ymlas well as inpip_requirements.txt; earlier versions of the packages may work but have not been tested. If you are using Anaconda, they can be installed withconda env create -f conda_requirements.ymlInstallation may take a few minutes. Activate the environment withconda activate lineageOTIf you are using pip and not Anaconda, install dependencies withpip install numpy cython
pip install -r pip_requirements.txtInstalling LineageOTOnce you have set up and activated the environment, install the most recent LineageOT by runningpip install .from the repository's base directory. Alternatively, install from PyPI withpip install lineageotNo specific operating system is required, though there may be a bug in one of the dependencies in certain versions of MacOS (https://github.com/PythonOT/POT/issues/93). The code has been tested on OS X 10.14.6 and Ubuntu 16.04.ExamplesAn example of LineageOT applied to simulated data is inexamples/simulation_demo.ipynb. Running the notebook for one simulation type took around 10 minutes on a "normal" desktop.To fit LineageOT couplings in your own system, follow the steps inexamples/pipeline_demo.ipynbreplacing the syntheticAnnDataobject with your data.
We recommend then using the downstream analysis tools available in the Waddington-OT package:https://broadinstitute.github.io/wot/.
Package: lineage.proxyprops
IntroductionThis package listens for a IChildSiteCreation event and then adds aProxy Propertieslocal utility to that child site.This package along with the Proxy Properties package are proof of concepts and are subject to re-writes :)Lineage Proxy Props TestsFirst a little set up:>>> import zope.component
>>> from p4a.subtyper import interfaces
>>> from Products.CMFCore.interfaces import IPropertiesToolLet’s enable a Child Site.First we go ahead and register the default engine utility.>>> from p4a.subtyper import engine
>>> zope.component.provideUtility(engine.Subtyper())Now we can query the engine as we need information.>>> subtyper = zope.component.getUtility(interfaces.ISubtyper)>>> self.login('contributor')
>>> _ = self.portal.invokeFactory("Folder", "folder")At first the simple folder we created has no subtype.>>> subtyper.existing_type(self.portal.folder) is None
True>>> subtyper.change_type(self.portal.folder, u'collective.lineage.childsite')
>>> subtyper.existing_type(self.portal.folder)
<DescriptorWithName name=collective.lineage.childsite; descriptor=<collective.lineage.descriptors.ChildSiteDescriptor ...>>
>>> interfaces.ISubtyped.providedBy(self.portal.folder)
TrueThen we test that the subscriber from lineage.proxyprops has done its job and added a ProxyProperties utility to the microsite.>>> sm = self.portal.folder.getSiteManager()
>>> sm.getUtility(IPropertiesTool)
<collective.proxyproperties.ProxyProperties ...>Changelog0.1 - (2009-07-10)Initial release
Package: linearalgcalc
Welcome to LinearAlgCalc!This library is built to simplify linear algebra calculations.To import the necessary functions and classes type 'from linearalgcalc import myfunctions'ClassesVector: A vector with real numbersComplex NumberComplex vectors: Vectors with complex numbersFunctionsComplexre: returns the real part of a complex numberim: returns the imaginary part of a complex numberaddition: adds two complex numberssubtraction: subtracts two complex numbersmultiplication: multiplies two complex numbersconjugate: returns the complex conjugatemodulus: calculates the moduluspolar_form: returns the polar form as a stringexponent: returns the complex number to the exponent of nroots: calculates the nth roots of a complex numberVectoraddition: Calculates and returns the sum of two vectorssubtraction: Calculates and returns the difference of two vectorsscalar_multiplication: Calculates and returns the product of a vector with a scalarnorm: Calculates the norm of a vectordot_product: Calculates the dot product of two vectorsangle_between: Calculates the angle between two vectorscross_product: Calculates the cross product of two vectors in R3projection: Calculates the projection of a vector onto anotherunit_vector: Returns the unit vector equivalent of the vectorparallelepiped_volume: Calculates and returns the volume of a parallelepiped constructed by three vectorsisParallel: Returns a boolean value that is dependent on whether the two vectors are parallel or notComplexVectoraddition: Calculates and returns the sum of two complex vectorssubtraction: Calculates and returns the difference of two complex vectorsscalar_multiplication: Calculates and returns the product of a complex vector with a scalarnorm: Calculates the norm of a complex vectorinner_product: Calculates and returns the inner product of a complex vector