Saravanan666/pypi-org huggingface dataset:
Package: latentplot
DescriptionPython package to plot the latent space of a set of images with different methods.Install with pip$python3-mpipinstalllatentplot--userInstall from source$gitclonehttps://github.com/luiscarlosgph/latentplot.git
$cdlatentplot
$python3setup.pyinstall--userExemplary code snippet# List of BGR images of shape (H, W, 3)images=[...]# List of vectors of shape (D,), where D is the vector dimensionfeature_vectors=[...]# List of integer class labelslabels=[...]# Produce a BGR image containing a 2D plot of the latent space with t-SNEplotter=latentplot.Plotter(method='tsne')# You can use either 'pca', 'tsne' or 'umap'im_tsne=plotter.plot(images,feature_vectors,labels)# Providing labels is optionalThelatentplot.Plotterconstructor parameters are:Parameter nameDescriptionmethodMethod used to reduce the feature vectors to a 2D space. Available options:pca,tsne,umap.widthDesired output image width. Default is 15360 pixels (16K).heightDesired output image height. Default is 8640 pixels (16K).dpiDPI for the output image. Default is 300.cell_factorProportion of the reduced latent space that each cell will occupy. Default is 0.01.dark_modeSet it to False to have a white background with black font. Default is True.hide_axesHide axes, ticks and marks. Default is True.**kwargsThe rest of the arguments you pass will be forwarded to the dimensionality reduction method.Exemplary resultsCIFAR-10: the size of the images in this dataset is 32x32 pixels. The colour of the rectangle around each image indicates the class label of the image. The colour for each class is randomly chosen in every run.PCA:t-SNE:UMAP:Notes on dimensionality reduction methodsPCA(principal component analysis):Assumes correlation (linear relationship) between features, sensitive to the scale of the features
(features whose range is wider are more likely to become principle components), and it is not robust to outliers.t-SNE(t-Distributed Stochastic Neighbor Embedding):t-SNE does not assume linear relationships between features.
Observations that are close in the high-dimensional space are expected to be close in the dimensionality-reduced space.
t-SNE copes well with odd outliers.UMAP(Uniform Manifold Approximation and Projection):Fast, and scales well with regards to both dataset size and dimensionality.AuthorLuis Carlos Garcia Peraza Herrera (luiscarlos.gph@gmail.com), 2023.LicenseThis code repository is shared under anMIT license.
Package: latent-semantic-analysis
Latent Semantic AnalysisPipeline for trainingLSAmodels using Scikit-Learn.UsageInstead of writing custom code for latent semantic analysis, you just need:install pipeline:pipinstalllatent-semantic-analysisrun pipeline:either interminal:lsa-train--path_to_configconfig.yamlor inpython:importlatent_semantic_analysislatent_semantic_analysis.train(path_to_config="config.yaml")NOTE: more about config filehere.No data preparation is needed, only acsvfile with raw text column (with arbitrary name).ConfigThe user interface consists of only one files:config.yaml- general configuration with sklearnTF-IDFandSVDparametersChangeconfig.yamlto create the desired configuration and train LSA model with the following command:terminal:lsa-train--path_to_configconfig.yamlpython:importlatent_semantic_analysislatent_semantic_analysis.train(path_to_config="config.yaml")Defaultconfig.yaml:seed:42path_to_save_folder:models# datadata:data_path:data/data.csvsep:','text_column:text# tf-idftf-idf:lowercase:truengram_range:(1, 1)max_df:1.0min_df:1# svdsvd:n_components:10algorithm:arpackNOTE:tf-idfandsvdare sklearnTfidfVectorizerandTruncatedSVDparameters correspondingly, so you can parameterize instances of these classes however you want.OutputAfter training the model, the pipeline will return the following files:model.joblib- sklearn pipeline with LSA (TF-IDF and SVD steps)config.yaml- config that was used to train the modellogging.txt- logging filedoc2topic.json- document embeddingsterm2topic.json- term embeddingsRequirementsPython >= 3.6CitationIf you uselatent-semantic-analysisin a scientific publication, we would appreciate references to the following BibTex entry:@misc{dayyass2021lsa,author={El-Ayyass, Dani},title={Pipeline for training LSA models},howpublished={\url{https://github.com/dayyass/latent-semantic-analysis}},year={2021}}
Package: latentshift
Latent Shift - A Simple Autoencoder Approach to Counterfactual GenerationThe ideaRead the paper:https://arxiv.org/abs/2102.09475Watch a video:https://www.youtube.com/watch?v=1fxSDP8DheIThe main diagram:Animations/GIFsSmilingArched EyebrowsMouth Slightly OpenYoungGenerating a transition sequenceFor a predicting ofsmilingMultiple different targetsComparison to traditional methodsFor a predicting ofpointy_noseGetting Started# Load classifier and autoencodermodel=classifiers.FaceAttribute()ae=autoencoders.Transformer(weights="celeba")# Load imageinput=torch.randn(1,3,1024,1024)# Defining Latent Shift moduleattr=captum.attr.LatentShift(model,ae)# Computes counterfactual for class 3.output=attr.attribute(input,target=3)
Package: latent-space-builder
LatentSpaceBuilderThe Latent Space Builder builds the latent space for an image dataset.Getting startedClone this repository.gitclonehttps://github.com/compSPI/LatentSpaceBuilder.gitChange the current working directory to the root of this repository.cdLatentSpaceBuilderDownload from the Anaconda Cloud and install the Python environment that has the dependencies required to run the code.condaenvcreatecompSPI/compSPIActivate the environment.condaactivatecompSPIInstall the kernel.python-mipykernelinstall--user--namecompSPI--display-name"Python (compSPI)"Exit the environment.condadeactivateRunning the notebookRun jupyter notebook.jupyternotebookOpen the tutorial notebooklatent_space_builder.ipynb.Change the Python kernel tocompSPI.Setdataset_fileto an HDF5 file containing the dataset.dataset_file='../data/cspi_synthetic_dataset_diffraction_patterns_1024x1040.hdf5'Run the notebook.InstallationThe project package can be installed by running the following command.pythonsetup.pyinstallCode structureThe relevant files and folders in this repository are described below:README.md: Highlights the usefulness of the Latent Space builder.latent_space_builder.ipynb:  Provides a tutorial notebook for using the Latent Space Builder.latent_space_builder/: Contains the Python file required to run the notebook.
Package: latent-space-visualizer
LatentSpaceVisualizerThe Latent Space Visualizer is an interactive Python notebook that visualizes the latent space of an image dataset. The dataset contains a collection of latent variables that describes a set of labeled images.Two variables of the latent space are displayed in a 2D scatter plot. When the mouse is positioned near a point in the scatter plot, the image corresponding to that point is displayed to the side.Getting startedClone this repository.gitclonehttps://github.com/compSPI/LatentSpaceVisualizer.gitChange the current working directory to the root of this repository.cdLatentSpaceVisualizerDownload from the Anaconda Cloud and install the Python environment that has the dependencies required to run the code.condaenvcreatecompSPI/compSPIActivate the environment.condaactivatecompSPIInstall the kernel.python-mipykernelinstall--user--namecompSPI--display-name"Python (compSPI)"Exit the environment.condadeactivateRunning the notebookRun jupyter notebook.jupyternotebookOpen the tutorial notebooklatent_space_visualizer.ipynb.Change the Python kernel tocompSPI.Setdataset_fileto an HDF5 file containing the dataset.dataset_file='../data/cspi_synthetic_dataset_diffraction_patterns_1024x1040.hdf5'Run the notebook.InstallationThe project package can be installed by running the following command.pythonsetup.pyinstallCode structureThe relevant files and folders in this repository are described below:README.md: Highlights the usefulness of the Latent Space Visualizer.latent_space_visualizer.ipynb:  Provides a tutorial notebook for using the Latent Space Visualizer.latent_space_visualizer/: Contains the Python file required to run the notebook.
Package: latent-space-viz
LatentSpaceVisualizerThe Latent Space Visualizer is an interactive Python notebook that visualizes the latent space of an image dataset. The dataset contains a collection of latent variables that describes a set of labeled images.Two variables of the latent space are displayed in a 2D scatter plot. When the mouse is positioned near a point in the scatter plot, the image corresponding to that point is displayed to the side.Getting startedClone this repository.gitclonehttps://github.com/compSPI/LatentSpaceVisualizer.gitChange the current working directory to the root of this repository.cdLatentSpaceVisualizerDownload from the Anaconda Cloud and install the Python environment that has the dependencies required to run the code.condaenvcreatecompSPI/compSPIActivate the environment.condaactivatecompSPIInstall the kernel.python-mipykernelinstall--user--namecompSPI--display-name"Python (compSPI)"Exit the environment.condadeactivateRunning the notebookRun jupyter notebook.jupyternotebookOpen the tutorial notebooklatent_space_visualizer.ipynb.Change the Python kernel tocompSPI.Setdataset_fileto an HDF5 file containing the dataset.dataset_file='../data/cspi_synthetic_dataset_diffraction_patterns_1024x1040.hdf5'Run the notebook.InstallationThe project package can be installed by running the following command.pythonsetup.pyinstallCode structureThe relevant files and folders in this repository are described below:README.md: Highlights the usefulness of the Latent Space Visualizer.latent_space_visualizer.ipynb:  Provides a tutorial notebook for using the Latent Space Visualizer.latent_space_visualizer/: Contains the Python file required to run the notebook.
Package: later
What islater?later is a play on Async not happening now but at some point in the future.
It was also an awesome name for a toolkit for writing AsyncIO applications. Thebatteriesif you will for AsyncIO.later offers the following functions:asyncioEventenhancementsBiDirectionalEvent- Back channel of information for the setter to ensure the waiter has called wait() a second timeasyncioTaskenhancementsWatcher- Watch tasks and ensure they don’t die - take action when they doasyncioUnittesting enhancementsTestCase- Use in place ofIsolatedAsyncioTestCasefor more winsIsolatedAsyncioTestCaseis backported for 3.7 userslatercurrently backports 3.8’sasync_case+mocklibraries for 3.7 users.Licenselateris Apache licensed, as found in the LICENSEfile
Package: laterpay-client
LaterPayPython client.If you’re usingDjangothen you probably want to look atdjango-laterpayInstallation$ pip install laterpay-clientUsageSeehttp://docs.laterpay.net/DevelopmentSeehttps://github.com/laterpay/laterpay-client-pythonTested by TravisRelease ChecklistInstalltwinewith$ pipsi install twineDetermine next version number from theCHANGELOG.md(ensuring we followSemVer)git flow release start $newverEnsureCHANGELOG.mdis representativeUpdate theCHANGELOG.mdwith the new versionUpdate the version insetup.pyUpdatetrove classifiersinsetup.pygit flow release finish $newvergit push--tagsorigin develop masterpython setup.py sdist bdist_wheeltwine uploaddist/laterpay*$newver*or optionally, for signed releasestwine upload-s...Bump version insetup.pyto next likely version asAlpha 1(e.g.5.1.0a1)Alter trove classifiers insetup.pyAdd likely new version toCHANGELOG.md
Package: latestarthquake-indonesia
Latest Indonesian EarthquakeThis package will give us information about the latest earthquake in Indonesia. The data taken from BMKG (Meteorology, Climatology, and Geophysics Agency).How it work?This package will scrape fromBMKGto get the latest earthquake in Indonesia.This package will use BeautifulSoup4 and Request, to produce output in the form of JSON. This package is ready to be used in web or mobile applications.How to useimport gempaterkini

