Saravanan666/pypi-org huggingface dataset:
Package: topojoin
A lightweight utility to join CSV data to a topojson file. Produces a new topojson file with CSV properties added to
the properties of each feature.Free software: MITDocumentation:https://topojoin.readthedocs.io.Installpip install topojoinBasic usageCommand lineIn the command line, enter the topojoin command followed by the path to your topojson file and your CSV file.By default TopoJoin will assume both files have a common field called ‘id’ that can be joined.topojoin example.json example.csv

>> Joining example.csv to example.json...
>> CSV key 'id' will be joined with topojson key 'id'
>> Joined data saved to: joined.jsonTo define the join keys, use the ‘-tk’ option for the key in your topojson file and the ‘-ck’ option for the key in
your CSV file:topojoin -tk GEOID -ck fips example.json example.csv

>> Joining example.csv to example.json...
>> CSV key 'fips' will be joined with topojson key 'GEOID'
>> Joined data saved to: joined.jsonProgrammaticIf you prefer, you can also import and call TopoJoin from a python script:from topojoin.topojoin import TopoJoin

tj = TopoJoin("./example.json", "./example.csv", topo_key="GEOID", csv_key="fips")
topojson_data = tj.join()Or, to write to a file:from topojoin.topojoin import TopoJoin

tj = TopoJoin("./example.json", "./example.csv", topo_key="GEOID", csv_key="fips")
tj.join("joined.json")Advanced usageCommand lineTopoJoin’s actions can be modified in a number of ways by passing optional arguments. Here are its available options:-tk,--topokeyTEXTKey in CSV file that will be used to join with CSV
file  [default: id]-ck,--csvkeyTEXTKey in CSV file that will be used to join with
topojson file  [default: id]-cp,--csv_propsTEXTComma separated list of fields in CSV file to merge
to each topojson feature (eg:
name,population,net_income). Defaults to including
all fields in CSV file.-o,--output_pathTEXTOutput path of joined topojson file. Defaults to
current working directory.-q,--quietDisables stdout during program run--versionShow the version and exit.--helpShow this message and exit.For example:topojoin -tk GEOID -ck fips -o "mydir/my-custom-filename.json" example.json example.csvTO DOPrefix CSV keys if key name is already present in topojson props.Raise exception or prompt if CSV file has duplicate values in column specified by csv_key.Alternativespy-geojoin
Package: topojson
topojsonEncode spatial data as topology in Python!Topojson is a library that is capable of creating a topojson encoded format of merely any spatial object in Python.With topojson it is possible to reduce the size of your spatial data. Mostly by orders of magnitude. It is able to do so through:Eliminating redundancy through computation of a topologyFixed-precision integer encoding of coordinates andSimplification and quantization of arcsSeeTopojson Documentation Sitefor all info how to use this package.UsageThe package can be used in multiple different ways, with the main purpose to create a TopoJSON topology.See the PythonTopojson Documentation Sitefor all info orthis Notebookwith some examples, such as the following:Click on the image to go the Notebook Viewer with code-snippets how these images are created or visit theTopojson Documentation Site.InstallationInstallation can be done through PyPI by the following command:python -m pip install topojsonAnd through conda using the following command:conda install topojson -c conda-forgeThis packagetopojsonhas the following hard dependencies:numpyshapelypackagingFurther, optional soft dependencies are:altair- enlarge the experience by visualizing your TopoJSON outputsimplification- more and quicker simplification optionsgeojson- parse string input with GeoJSON datageopandas- parse your TopoJSON output directly into a GeoDataFrameipywidgets+ (lab)extension - make your life complete with the interactive experienceGet in touchFor now, just use the Github issues. That can be:usage questionsbug reportsfeature suggestionsor anything relatedFinally, see the PythonTopojson Documentation Sitefor all info how to use this package.
Package: topologicalMachinelearningTobiasMadsen
topologicalMachinelearningTobiasMadsenThis is an example projeckt demonstarting how to publish a python module to PyPI.##Installation
run the following to install:pipinstalltopologicalMachinelearningTobiasMadsen##UsagefromtopologicalMachinelearningTobiasMadsenimportsay_hello#Generate "Hello, world!"say_hello()#Generate "Hello, everybody!"say_hello("Everybody")Developing topologicalMachinelearningTobiasMadsenTo install helloworld, along with the tools you need to develop and run tests, run the following in your virtualenv:pipinstall-e.[dev]
Package: topological-recursion
topological-recursionis a Python module to compute with topological
recursion.InstallationPrerequisitesMake sure that Python 3 is installed in version 3.8 or later.Pip installationTo install the module on your system, simply run:$ pip install topological-recursionThe above command will download the code from
[PyPI](https://pypi.org/project/topological-recursion/) and then
install on your system.Editable installation of the development versionAlternatively, if you want to install the development version, you
need versioning softwaregitinstalled. You first need to clone the
project:$ git clone https://gitlab.com/toprec/toprec.gitand then run the installation procedure with:$ pip install -e toprec/(the-eoption makes an editable installation that avoids to
uninstall/install every time you change the files in the library)### Checking installationTo check whether the installation worked, change repository and try to load
the module with:$ python
>>> import topological_recursionAuthors and acknowledgmentDelecroixEynardMitsiosAknowledgementsERC ReNewQuantumLicensetopological-recursionis distributed under the terms of the GNU General
Public License (GPL) published by the Free Software Foundation; either version
2 of the License, or (at your option) any later version.
Seehttp://www.gnu.org/licenses/.
Package: topology-connect
Topology Connect its a plugin (called a Platform Engine) for the Topology
Modular Framework that allows to connect to and interact with an existing
physical topology using SSH or Telnet.This is particularly useful to perform tests on small, hardwired, already-built
topologies inside a lab.The main use case is to specify IPs of the devices using a Attribute Injection
File (AIF) or by specifying the IPs to connect to in the topology description
file itself (SZN file).Documentationhttp://topology.readthedocs.io/Changelog1.0.0ChangesAllow platform to receive options, so it is compatible with the new Topology
1.10.0 “options” feature. [David Diaz]0.4.0ChangesUpdated the base CommonConnectNode to support the Services API introduced in
Topology Modular Framework 1.8.Removed thehostnameattribute in the base ConnectNode so it doesn’t
clash with topology_dockerhostnameattribute. Same name, but different
purpose. To connect to a node specify thefqdnattribute in the SZN or
using attribute injection.0.3.0FixesFixed issue #4 where the SshMixin created an attribute name collision with
parent classes.ChangesRemoved placeholder documentation as the new Topology Modular Framework
website will hold all documentation for the project and official plugins.0.2.0First beta version.LicenseCopyright (C) 2015-2016 Hewlett Packard Enterprise Development LP

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
Package: topology_lib_ip
Linux ip command Communication Library for TopologyDocumentationhttps://github.com/HPENetworking/topology_lib_ip/tree/master/docChangelog0.2.0ChangesUpdated developer guide to reflect Python 3 development and to not use pip
from system repositories (as it is too old).NewAdded functionremove_link_type_vlanthat allows to remove vlan
virtual links created withadd_link_type_vlan.FixesFixed issue inadd_link_type_vlanthat ignored the ports mapping of the
node.Fixed issue inadd_link_type_vlanthat registered the port mapping before
creating it, causing potential issue if the creation failed.0.1.0NewInitial release.LicenseCopyright (C) 2015-2016 Hewlett Packard Enterprise Development LP

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
Package: topology_lib_ping
Linux ping command Communication Library for the Topology Network Framework.Documentationhttps://github.com/HPENetworking/topology_lib_ping/tree/master/docLicenseCopyright (C) 2016 Hewlett Packard Enterprise Development LP

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
Package: topology_lib_vtysh
Vtysh Communication Library for TopologyDocumentationhttps://github-sc-p.corp.hp.com/hpe-networking/topology_lib_vtyshChangelogNewInitial release.LicenseCopyright (C) 2015 Hewlett Packard Enterprise Development LP <asicapi@hp.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
Package: topology-yaml
Opinionated topology file generator and parser.RequirementsPython 2.7Installation>From Source:$ git clone https://github.com/lumina-networks/topology-yaml
$ cd topology-yaml
$ sudo pip install .>From PyPi$ pip install topology-yamlUsagetopology-yamlwill be the command after installation. For example:$ Usage: topology-yaml [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  create  Create Topology File
  delete  Delete Topology File
  read    Read Topology FileDocumentationTo build documentation:$ make documentationOr$ cd docs
$ make htmlLicenceMITAuthorstopology-yamlwas written byLumina NetDev.
Package: topoly
Topoly is aPythonpackage that collects programs useful forpolymer topologyanalysis.What you can do with Topoly?Find knots, links, lassos, theta-curves, handcuffs and their type.Calculate knot/link invariants:Polynomials: Alexander, Jones, Conway, HOMFLY, Yamada, Kauffman, BLM/Ho,Brackets: Kauffman, APS,Other: writhe, Gaussian linking number.Find minimal surface of a loop.Simplify polymer structure preserving its topology.Generate random polygon structures: walks, loops, lassos, handcuffs.Generate knot map (like in KnotProt).Calculate sum (U) and product (#) of knots.Visualize structures.Provided executable programsApart from a Python library, this package provides a set of executable programs:knotnet - find knots using the Alexander Polynomialhomflylinksurfacesmytrajncuclinkslmpolygln - compute the Gaussian linking numberInstallationMake sure you have a recent version ofpip. You can upgrade it by running:pip3 install --upgrade pipInstall Topoly using the standard python package installer PIP:pip3 install topolyTopoly can be installed without administrative privileges in the home folder of a particular user or in a Python
Virtual Environment.
In that case all files (binaries, documentation, libraries and python modules) will be installed in:$HOME/.local/orvenv/respectively.If you choose to install Topoly with administrative privileges then everything will be installed in:/usr/local/Using TopolyHave a look at our website:https://topoly.cent.uw.edu.plor our tutorial project:https://github.com/ilbsm/topoly_tutorialContactINTERDISCIPLINARY LABORATORY of BIOLOGICAL SYSTEMS MODELLING, University of Warsaw, Warsaw, Polandhttps://jsulkowska.cent.uw.edu.pl/
Package: topometry
TopOMetry - Topologically Optimized geoMetryTopOMetry is a high-level python library to explore data topology through manifold learning. It is compatible with scikit-learn, meaning most of its operators can be easily pipelined.Its main idea is to approximate theLaplace-Beltrami Operator (LBO). This is done by learning properly weighted similarity graphs and their Laplacian and Diffusion operators. By definition, the eigenfunctions of these operators describe all underlying data topology in an set of orthonormal eigenbases (classically named the spectral or diffusion components). New topological operators are then learned from such eigenbases and can be used for clustering and graph-layout optimization (visualization).There are many different ways to computationally approximate the LBO. TopOMetry tests a wide array of possible algorithmic combinations, combines them with existing graph-layout algorithm and scores them aftwerwards. This way, users do not have to choose a fixed methoda priori, and can instead decide what works best for each use case. It also includes various utilities for scoring the performance of similarity kernels and dimensional reductions of high-dimensional data. It includes methods for the estimation of intrinsic dimensionalities (global and local), and implements theRiemann metricto qualitatively visualize distortions in 2-D embeddings.For more information, see themanuscript.Single-cell analysisTopOMetry was designed to handle large-scale data matrices containing extreme sample diversity, such as those generated from high-throughputsingle-cell experiments. It includes wrappers to deal withAnnDataobjects usingscanpyand integrates well with tools in thescversepython suite for single-cell analysis.DocumentationInstalation can be quickly done with pip:pip install topometryFurther installation instructions such as optional dependencies, information about the implemented methods tutorials and a detailed API are available at the available at thedocumentation.ContributingContributions are very welcome! If you're interested in adding a new feature, just let me know in the Issues section.LicenseMIT LicenseCitationIf you use TopOMetry for your work, please cite the manuscript:@article{Sidarta-Oliveira2022.03.14.484134,author={Sidarta-Oliveira, Davi and Velloso, Licio A},title={A comprehensive dimensional reduction framework to learn single-cell phenotypic topology uncovers T cell diversity},elocation-id={2022.03.14.484134},year={2022},doi={10.1101/2022.03.14.484134},publisher={Cold Spring Harbor Laboratory},URL={https://www.biorxiv.org/content/early/2022/03/17/2022.03.14.484134},eprint={https://www.biorxiv.org/content/early/2022/03/17/2022.03.14.484134.full.pdf},journal={bioRxiv}}
Package: toponym
ToponymBuild grammatical cases for words in Slavic languages from pre-defined recipes.documentation:https://toponym.iwpnd.pw/Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.Installingfor usage:pip install toponymfor development:git clone https://github.com/iwpnd/toponym.git
pip install flit
flit install toponym --symlinkDescriptionProblemIn Slavic languages a word can change, depending on how and where it is used within a sentence. The city Moscow (Москва) changes toМосквеwhen used prepositional.
So when you want to eg. know if:"Москва"in"В Москве с начала года отремонтировали 3 тысячи подъездов">>FalseSolutionThis is where Toponym comes in. Utilizing pre-defined recipes it naively creates grammatical cases depending on the ending of the input word that the user wants to create Toponyms from. The recipe looks as follows:Reciperecipe={"а":{# ending of the input-word"nominative":[[""],0],"genitive":[# case that we need["ы","и"],# ending of the output-word1# chars to be deleted, before ending of output is added],"dative":[["е"],1],"accusative":[["у"],1],"instrumental":[...]}If multiple endings are given, multiple toponyms with that ending will be created. Some of those created toponyms do not make sense, or are not used in the wild. If you have an idea about how to remove those that are unreal please contact me.With the built toponyms for you can now check:fromtoponym.recipesimportRecipesfromtoponym.toponymimportToponymrecipes_russian=Recipes()recipes_russian.load_from_language(language='russian')city="Москва"t=Toponym(input_word=city,recipes=recipes_russian)t.build()print(t.list_toponyms())>>['Москвой','Москвы','Москви','Москве','Москву','Москва']any([wordin"В Москве с начала года отремонтировали 3 тысячи подъездов"forwordintn.list_toponyms()])>>Truesupported languages:full name		iso code
croatian		hr
russian		    ru
ukrainian		uk
romanian		ro
latvian		    lv
hungarian		hu
greek		    el
polish		    plRunning the testspytest toponym/tests/
Package: topoPhonon
topoPhonontopoPhonon package is a python package that allows users to phononic calculate topological properties, by building phonon tight-binding model.Build tight-binding models from user's input or FORCE_CONSTANTS files or Phonopy API. The last method is much faster, but need to import Phonopy package and manually create phonopy.harmonic.dynamical_matrix.DynamicalMatrix object.Calculate berry phase, berry curvature, wannier charge center evolution around Weyl points from tight-binding model.Build slab/ribbon models for surface/edge.Plot 3d band surfaces.Basic usage:Use one line of code to build tight-binding model:model = read_from_files(path)where the path should contain POSCAR, SPOSCAR and FORCE_CONSTANTS files.From the model just built, build a slab model withmultilayers alongfin_dir:model_2d = model.cut_piece(multi, fin_dir)model_2d = model_2d.atom_projected_band(q_path, node_names)Create a Topology object:tp = Topology(model)Plot the energy surfaces ofband1andband2and find the degenerate points on z=0 plane:model.plot_3d_band([band1, band2], center, xy_range)Then plot wannier charge center evolution aroundcenterforband_indices:tp.wcc_evol_sphere(band_indices, center)and the berry curvature distribution on $k_i$=kzplane, where $k_i$ = $k_z, k_y, k_z$ ifdirc= 0, 1, 2, respectively:tp.berry_curvature_proj(band_indices, dirc, kz)
Package: topopt
TopOpt — Topology Optimization in PythonA Python Library for Topology OptimizationWarning:this library is in early stages of development and consequently
the API may change to better improve usability.Topology optimizationis a form of structure optimization where the design variable is the topology
of the structure. Topological changes are achieved by optimizing the material
distribution within a given design space.TopOpt is a python library for topology optimization. TopOpt contains common
design problems (e.g. minimum compliance) solved using advanced methods
(e.g. Method of Moving Asymptotes (MMA)). Using TopOpt we can optimize the
classic Messerschmitt–Bölkow–Blohm (MBB) beam in a few lines of code:importnumpyfromtopopt.boundary_conditionsimportMBBBeamBoundaryConditionsfromtopopt.problemsimportComplianceProblemfromtopopt.solversimportTopOptSolverfromtopopt.filtersimportDensityBasedFilterfromtopopt.guisimportGUInelx,nely=180,60# Number of elements in the x and yvolfrac=0.4# Volume fraction for constraintspenal=3.0# Penalty for SIMPrmin=5.4# Filter radius# Initial solutionx=volfrac*numpy.ones(nely*nelx,dtype=float)# Boundary conditions defining the loads and fixed pointsbc=MBBBeamBoundaryConditions(nelx,nely)# Problem to optimize given objective and constraintsproblem=ComplianceProblem(bc,penal)gui=GUI(problem,"Topology Optimization Example")topopt_filter=DensityBasedFilter(nelx,nely,rmin)solver=TopOptSolver(problem,volfrac,topopt_filter,gui)x_opt=solver.optimize(x)input("Press enter...")Output:Development StatusTopOpt is in early stages of development and only features a limited set of
finite element mesh options, optimization problems, and solvers. The following
is a list of current and future features of TopOpt:Meshes2D regular grid2D general meshtriangle meshquadrilateral mesh3D regular grid3D general meshtetrahedron meshhexahedron meshProblemscompliancelinear elasticitynon-linear elasticitystressthermal conductivityfluid flowSolversoptimality criterionMethod of Moving Asymptotes (MMA)genetic algorithms
Package: topopy
A library for computing topological data structures stemming from Morse Theory. Given a set of arbitrarily arranged points in any dimension, this library is able to construct approximate topological structures using a neighborhood graph to simulate manifold structures.InstallationCurrently, you can usepipto install this package
and all of its prerequisite libraries:pip install topopyOr to install from source, install all of the prerequiste libraries:scipynumpyscikit-learnnetworkxnglpyAnd then clone and build the source repository:git clone https://github.com/maljovec/topopy.git
cd topopy
make
python setup.py [develop|install]Example Usageimport nglpy as ngl
import numpy as np
import topopy

def hill(_x):
    _x = np.atleast_2d(_x)
    x = _x[:, 0]
    y = _x[:, 1]
    return np.exp(- ((x - .55)**2 + (y-.75)**2)/.125) + 0.01*(x+y)

X = np.random.rand(100,2)
Y = hill(X)
graph = ngl.EmptyRegionGraph(beta=1.0, relaxed=False, p=2.0)

msc = topopy.MorseSmaleComplex(graph=graph,
                               gradient='steepest',
                               normalization='feature')
msc.build(X, Y)
msc.get_partitions()
Package: topos
docscodepypiCreating 3D meshes with a blend of python and mathsDISCLAIMER: It is very early stages for this package and features may be
added/broken/removed without warning while the core concepts are hashed out.README under construction…DevelopingIMPORTANT: The following commands all need to be run from the root of this
projectTopos usespipenvto manage dependencies and virtual environments. The first
step is to create a virtual environemnt$pipenv--threeThen with your virtual environment created install all the dependencies$pipenvinstall--devFinally to work within the virtual environment you have created run$pipenvshell