Saravanan666/pypi-org huggingface dataset:
Package: napalm-s350
Napalm-s350NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x).StatusMaster:Develop:PyPi:RequirementsPython 3.6+, napalm 3+Installationpip3installnapalm_s350CLI testDefault information (the same ascall get_facts)napalm--userUSER--passwordPASSWORD--vendors350HOSTNAME

napalm--userUSER--passwordPASSWORD--vendors350HOSTNAME--optional_args"force_no_enable=True"Get interfacesnapalm--userUSER--passwordPASSWORD--vendors350HOSTNAMEcallget_interfacesGet configuration filenapalm--userUSER--passwordPASSWORD--vendors350HOSTNAMEcallget_configDebugnapalm--userUSER--passwordPASSWORD--vendors350--debugHOSTNAMESupported devicesThis driver initially targets the Cisco SG350 device though other, similar, devices may
be supported.functionSG300SG500SG350SG550stack SG500stack SG550CBS350Send commandsclixxxxxxxConfig manipulationget_configxxxxxget_config (filtered)xxxxxget_config (sanitized)xxxxxload_merge_candidateload_replace_candidatecompare_configcommit_configconfirm_commithas_pending_commitrollbackdiscard_configcompliance_reportload_templateGet informationget_arp_tablexxxxxget_arp_table (with vrf)NSNSNSNSNSget_bgp_configget_bgp_neighborsget_bgp_neighbors_detailget_environmentget_factsxxxxxget_firewall_policiesget_interfacesxxxxxget_interfaces_countersget_interfaces_ipx 4x 4x 4x 4x 4get_ipv6_neighbors_tableget_lldp_neighborsxxxxxget_lldp_neighbors_detailxxxxxget_mac_address_tableget_network_instancesget_ntp_peersget_ntp_serversxxxxxget_ntp_statsget_opticsget_probes_configget_probes_resultsget_route_toget_snmp_informationget_usersget_vlansxxxxxOther actionsis_alivepingtracerouteNS - not supported - devices do not have support for that feature
4  - IPv4 only ...Want to add new device support?To be sure we can support new device we use test files.We need text output of those commands, to add new device:show arp
show startup-config
show version
show system
show inventory
show hosts
show interface status
show running-config
show interfaces status
show interfaces description
show ports jumbo-frame
show ip int
show lldp neighbors
show sntp statusThose commands may need parameter change to suit your configuration:show running-config full
show lldp local FastEthernet1
show lldp neighbors FastEthernet0/1Please add each command to separate file - commandshow arpto file namedshow_arp.txtMake pull request to /napalm-s350/tree/develop/test/unit/mocked_data/your device type/
or if you prefer make a Issue and add files as an atachement.
Package: napalm-salt
napalm-saltModules for Salt, to retrieve, control, enforce and update configuration
of network devicesSalt BasicsNew to Salt? Check outthis documentfor a brief introduction to get
up to speed on the basics.Test EnvironmentThroughout the rest of this document, we’ll set up a test environment to
run some salt commands against routers. This test environment uses a
vagrant VM running Ubuntu 16.04, which acts as a salt-master as well as
a proxy-master, which establishes and maintains connections to the
routers in order to execute commands on them.Install SaltThe simplest way to install Salt is viasalt bootstrap. Here’s an
example of an installation:wget-Obootstrap-salt.shhttps://bootstrap.saltstack.com/developsudoshbootstrap-salt.shThis will install thesalt-minionandsalt-proxyonly, but we
also want this box to be thesalt-master, so we’ll install that:sudoshbootstrap-salt.sh-MFor more specific installation instructions, see theplatform-specific
instructionsfrom the official Saltstack documentation. Be aware to
install the master distributionfrom the PPA repo, as on the local
server will run as Master, controlling the devices as Proxy minions.CentOS documentation can be foundhere.Install NAPALMIf NAPALM has never been installed on your system it will need to be
before napalm-salt can work:sudo apt-get install libffi-dev libssl-dev python-dev python-cffi libxslt1-dev python-pip
sudo pip install --upgrade cffi
sudo pip install napalm-junos napalm-iosxr napalm-iosThe easy way: Salt users can install NAPALM through a single command,
using thenapalm-install Saltstack formula. A more detailed usage
example can be found at:https://mirceaulinic.net/2017-07-06-napalm-install-formula/.Configure Salt Proxy (and Minion)The main configuration file needed to make Salt run as proxy-master is
located at/etc/salt/proxy. This file should already exist, though
you may need to create it.We need to tell the proxy process that the local machine is thesalt-master, and to turn off multiprocessing. You can add the
following to the top of your/etc/salt/proxyfile:master: localhost
multiprocessing: false
mine_enabled: true # not required, but nice to have
pki_dir: /etc/salt/pki/proxy # not required - this separates the proxy keys into a different directoryAdditionally, you may want to edit the/etc/salt/minionfile to
point the master location to itself. This is not necessary, but it
allows you to target the VM as a minion, i
Package: napalm-servertech-pro2
napalm-servertech-pro2Community NAPALM driver for PRO2 familyServerTechPDUs running8.0mand higher (first version to implement the JSON API Web Service, a.k.a. JAWS).Supported featuresGiven the nature of those "network devices" is a bit particular, some functions cannot be implemented or will not make a lot of sense. First of all, the API only allows us to directly configure elements: it is not possible to confirm or rollback changes.Please find below the list of supported getters:get_configget_environmentget_factsget_interfaces (will return theNETinterface management information and electrical outlets)get_interfaces_ip (will only return theNETinterface management address)get_usersAdditional featuresThe default NAPALM methods don't cover everything we can do on the PDUs (they actually do via CLI, but the driver does not control the PDUs via the CLIs yet). In order to perform actions such as changing the status of an outlet or resetting a PDU, new methods are implemented:set_outletrestartContributingPlease readCONTRIBUTINGfor details on our process for submitting issues and requests.LicenseThis project is licensed under the Apache License - see theLICENSEfile for details
Package: napalm-slx-os
napalm-slx_osSLX-OS driver forNAPALMTested with the following SLX-OS versions:20.3.2eFunction Support OverviewConfiguration SupportSLX-OSConfig. replaceNo (1)Config. mergeYesCommit ConfirmNoCompare configNo (2)Atomic ChangesNoRollbackNo(1) - Can be implemented by copying the config via scp, replacing the startup config and reloading the system (i.e.
rebooting)(2) - No mechanism to compare the config, the merge has been implemented by usingconfigure terminal, which is
executed when callingcommit_config()Getters support matrixGetterSLX-OSget_arp_table✅get_bgp_configget_bgp_neighbors✅ (1)get_bgp_neighbors_detail✅ (1)get_config✅ (2)get_environmentget_facts✅get_firewall_policiesget_interfacesget_interfaces_countersget_interfaces_ipget_ipv6_neighbors_tableget_lldp_neighborsget_lldp_neighbors_detailget_mac_address_tableget_network_instancesget_ntp_peersget_ntp_serversget_ntp_statsget_opticsget_probes_configget_probes_resultsget_route_toget_snmp_informationget_usersget_vlansis_alive✅pingtraceroute(1) - Only default VRF supported for now(2) -sanitizedoption not supported
Package: napalm-srl
Nokia napalm-srlinuxCommunity NAPALM driver for the Nokia SR Linux OS.https://www.nokia.com/networks/products/service-router-linux-NOS/Getting started - quick connection code snippetdriver = get_network_driver("srl")
optional_args = {
  "gnmi_port": 57400, # default
  "jsonrpc_port": 443, # default

  # "tls_ca": tls_ca, # Root CA to verify SSL connections
  # "tls_cert": cwd + "srl/client.pem",
  # "tls_key": cwd + "srl/client.key",
  # "skip_verify": True,
  "insecure": True, # FOR TESTING PURPOSES ONLY - this uses the server certificate as root of trust
  "encoding": "JSON_IETF"
}
device = driver("host-or-ip", "admin", "NokiaSrl1!", 10, optional_args)
device.open()
facts = device.get_facts()
print( facts )
device.close()NAPALMNAPALM (Network Automation and Programmability Abstraction Layer with Multivendor support) is a Python library that implements a set of functions to interact with different router vendor devices using a unified API.NAPALM supports several methods to connect to the devices, to manipulate configurations or to retrieve data.SR Linux OSThe driver leverages Nokia SRL YANG models for configuration and state trees for the SRL platform.
NAPALM integration is validated with a minimum of Nokia Service Router Linux Operating System (SRL OS) version 21.3.1.Releases beyond this have not been validated and should be by users before using the driver in labs and production on devices using different SRL OS versions. Please contact the Nokia owners of this repository for additional information with respect to additional release validation.DocumentationPlease read the installation instruction inInstall DocumentMapping of various parameters of NAPALM output to Nokia SRL can be found in thisMapping DocumentFor testing, please refer toTest Document**Components **Python (3.7 or later)grpcioprotobufImportant NotesPorts: The napalm-srlinux driver uses gNMI and JSON-RPC for various functions, Make sure to enable the ports at SR Linux Node (57400 and 443 respectively by default)Certificates: The napalm-srlinux driver establishes secure connection only with the node, Hence make sure the appropriate CA/Certificates and Keys are in place.
For testing purposes, 'insecure=True' can be used to accept any certificate presented by the deviceCompare_Config: Thecompare_commitbased on the previously called function performs the operation as below, Default is on-box differenceFunctioncompare_configLOAD_MERGEon-box differenceLOAD_REPLACEout-box differenceProxy Setting: The driver establishes RPC connections with the nodes, Check proxy settings at local machine(where driver is running), Disable proxy if not needed when running locally.LicenseThis project is licensed under the Apache-2.0 license - see theLICENSEfile.
Package: napalm-sros
NAPALM INTEGRATION WITH NOKIA SR OSNAPALMNAPALM (Network Automation and Programmability Abstraction Layer with Multivendor support) is a Python library that implements a set of functions to interact with different router vendor devices using a unified API.NAPALM supports several methods to connect to the devices, to manipulate configurations or to retrieve data.SR OSNAPALM integration is validated with a minimum of Nokia Service Router Operating System (SR OS) version 19.10R5. Releases beyond this have not been validated and should be by users before using the driver in labs and production on devices using different SR OS versions. Please contact the Nokia owners of this repository for additional information with respect to additional release validation.DocumentationPlease read the installation instruction inInstall DocumentThe main files included for Nokia SR OS driver are:
3) napalm_sros/sros.py: Overridden NAPALM methods to get the expected output from SR OS
4) napalm_sros/nc_filters.py: Filters defined to get data from SR OS using a NETCONF connectionMapping of various parameters of NAPALM output to Nokia SR OS can be found in thisMapping DocumentFor testing, please refer toTest DocumentComponents VersionPython - 3.6ncclient >= 0.6.13paramiko >= 2.11.0NAPALM >= 3.4.1NoteThis version of the driver leverages Nokia’s defined YANG models for configuration and state trees for the SROS platform. While SROS also support limited configuration and state retrieval using openconfig standard models, the NAPALM driver does not support configuration or state retrieval of openconfig data models.LicenseThis project is licensed under the Apache-2.0 license - see theLICENSEfile.
Package: napalm-toolbox
🔥 NapalmNapalm is a project management utility for custom solidity vulnerability detectors.If you're an auditor you've probably played around with various static analysis tools, maybe even written a couple of
custom modules. If so, you'll have noticed that you're reaching for different tools all the time, and that
organising your 100+ custom modules is starting to become a hassle.Napalm to the rescue!With Napalm you can manage, and easily run your custom detection modules for multiple tools, all from one place.reporting - Napalm takes care of building a comprehensive report for you, so you can focus on writing your modules.installation - Zero hassle installation of your modules, and their dependencies, in a clean virtual environment.batch processing - Run your modules against multiple contracts, or multiple versions of the same contract, in one go.InstallationNapalm is available on PyPi, so you can install it with pip:pipinstall'napalm-toolbox[slither]'You can install napalm without slither too! Just omit the [slither]Quick start guides:for module hackersfor running analyses with napalm💣 Running scans with NapalmUsing napalm is simple, you've got two main concepts to keep in mind:Collection- A collection is a group of detection rules / modules.Workflow- A workflow is a set of collections that you commonly want to use together when analyzing a contract.You've got three default workflows:detect- This is likely your main workflow, and is commonly used to run all high-confidence detectors.direct- Direct is a workflow commonly used by bounty hunters, it's detectors provide suggestions on where to look for bugs. Usually focused on high-impact.inform- This workflow has all your common optimisations, suggestions, informational modules.Running a workflowTo run a workflow, simply run the following command:napalmrun<workflow><contract># ornapalmrun<workflow><directory>💼 Installing Napalm packagesWhen you first install Napalm, things might seem a little boring. That's because you haven't installed any packages yet!Napalm packages are simply python packages that contain Napalm collections. Here is the napalm base package that comes
pre-loaded with tons of useful detection modules!pipinstallnapalm-baseNext time you run napalm it will automatically prompt you to add the collections in this package to your default workflows!💡Note:Try re-runningnapalm run detectnow that you've got some collections installed!🧑‍💻 Using Napalm as a module devTo start a new Napalm project, run the following command in an empty directory:napalm-devinitThis will automatically set up a napalm project for you that takes care of everything! The only thing you need to do is
write detection modules and rules.You'll see that the default project structure comes with two collections pre-loaded,detectorsandindicators. Add
your detection modules to either of these collections, and they'll be automatically loaded when you run napalm! Of course,
if you'd like to add more collections, you can do so by just creating a new directory!Note: the project acts like a python project so don't forget to addinit.py files!
Package: napalytics
napalyticsRepository for creating a Python test framework for data testing across multiple data sourcesinstallationTo install the package run: pip install -e napalytics if you have downloaded the source files, if directly fetching from the internet use pip install napalyticsTo test if package has installed: run python in cmd then type import napalytics. It should
import the installed package with no errors.UsageThe bindings for connecting to the database are defined in the module: napalytics/connector.py
The module should be used as follows:import the module: import napalytics as npscall any of the following methods: oracle,sql_server,snow,aws_redshift,google_bigquery,amazon_s3Sample calls to these methods are as follows:nps.oracle( host,port, sid,username, pwd,service_name)nps.sql_server(driver,server,database,uid,password)nps.snow(user,password, account,warehouse,database,schema)nps.aws_redshift(host,database_name,user, password)nps.google_bigquery(username, pwd, hyperlink, database_name)nps.amazon_s3(aws_access_key,aws_secret_key)Updating the package on the PC to the latest versionFetch the latest code from the sourceSince all the dependencies have been previously fetched,only the package needs to be updatedon cmd change directory(cd) to the cloned/downloaded copy of this codethen run pip install -e napalyticsThis will uninstall the previous version of the package and install the latest package
Package: napalytics-dependencies
napalyticsThe dependencies for the napalytics package.
-- These should be installed before installing and using the napalytics packageinstallationTo install download the source files and extract. Then run python bootstrap.py. all the required dependencies will be installedTo test if package has installed: run python in cmd then type import pyodbc. It should
import the pyodbc package with no errors.UsageInstall or download and install the napalytics package fromhttps://pypi.org/project/napalytics/
Package: napari-3d-ortho-viewer
napari-3d-ortho-viewerNapari 3D Ortho Viewer - an ortho viewer for napari for 3D imageshttps://github.com/gatoniel/napari-3d-ortho-viewer/assets/40384506/4296dc11-ea37-40a0-8b17-eeb77480672fThis plugin is heavily inspired byortho-view-napari.Check out this post on image.sc (https://forum.image.sc/t/napari-visualization-in-3-planes/57768) for more infos about multiview support innapari.This viewer has some additional features:double click to jump to specific position in all slicesadditional 3d view of 3d stack with lines or planes indicating current positionInstallationYou can installnapari-3d-ortho-viewerviapip:pip install napari-3d-ortho-viewerTo install latest development version :pip install git+https://github.com/gatoniel/napari-3d-ortho-viewer.gitContributingContributions are very welcome. Tests can be run withtox, please ensure
the coverage at least stays the same before you submit a pull request.LicenseDistributed under the terms of theMITlicense,
"napari-3d-ortho-viewer" is free and open source softwareIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.Thisnapariplugin was generated withCookiecutterusing@napari'scookiecutter-napari-plugintemplate.
Package: napari-affinities
napari-affinitiesA plugin for creating, visualizing, and processing affinitiesThisnapariplugin was generated withCookiecutterusing@napari'scookiecutter-napari-plugintemplate.InstallationYou will need a conda environment for everything to run
smoothly. Supported python versions are 3.7, 3.8, 3.9.pipYou can installnapari-affinitiesviapip:`pip install napari-affinities`To install latest development version :`pip install git+https://github.com/pattonw/napari-affinities.git`Install torch according to your system(follow the instructions here). For example with cuda 10.2 available, run:conda install pytorch torchvision cudatoolkit=10.2 -c pytorchInstall conda requirements:conda install -c conda-forge affogatocondaIf you install via conda, there are fewer steps since
affogato and pytorch will be installed for you.You can installnapari-affinitiesvia [conda]:`conda install -c conda-forge napari-affinities`Download example model:2D:epithelial example modelPlace the model zip file wherever you want. You can open it in the plugin with the "load from file" button.3Dlightsheet example modelUnpack the tar file into test data (lightsheet_nuclei_test_data(an hdf5 file)) and model (LightsheetNucleusSegmentation.zip(a bioimageio model)).
Move the data into sample_data which will enable you to load the "Lightsheet Sample" data in napari.
Place the model zip file anywhere you want. You can open it in the plugin with the "load from file" button.Workarounds to be fixed:you need to update therdf.yamlin theLightsheetNucleusSegmentation.zipwith the following:"shape" for "input0" should be updated with a larger minimum input size and "output0" should be updated with a larger halo. If not fixed, there will be significant tiling artifacts.(Optional) "output0" should be renamed to affinities. The plugin supports multiple outputs and relies on names for figuring out which one is which. If unrecognized names are provided we assume the outputs are ordered (affinities, fgbg, lsds) but this is less reliable than explicit names.This model also generates foreground in the same array as affinities, i.e. a 10 channel output(fgbg, [-1, 0, 0], [0, -1, 0], [0, 0, -1], [-2, 0, 0], ...). Although predictions will work, post processing such as mutex watershed will break unless you manually separate the first channel.UseRequirements for the model:Bioimageio packaged pytorch modelOutputs with names "affinities", "fgbg"(optional) or "lsds"(optional)if these names are not used, it will be assumed that the outputs are affinities, fgbg, then lsds in that orderContributingContributions are very welcome. Tests can be run withtox, please ensure
the coverage at least stays the same before you submit a pull request.LicenseDistributed under the terms of theMITlicense,
"napari-affinities" is free and open source softwareIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.
Package: napari-aideveloper
napari-aidevelopernapari_aideveloperis a napari-plugin derived fromAIDeveloperthat allows you to train, evaluate, and apply deep neural nets for image classification within a graphical user-interface (GUI).InstallationYou can installnapari-aideveloperviapip:pip install napari-aideveloperIntroductionMain functionsBuildHistoryBuild1. Load dataDrag and drop your data in .rtdc (HDF5) format into the file table and set the class and training/validation.2. Choose Neural Networks3. Set model storage path4. Start fittingPreview imageImage augmentationHistory1. Load meta data2. Check model details3. Rolling median & Linear fitContributingContributions are very welcome. You can submit your pull request onGitHub. Tests can be run withtox, please ensure the coverage at least stays the same before you submit a pull request.LicenseDistributed under the terms of theBSD-3license,
"napari-aideveloper" is free and open source softwareIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.Thisnapariplugin was generated withCookiecutterusing@napari'scookiecutter-napari-plugintemplate.