if __name__ == '__main__':
    print('Aplikasi utama')
    result = gempaterkini.ekstraksi_data()
    gempaterkini.tampilkan_data(result)Authormizan toyyibun
Package: latest-blender-url
pip install latest_blender_urlGet the latest Blender download URL and use it in a Travis CI sciptPlace the following lines in your travis.yml to download the latest Blender version (Linux 64-bit):- pip install latest_blender_url
- url="$(python -c 'import latest_blender_url as lbu; lbu.get_latest()')"
- curl -L -o blender.tar.bz2 $urlCustomizing the distribution to getBlenderURLGetterclass does all of the work. You can change the Blender download page and the archive to download by changing the class properties.from latest_blender_url import BlenderURLGetter
getter = BlenderURLGetter()

# Set the download page
getter.download_page_url = "https://www.blender.org/download/" 

# Set the archive pattern (see Blender download page for URL formats)
#getter.archive_pattern = 'linux64.tar.xz'       # Linux 64bit
#getter.archive_pattern = 'macOS.dmg'            # MacOS
#getter.archive_pattern = 'windows64.zip'        # Windows 64bit

# This will scrape the download page and get the matching url
url = getter.get_latest()When Blender Download Page Changes (and daily build fails)Update the default pattern inlatest_blender_url\__init__.pyarchive_patterns intests\test_download.pyFeel free to fork or submit a pull request with new features
Package: latest-chromedriver
Latest ChromeDriverThelatest_chromedriveris a module for python scripts in order to find the correct version of the ChromeDriver depending on Google Chrome version.PurposeThe purpose of this module is not to be deployed to live system like webservers or similar.This module is intended for use in scripts that are running on different client machines, where Google Chrome could be in different versions or auto updated.Getting StartedThese instructions will get you a copy of the project up and running on your local. Currently there are three systems supported:WindowsLinuxDarwinExample Usageimportlatest_chromedriverlatest_chromedriver.safely_set_chromedriver_path()IfGoogle Chromeis installed in a different location:importlatest_chromedriverlatest_chromedriver.safely_set_chromedriver_path(chrome_path='/adhoc/locatation/googe-chrome')Ifchromedriverneeds to be installed in a different location:importlatest_chromedriverlatest_chromedriver.safely_set_chromedriver_path(chromedriver_folder='/tmp')PrerequisitesIn order to install this module you need to have:Google ChromePython >= 3InstallationInstalllatest-chromedriverwithpippython-mpipinstalllatest-chromedriverBuilt Withlogzero- A simple library for easy logging (could change it to standard logging module)requests- Requests is an elegant and simple HTTP library for Python, built for human beingsubelt- A “utility belt” of commonly needed utility and helper functionspy-cpuinfo- Gets CPU info with pure PythonContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.AuthorsCharalampos Gkikas-Initial work-hargikasLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: latest-earthquake-bmkg
Latest Indonesia EarthquakeThis package will get latest earthquake from BMKG | Meteorological, Climatological, and Geophysical Agency.HOW IT WORK?This package will scrape fromBMKGto get latest quake happened in IndonesiaThis package will use BeautifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile applicationsHOW IT USEimport gempaterkini 
if __name__ == '__main__':
    print('Aplikasi utama')
    result = gempaterkini.ekstraksi_data()
    gempaterkini.tampilkan_data(result)AthorQaulan Tsaqila
