Saravanan666/pypi-org huggingface dataset:
Package: topicsentiment
Topic Sentiment ModelSentiment Analysis component for Formsflow.aiOne of the unique features of Formsflow.ai framework is Sentiment Analysis.  A
form designer can add text component with sentiment analysis enabled when creating
forms with associated topics. Based on the input responses of the user Formsflow.ai
process sentiment associated with user responses. A detailed visualisation is being
rendered in Insights section of Formsflow.ai which shows the overall sentiment and
detailed sentiment analysis based on the topics specified by the form designer.Libraries usedSpacyNLTKMachine Learning modelThis project groups the input sentences into specific topic categories and
uses custom named entity classification, our machine learning model identifies
words belonging to a particular topic. This custom named entity recognition is
done using Spacy library.  One of top of it we do aspect based
sentiment analysis for each given topics. For this currently we have leveraged
NLTK vader library.
Package: topicvelo
TopicVelo is a novel approach for RNA velocity inference in general systems, including immuneresponse studies. It infers the cells and genes associated with distinct active processesvia probabilistic topic modeling, and uses these to estimate process-specific velocityparameters and transition probabilities, which are then integrated into large-scale transitionmatrices. Parameter accuracy is also improved by efficiently fitting unsmoothed counts to atranscriptional burst model. In biologically varied datasets, this approach outperformed thestate-of-the-art method, recovering parameters and transitions that were better experimentallysupported or recovered previously only with the aid of metabolic labeling or multiple time points.For more information please see our preprint(https://www.biorxiv.org/content/10.1101/2023.06.13.544828v1.full)
Package: topik
TopikA Topic Modeling toolbox.IntroductionThe aim oftopikis to provide a full suite and high-level interface
for anyone interested in applying topic modeling. For that purpose,topikincludes many utilities beyond statistical modeling algorithms
and wraps all of its features into an easy callable function and a
command line interface.Topikis built on top of existing natural language and topic
modeling libraries and primarily provides a wrapper around them, for a
quick and easy exploratory analysis of your text data sets.Please see ourcomplete documentation at
ReadTheDocs.LICENSENew BSD. SeeLicense
File.
Package: to-pip
to-pipto-pipis a tool that makes it easy to convert a set of Python files into a Python package that can be uploaded to PyPI. It can also upload the package to PyPI for you, if you provide your PyPI credentials.UsageWeb InterfaceGithub:https://github.com/bohachu/to_pipWeb interface:http://to-pip.falra.netYou can use the web interface ofto-piphere. Simply upload your Python files, enter your package name and version, and click "Create Package". If you provide your PyPI credentials, you can also choose to upload the package to PyPI directly from the web interface.Command Line InterfaceYou can also use theto-pipcommand-line tool to create a package from your Python files. To use it, simply install theto-pippackage using pip:pip install to-pipThen, run theto-pipcommand with the following arguments:python -m to_pip -n <package_name> -v <package_version> [-u <pypi_username> -p <pypi_password>] <python_files>You can set .env for PyPI CredentialsPYPI_USERNAME
PYPI_PASSWORDHere is what each argument means:-nor--package_name: The name of your package.-vor--package_version: The version of your package inx.x.xformat.-uor--pypi_username(optional): Your PyPI username. If you provide this,to-pipwill upload your package to PyPI for you.-por--pypi_password(optional): Your PyPI password. If you provide this,to-pipwill upload your package to PyPI for you.<python_files>: The Python files that you want to include in your package.Package UsageOnce you have created your package, you can install it using pip:pip install <package_name>After installing the package, you can use any functions or classes defined in your Python files as normal.ExampleLet's say you have two Python files,hello.pyandworld.py, that you want to package into a package calledhelloworldwith version1.0.0. Here's how you would useto-pipto create the package:python -m to_pip -n helloworld -v 1.0.0 hello.py world.py
Package: topkappy
Topkappy is a Python library built on topkappyfor using the Kappa language (for simulation of biological complexation processes) in a pythonic way, using Python objects to define agents and rules, and with some methods
for plotting complexes and time series.InfosPIP installation:pipinstalltopkappyGithub Page:https://github.com/Edinburgh-Genome-Foundry/topkappyLicense:MIT, Copyright Edinburgh Genome FoundryMore biology softwareTopkappy is part of theEGF Codonssynthetic biology software suite for DNA design, manufacturing and validation.
Package: top-k-models
Top-k ModelsA python data tool that predicts that top k classes of a dataset, calculates the Top-k accuracy for different models and selects the best classifier.A solar radiation project that uses this tool to predict the level of solar radiation based on variables such as temperature, pressure, etc. can be found onhttps://github.com/priscilla-chk/top_k_models/tree/master/example_projectsDocumentationDocumentation can be found onhttps://github.com/priscilla-chk/top_k_models/Installationtop_k_models can be installed directly from pip/pip3:pip install top_k_modelsDependenciesnumpy, pandas, sklearn
Package: topless
Action Execution ModelThe Topless actionexecution model is processed in two different steps:Action Handler Registration
Every action created with one of the provided decorators (route, schedule, bucket or topic) is registered on the main Topless app instance. The instance is created on the client side (main.py file), and is shared throghouth the framework modules by a singleton pattern.Flow of execution:sequenceDiagram
    box Client
    participant C1 as bootstrap.py
    participant C2 as main.py
    end

    box Core
    participant T1 as bootstrap.py
    participant T2 as app.py
    participant T3 as handler.py
    end


    C1->>C2: Import main.py
    C2-->>C1: Topless instance and registrations
    C1->>T1: Start framework bootstrap
    T1->>T2: Load all modules
    T2->>T3: Map action handlers
    T1-->>C1: Finish setupAction Handler Execution
When lambda is called, the client bootstrap.py handle method is executed. Every lambda resource on the template.yaml (dinamically generated by topless framework), will call this method at first, which will dispatch the bootstrap.handle method, to localize the action handler that is needed on that call.sequenceDiagram
    participant L as Lambda Event
    participant CA as app.py (Client)
    participant CB as bootstrap.py (Client)
    participant TA as app.py (Core)
    participant TB as bootstrap.py (Core)
    participant TD as dispatcher.py (Core)
    participant TH as handler.py (Core)

    L->>CB: Trigger Lambda Function
    CB->>TB: Call framework bootstrap handler
    TB->>TD: Execute Dispatcher
    TD-->>TB: Construct action envelope and look for the correct action to be executed
Package: topmind-s3
S3 CRUD clientPre-installexportS3_ENDPOINT_URL=[s3apicompatibleserver]exportS3_BUCKET=[bucketname]exportS3_ACCESS_KEY_ID=[s3keyid]exportS3_SECRET_ACCESS_KEY=[s3secretkey]Usagepipinstalltopmind-s3fromtopmind_s3.clientimportClientclient=Client()client.create_dir('dir')client.create_file('dir/file.txt','qwerty')content=client.read_file('dir/file.txt')client.create_file('dir/file_another.txt','qwerty')lst=client.bulk_read('dir')print(lst)>>>['qwerty','qwerty']client.delete_dir('dir')
Package: top-names
top-namesProgram to scrape from the most common first names (male and female) in the United States from the decades 1880s-2010s. Please note that these names are not guaranteed to be unique.
Data provided by the Social Security Admnistration.
If you do not want to run the program, you can view the results as of November 25th, 2021 inoutput.txt.Getting StartedInstallingSimply runpython3 setup.py installto install the package.UsageAfter installing, you should use thetop_names.name_list.NameListclass. This is a wrapper class of a list that is generated dynamically by thetop_names.name_scraper.NameScraperclass. Initially, the list is empty, but when trying to retrieve data from the list, it will be populated.RunningYou can run the module itself usingpython3 -m top_names. By default, this will output tostdout. You can specify a file to write to using the-ooption. You may also see debug information with the--debugflag.RequirementsProject built with Python 3.8.10.
For modules, please readrequirements.txt.Data SourceData scraped from theUnited States Social Security Administrationthrough theirPopular Baby Names by Decadeform.AuthorsWill CiesialkaLicenseThis project is licensed under the MIT License. For more details, please seeLICENSE.
Package: topnet-resampling
Post-processing utils for TopNetPython Requirements: xarray netcdf4Other Requirements: ncatted needs to be avialable (part of NCO)Resampling of streamq filesresample_streamq.py resamples a streamq file to daily, monthly or weekly time step.prerequisite: run the fix_streamq.sh script on the streamq file. This will remove the time:bounds attribute on the target netcdf file.It can also have an start and end date.Example:resample_streamq streamq.nc {1D,1M,W}[-start_date"mm/dd/yyyy hh:mm:ss"-end_date"mm/dd/yyyy hh:mm:ss"--variables[list of variables to resample]Currently we have the following available variables to resample:Resample by sum: aprecip, drainge, soilevp, potevap, canevap, snowevpResample by averaging: river_flow_rate_modResampling of tseries filesresample_tseries.py in the same way as the streamq files. Usage is the same.Currently we have the following available variables to resample:Resample by sum: aprecip, drainge, soilevp, potevap, canevap, snowevp, lakeprec, lakevapResample by averaging: mod_streamq, lakeqin, lakeqout, lakevol, lakarea, lakedepth.Streamq statisticsUse the scriptstreamq_statisticsto this. Groupings available: month, season and day.
Package: topo2geo
topo2geoCLI for converting TopoJSON files to GeoJSONInstallationpip install topo2geoDepends onshapelyandclickUsage[~]$ topo2geo input.topojson output.geojsonMultilayered TopojsonsIf the topojson contains mulitple layers (i.e. there are multiple values in the "objects" key). Then seperate geojson files will be output with the layer name.For example a topojson containing states and counties:{
    "type": "Topology",
    "objects": {
        "county": {
            "type": "GeometryCollection",
            "geometries": [...]
        },
        "state": {
            "type": "GeometryCollection",
            "geometries": [...]
        }
    }
}would produce two geojson files,output_geo_county.jsonandoutput_geo_state.jsonTroubleshootingIf you experience a "segmentation fault" one thing to try is explainedhere:pip install shapely --no-binary shapelyCreditsOriginally written bysgilliesandperrygeo. Converted to Python3 and packaged into a CLI bykylepollina.Sources:https://gist.github.com/perrygeo/1e767e42e8bc54ad7262https://github.com/sgillies/topojson/blob/master/topojson.pyLicense -https://github.com/topojson/topojson/blob/master/LICENSE.md
Package: topobank-statistics
PurposeThis plugin adds the following analysis functions to Topobank:Height/Curvature/Slope DistributionAutocorrelationPower SpectrumRoughness ParametersScale-dependent slope/curvatureVariable bandwidthFor more information, see ourpaper.InstallationFor production:pipinstalltopobank-statisticsFor development:Clone project, enter project directory and runpipinstall-e.[dev]
Package: topobot
Topo(graphy) Bot is a Slack bot to query and display AREDN OLSR topography information.UsageFrom Slack/msg @topobot currentto receive a PNG image of the latest topography.RunningEnsure the host running this bot has an AREDN node as a Name resolver.Run the bot:export TOPO_HOST='172.17.0.1'
export SLACKBOT_API_TOKEN='xoxb-XXXX-XXXX'
topobotInstallationYou’ll need to create a Slack Bot and create a Slack Bot API Token, then:$ sudo apt-get install graphviz
$ sudo apt-get install imagemagick -y
$ pip install topobotSourceGithub:https://github.com/ampledata/topobotAuthorGreg Albrecht W2GMDoss@undef.nethttp://ampledata.org/CopyrightCopyright 2020 Greg Albrechtbbhn-utils is Copyright 2014-2018 Clayton SmithLicenseApache License, Version 2.0. See LICENSE for details.bbhn-utils is licensed GNU General Public License 3
Package: topocalc
topocalcThetopocalcpackage is a collection of functions to calculate various metrics on a digital elevation model (DEM). The calculations follow the equations laid out inDozier and Frew, 1990for the gradient, horizon and sky view factor. Currently the supported calculations are:Gradient for slope and aspectHorizon angles for an azimuthSky view factor for percent of the sky that is visible from a point on the DEMtopocalcBackgroundAzimuth conventionGradient for slope and aspectHorizon anglesSky view factorUsageInstallationGradient usageSky view factor usageCommand Line InterfaceBackgroundAzimuth conventionFor the azimuth's and aspects, the convention is that South is 0 degrees (0 radians) with positive values to the East (+90 degrees or pi/4 radians) and negative values to the West (-90 degrees or -pi/4 radians). North is -180 degrees or -pi/2.Gradient for slope and aspectThe gradient method calculates the slope and aspect of the input DEM. There are two methods intopocalc.gradientthegradient_d4andgradient_d8.gradient_d4mimics the slope and aspect calculations of theIPWgradientfunction. This calculates the slope for a finite difference in just the x/y direction.gradient_d8(the default) uses a second order finite difference for a 3x3 square around a given point on the DEM.The gradient is used to calculate the aspect from North (0 degrees). A conversion function will take the aspect in degrees and convert to radians with South being 0.Horizon anglesThe horizon angle for a point on the DEM is the angle from zenith to the horizon for a given azimuth. Following the methods laid out inDozier and Frew, 1990and inIPWhorizonthe grid is rotated in the direction of the azimuth to make it a one dimensional problem.The horizon function will search the entire DEM profile for the horizon by finding the maximum slope along the profile. This search is performed in C to significantly speed up the computation.The values reported fromhorizonare cosine of the horizon angle.Sky view factorThe sky view factor (svf) is the amount of the sky that is visible to a particular point. Thesvfis between 0 and 1 with 1 indicating no obstructions from surrounding terrain and 0 indicating full obstruction. Thesvfuses the slope, aspect and horizon angles for 72 directions to estimate the sky view factor for the DEM.UsageInstallationNOTE:topocalchas only been tested for Python 3.6 to 3.9 on Linux and MacOSX environments. If building from source, topocalc must be compiled withgcc,clangwill not work if on MacOS.To install:pip install topocalcGradient usagefromtopocalc.gradientimportgradient_d8# Load the DEM into a numpy arraydem=load_dem(path_to_dem)# grid cell spacing for the DEMdem_dx=30dem_dy=30slope,aspect=gradient_d8(dem,dem_dx,dem_dy)Sky view factor usagefromtopocalc.viewfimportviewf# Load the DEM into a numpy arraydem=load_dem(path_to_dem)# grid cell spacing for the DEMdem_spacing=30svf,tvf=viewf(dem,spacing=dem_spacing)Command Line InterfaceComming soon!
Package: topock
Timeliness Ordered Proof of Common KnowledgeFree software: Apache Software License 2.0Installationpip install topockDocumentationhttps://topock.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2018-12-31)First release on PyPI.
Package: topofileformats
topofileformatsA library for loading various AFM file formats.File format support:.asdUsage:.asdYou can open.asdfiles using theload_asdfunction. Just pass in the path to the file and the channel name that you want to use. (If in doubt use the"TP"topography channel).Note: For.asdfiles, there seem to only ever be two channels in one file."TP"(topography) is the main one you will want to use unless you know you specifically want something else.
Other channels:"ER"- Error,"PH"- Phasefromtopofileformatsimportload_asdframes,pixel_to_nanometre_scaling_factor,metadata=load_asd(file_path="./my_asd_file.asd")
Package: topogram
# Topogram – text networks analysis in PythonTopogram is a  Python library for extracting and visualizingnetworks of words and citationsfrom raw data (Twitter, Weibo, news, etc…) Target audience is developers, researchers, journalists interested in an easy way to analyze texts.Documentation available at [topogram.readthedocs.org](http://topogram.readthedocs.org)### FeaturesSupport for large corporaCitations graphWord co-occurence graphTime-based anlaysis (hour, day, month, year… )Community detection (Louvain algorithm)## TestsBuild and pass the testspython setup.py test
Package: topogram-api-client
# Topogram Python API Client![Read The Docs Build](https://readthedocs.org/projects/topogram/badge/?version=latest)A python lib to communicate with Topogram## How it works```pythonfrom topogram-python-client import TopogramAPIClienttopogram = TopogramAPIClient("http://localhost:3000")# create a new networktopogram.create_topogram("test")```See a complete example in [examples](./examples) folder## DocumentationRead the docs at [http://topogram.readthedocs.io/](http://topogram.readthedocs.io/)## Installpip install topogram-api-clientor using githubgit clone https://github.com/topogram/topogram-api-clientcd topogram-api-clientpython setup.py install## command-linetopogram-client## testsYou will need to run a test instance of [Topogram](http://github.com/topogram/topogram) with a different DB on the 3030 port.export MONGO_URL=mongodb://localhost:27017/test_topogram; meteor --port 3030Install the dev dependenciespip install -r dev_requirements.txtThen you can run the testsnosetests --rednose tests
Package: topographica
`Topographica`_ is a software package for computational modeling ofneural maps. The goal is to help researchers understand brain functionat the level of the topographic maps that make up sensory and motorsystems.Please see http://topographica.org/ for more information.Installation============Please see http://topographica.org/Downloads for more completeinstructions; a brief summary for installation into an existingPython environment is given here.If you have `pip`_, you can use one ofthose to install Topographica and its dependencies automatically(e.g. ``pip install topographica``).Alternatively, you can download and unpack the archive below, and theninstall Topographica with a command like ``python setup.py install``(e.g. ``sudo python setup.py install`` for a site-wide installation,or ``python setup.py install --user`` to install into``~/.local``). You will need to install at least `NumPy`_, `Pillow`_ (or `PIL`_),`Param`_, `ParamTk`_, and `ImaGen`_, before running Topographica. Wealso recommend that you install `MatPlotLib`_ so you can access allTopographica's plots, as well as `GmPy`_ and Weave (available as partof `SciPy`_) for optimum performance... _Topographica:http://topographica.org/Home/.. _NumPy:http://pypi.python.org/pypi/numpy.. _Gmpy:http://pypi.python.org/pypi/gmpy.. _SciPy:http://pypi.python.org/pypi/scipy.. _MatPlotLib:http://pypi.python.org/pypi/matplotlib.. _Pillow:http://pypi.python.org/pypi/pillow.. _PIL:http://pypi.python.org/pypi/PIL.. _pip:http://pip.openplans.org/
Package: topography
topography :earth_americas:Contains different approaches to modeling terrain and topographic-style maps in pythonRequirementsnumpymatplotlibsee therequirements.txtFeaturesInverse Distance Weighting (IDW)A given pointP(x, y)is determined by the values of its neighbors, inversely to the distance of each neighbor.Pis more heavily influenced by nearer points via a weighting functionw(x, y).StepsThe value ofP(x, y)is determined only by the closest raw data point.This approach works best to get a "feel" for larger datasets. With few input points, the resulting map has little detail.In the case of multiple equidistant points being closest, point values are stored, and averaged.Nearest Neighbor (NN)[in progress :construction_worker: :hammer_and_wrench:]InstallpipinstalltopographyExamplefromtopography.MapimportMapfromtopography.utils.ioimportgetPointValuesFromCsv# take in csv/xlsxrawData=getPointValuesFromCsv("tests/data/20x20.csv")# make map from rawDataM=Map(rawData)# Display the inputted raw data valuesM.showRawPointValues()# interpolate using inverse distance weightingM.idw(showWhenDone=True)# Display the interpolated data valuesM.showFilledPointValues()# Save the data to a .csv fileM.writeLastToCsv("idw_20x20",writeAsMatrix=True)Development withtwinepythonsetup.pysdistbdist_wheel
twineupload-rpypidist/*-u<username>-p<password>
Package: topohub
TopoHub: A repository of reference Gabriel graph and real-world topologies for networking researchThis project aims to create a repository of reference network topologies based on Gabriel graphs. It offers 200 Gabriel graph topologies with linearly increasing sizes ranging from 25 to 500 vertices. These topologies were generated in a reproducible manner to model the properties of long-haul optical transport networks. The topologies are available in the code repository and can be previewed and downloaded through a web interface, which allows visualization of individual topologies and exploration of their network properties. An important additional feature is the visualization of pre-computed link loads in the network using the Equal-Cost Multipath (ECMP) shortest path routing algorithm under different traffic demand models.The web interface is available at:https://www.topohub.orgThe package also includes a module that can be imported into the popular network emulator Mininet, enabling automatic usage of the topologies from the repository. It is also important, that apart from synthetic Gabriel topologies, we included all existing topologies from The Internet Topology Zoo and SNDLib into our repository as well. This enables the possibility to study their pre-computed ECMP link loads and import them automatically into the Mininet.The Python package can be installed fromPython Package Index (PyPI)using the following command:pip install topohubA detailed documentation, including API reference and Mininet usage example, is available at:https://topohub.readthedocs.io