Package: latestearthquake-BMKG-id
latest-indonesia-earthquakeThis package will gate the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHow it works?This package will scrape fromBMKGto get the latest earthquake happened in indonesiaThis package will use BeautifullSoup4 and Request, to produce output from JSON and ready to used in Web or Mobile applicationsHow to use'''
import gempaterkiniifname== 'main':
result = gempaterkini.ekstraksi_data()
gempaterkini.tampilkan_data(result)
'''AuthorVram Adel Handrio
Package: latestEarthquake-bmkg-Indonesia
latest-indonesia-earthquakeThis package will get the latest earthquake in Indonesia from BMKG | Meteorological, Climatological, and Geophysical AgencyHow it works?This package will scrape fromBMKG, to get the latest earthquake in Indonesia usingBeautifulSoup4andRequestto produce JSON as a return.How to use?import latestEarthquakeID

if __name__ == '__main__':
    result = latestEarthquakeID.ekstraksi_data()
    latestEarthquakeID.tampilkan_data(result)AuthorTheo Brata
Package: latestearthquakeID
latest Indonesia Earthquakethis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHow it work?This package will scrape fromBMKGto get latest quake happened in Indonesia.
This package will use BeautifulSoup4 and Requests, to produce output in the form of JSON that is ready to be used in web or mobile applications.How to usefrom deteksi_gempa import ekstraksi_data, tampilkan_data

if __name__ == '__main__':
    result = ekstraksi_data()
    tampilkan_data(result)
Package: latestearthquake-id
latest Indonesia Earthquakethis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHow it work?This package will scrape fromBMKGto get latest quake happened in Indonesia.
This package will use BeautifulSoup4 and Requests, to produce output in the form of JSON that is ready to be used in web or mobile applications.
Package: latestearthquake-id-mp97
Latest Indonesia EarthquakeThis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHOW IT WORK?This package will scrape fromBMKGto get latest earthquake happened in IndonesiaThis package will use Beautfulsoup4 and Request to produce output in the form JSON that is ready to be used in web or mobile applicationHOW TO USEimport gempaterkini

if __name__== '__main__':
    print('Aplikasi Utama')
    result = gempaterkini.ekstrasi_data()
    gempaterkini.tampilkan_data(result)AUTHOREko Wijaya
Package: latestearthquake-ind
Latest Indonesia EarthquakeThis package will get the latest info of earquake from BMKG (Meteorological, Climatological, and Geophysical Agency)HOW IT WORK?This package will scrape fromBMKGto get latest info quake Indonesia.
This package will use BeautifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile applications.#Author
Dodi Akbar"""
ifname== 'main':
result = ekstraksi_data()
tampilkan_data(result)
"""
Package: latestearthquake-indonesia
Latest Indonesia EarthQuakeThis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHOW IT WORK?This package will scrape fromBMKGto get latest quake happened in Indonesia.This package will use BeautifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile applicationsHOW TO USEimport gempaterkini

if __name__ == '__main__':
    gempa_di_indonesia = gempaterkini.GempaTerkini('https://bmkg.go.id')
    print(f'Aplikasi utama menggunakan package yang memiliki deskripsi {gempa_di_indonesia.description}')
    gempa_di_indonesia.tampilkan_keterangan()
    gempa_di_indonesia.run()AuthorEko S. Wibowo
Package: latestearthquake-indonesia.1
latest-earthquake-indonesiaThis package will get the latest earthquake from BMKG | Indonesian Agency for Meteorological, Climatological and GeophysicsHOW IT WORK?This Package will scrape fromBMKGto get latest Quake happened in IndonesiaThisa package will use BeatifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile applicationHOW TO USE'''import gempaterkini
ifname== 'main':
print('Aplikasi utama')
result = gempaterkini.ekstraksi_data()
gempaterkini.tampilkan_data(result)'''
Package: latestearthquake-Indonesia-BMKG
Latest Indonesia EarthquakeThis package will get the latest earthquake from Indonesia Meteorological, Climatological, and Geophysical Agency (BMKG).HOW IT WORKThis package will scrape fromBMKGto get latest earthquake happened in IndonesiaThis package will use BeautifulSoup4 and Requests  to produce output in the form of JSON that is ready to be used in web or mobile application.HOW TO USEimport latestearthquake

if __name__ == '__main__':
    gempa_di_indonesia = latestearthquake.GempaTerkini('https://bmkg.go.id')
    print(f'Aplikasi utama menggunakan package yang memiliki deskripsi {gempa_di_indonesia.description}')
    gempa_di_indonesia.tampilkan_keterangan()
    gempa_di_indonesia.run()AuthorChristian Yurianja
Package: latestearthquake-indonesia-by-rafiramdhani
Latest Indonesia EarthQuakeThis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical Agency(HOW IT WORK?)This package will scrape from BMKG to get latest quake happened in Indonesia.This package will use BeautifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile applications
Package: latest-earth-quake-Indonesia-chatur
bmkg-latest-earthquakeThis package will get the latest earthquake (Indonesia) fromhttps://www.bmkg.go.id/BMKG | Meteorological, Climatological, and Geophysical Agencyexample using this moduleimport gempaterkini_chaturifname== 'main':print("Aplikasi Utama")result = gempaterkini_chatur.ekstrasi_data()gempaterkini_chatur.tampilkan_data(result)
Package: latest-earthquake-indonesia-erwin
Latest Indonesia EarthQuakeThis package will get the latest earthquake from BMKG | Meteorology, Climatology, and Geophysical AgencyHOW IT WORK?This package will scrape fromBMKGto get latest quake happened in Indonesia.This package will use BeautifulSoup4 and Request, to produce output in the form of JSON that is ready to be used in web or mobile application.HOW TO USEimport gempaterkini

if __name__ == '__main__':
    gempa_di_indonesia = gempaterkini.GempaTerkini('https://www.bmkg.go.id/')
    print(f'Aplikasi utama menggunakan package yang memiliki deskripsi {gempa_di_indonesia.description}')
    gempa_di_indonesia.tampilkan_keterangan()
    gempa_di_indonesia.run()AuthorErwin Zulfikar
Package: latestearthquake-indonesia-mishbah
Latest Indonesia EarthquakeThis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHOW IT WORKS?This package will scrape fromBMKGto get latest quake happened in Indonesia.This package using BeautifulSoup4 and Request, for creating output JSON which ready to use in web or mobile applications.HOW TO USE?import gempaterkini

if __name__ == '__main__':
    print('Aplikasi utama')
    result = gempaterkini.ekstraksi_data()
    gempaterkini.tampilkan_data(result)AUTHORMishbahussuduri
Package: latestearthquake-indonesia-RBP01
Latest Indonesia EarthQuakeThis package will get the latest earthquake from BMKG | Meteorological, Climatological, and Geophysical AgencyHOW IT WORKS?This package will scrape fromBMKGto get latest quake happened in IndonesiaThis package will use BeautifulSoup4 and Request to produce output in the form of JSON that is ready to be used in web or mobile application.HOW TO USEimport gempa_terkini

if __name__== '__main__':
    print('Aplikasi utama')
    result=gempa_terkini.ekstraksi_data()
    gempa_terkini.tamilkan_data(result)AuthorRestu Bagas Pangestu
Package: latest-earthquake-in-indonesia
last-indonesia-earthquakeThis package about the last earthquake from BMKG IndonesiaHOW IT WORKThis package will scrape fromBMKGto get latest quake happened in indonesia
This package will use BeautifulSoup4 and Requests to then generate output in the form of Json which is ready to be used in web or mobile applications##HOW TO USEif __name__ == '__main__':
    print('The main appication')
    result = recentearthquake.extration_data()
    recentearthquake.show_data(result)##AUTHOR
RIJALUDDIN