Saravanan666/pypi-org huggingface dataset:
Package: python-sa-gwdata
python-sa-gwdataPython code to get groundwater data for South AustraliaThis code provides the Python packagesa_gwdatato make it easier to download and access groundwater data from the South Australian Department for Environment and Water'sGroundwater Data website. It also provides some help for getting related data from the Department for Energy and Mining'sSouth Australian Resources Information Gateway (SARIG) website.This is an unofficial side-project done in my spare time.How to useCheck out thecomplete package documentation, and
some tutorial Jupyter Notebooks in thenotebooksfolder.Define the wells you are interested in manually:>>>importsa_gwdata>>>wells=sa_gwdata.find_wells("5928-203 and also ULE 96")>>>wells["LKW042","ULE096"](It has recognised automatically that5928-203is also known as LKW042).Or search for wells by geographic area:>>>wells=sa_gwdata.find_wells_in_lat_lon([-34.65,-34.62],[135.47,135.51])Then you can download data as pandas DataFrames:>>>wls=sa_gwdata.water_levels(wells)>>>tds=sa_gwdata.salinities(wells)>>>dlogs=sa_gwdata.drillers_logs(wells)There is also full access to the underlyingset of web serviceswhich provide a variety of data in JSON format.Start a session with Groundwater Data:>>>session=sa_gwdata.WaterConnectSession()On initialisation it downloads some summary information.>>>session.networks{'ANGBRM':'Angas Bremer PWA','AW_NP':'Alinytjara Wilurara Non-Prescribed Area','BAROOTA':'Baroota PWRA','BAROSSA':'Barossa PWRA','BAROSS_IRR':'Barossa irrigation wells salinity monitoring','BERI_REN':'Berri and Renmark Irrigation Areas','BOT_GDNS':'Botanic Gardens wetlands','CENT_ADEL':'Central Adelaide PWA','CHOWILLA':'Chowilla Floodplain',...}With this information we can make some direct REST calls:>>>r=session.get("GetObswellNetworkData",params={"Network":"CENT_ADEL"})>>>r.df.head(5)aq_mon	chem	class	dhno	drill_date	lat	latest_open_date	latest_open_depth	latest_sal_date	latest_swl_date	...	pwa	replaceunitnum	sal	salstatus	stat_desc	swl	swlstatus	tds	water	yield
0	Tomw(T2)	Y	WW	27382	1968-02-07	-34.764662	1992-02-20	225.00	2013-09-02	2018-09-18	...	Central Adelaide	NaN	Y	C	OPR	3.47	C	3620.0	Y	2.00
1	Qhcks	N	WW	27437	1963-01-01	-34.800905	1963-01-01	6.40	1984-02-01	1986-03-05	...	Central Adelaide	NaN	Y	H	NaN	5.86	H	1121.0	Y	NaN
2	Tomw(T1)	Y	WW	27443	1972-04-20	-34.811124	2014-04-01	0.00	1991-10-09	2003-07-04	...	Central Adelaide	NaN	Y	H	BKF	NaN	H	2030.0	Y	5.00
3	Tomw(T1)	Y	WW	27504	1978-02-28	-34.779893	1978-02-28	144.50	2016-04-06	2011-09-18	...	Central Adelaide	NaN	Y	H	OPR	11.21	H	2738.0	Y	0.00
4	Tomw(T1)	Y	WW	27569	1975-01-01	-34.891250	1975-07-09	131.10	1986-11-13	1988-09-21	...	Central Adelaide	NaN	Y	H	BKF	9.90	H	42070.0	Y	12.50InstallYou will need Python 3.8 or a more recent version.$pipinstall-Upython-sa-gwdataThis installs the latestreleaseof the Python packagesa_gwdata.To install the latest code from GitHub, make sure you the dependenciespandasandrequestsinstalled, then use:$pipinstallhttps://github.com/kinverarity1/python-sa-gwdata/archive/master.zipLicenseMIT
Package: python-saharaclient
Python bindings to the OpenStack Sahara APIThis is a client for the OpenStack Sahara API. There’s a Python API (thesaharaclientmodule), and a command-line script (sahara). Each
implements the OpenStack Sahara API. You can find documentation for both
Python bindings and CLI inDocs.Development takes place via the usual OpenStack processes as outlined
in thedeveloper guide.License: Apache License, Version 2.0PyPi- package installationOnline DocumentationBlueprints- feature specificationsBugs- stories and issue trackingSourceSpecsHow to Contribute
Package: python-salesforce
python-salesforce[![Build Status](https://travis-ci.org/debugmonkey/python-salesforce.png?branch=develop)](https://travis-ci.org/debugmonkey/python-salesforce)Python library and client for authorization and authentication against Salesforce RESTful interfaceSupports:OAuth 1.0aSalesforce API v27.0Salesforce JSON implementationPython 2.6, 2.7, and pypy.Examples:Check in scripts/ directory for authorization and api callingCopyright 2013 Adam Stokes <adam.stokes@ubuntu.com>
MITcommit 97f2b8bb3766282bae2a693b5b0efa233b46e6ab
Author: Adam Stokes <hackr@cypherbook.com>Start prototyping out clientcommit cc8331c526e5a2c55bd116f4175abd4fdaca1ca4
Author: Adam Stokes <hackr@cypherbook.com>Fix request import; make root_url propertycommit e588b81852ef8bc6fb82fedf2fb0ed6b5e0942d5
Author: Adam Stokes <hackr@cypherbook.com>Start authentication portioncommit bc2283c96451b42054147083e4588e285e4c2968
Author: Adam Stokes <hackr@cypherbook.com>Update readmecommit b6c97cac5c6f4807aa8dc5b55911d488ba8e8b8f
Author: Adam Stokes <hackr@cypherbook.com>add licensecommit 115379fdbcf7f72c9226997ed0360dd87c40c139
Author: Adam Stokes <hackr@cypherbook.com>directory structure setupcommit 5bec98a9f6e5bfa9036325348804e855d06bdc9d
Author: Adam Stokes <adam-stokes@ubuntu.com>Initial commit
Package: python-sample-app
# [Python Sample App](https://github.com/becosta/python-sample-app)[Python Sample App](https://github.com/becosta/python-sample-app) is a starter template for new python applications.You can clone it, edit some basic stuff and get started on your new app.## Application layoutYour new application layout is as following:```python-sample-app├── apidoc/|   └── .gitkeep├── doc/|   └── .gitkeep├── python_sample_app/|   ├── test/|   |   └── __init__.py|   ├── __init__.py|   └── main.py├── scripts/|   └── .gitkeep├── .gitignore├── LICENSE.md├── README.md└── setup.py```## Editing to match your project needsFirst clone or download this repository:```sh$ git clone https://github.com/becosta/python-sample-app.git```First thing to do is to rename the project directory (python-sample-app) to your project's name.```sh$ mv python-sample-app ${your_project_name} && cd ${your_project_name}```Then you can move on to renaming the main package directory (python_sample_app).```sh$ mv python_sample_app ${your_main_package_name}```After this you need to edit setup.py: ```$ editor setup.py``````pythonname='<your_project>',version='<your_project_version>',description='<your_project_description>',author='<your_name>',author_email='<you@example.com>',license="<your_project_license>",url="<your_project_url>",packages=['<your_project_main_package>'],entry_points={'console_scripts': ['<your_command>=<your_project_main_package>.main:main',],},```Note that ```<your_command>``` is the name of the entry script that will be generated by ```$ pip install -e .```. In other words this is the name of the command you'll use to call your application from the console later on. Also, note that you can have more than one entry point [see the setuptools documentation](https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins) for more information.Once done, edit ```LICENSE.md```, ```README.md``` and ```.gitignore``` according to your needs. If you don't need any of the ```apidoc```, ```doc``` and ```scripts``` directories you should remove them now.
Package: python-sample-package
[![Build Status](https://travis-ci.org/iiddoo/python-sample-package.svg?branch=master)](https://travis-ci.org/iiddoo/python-sample-package)             [![PyPI version](https://badge.fury.io/py/python-sample-package.svg)](https://badge.fury.io/py/python-sample-package)           [![Coverage Status](https://coveralls.io/repos/github/iiddoo/python-sample-package/badge.svg?branch=dev)](https://coveralls.io/github/iiddoo/python-sample-package?branch=dev)          [![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)# python-example-packageThis is a starter repo for creating a new python package.## TestsSimply run:pytest## Code covergeGenerate coverage report with:py.test –cov=myPackage tests/####  script:
####    - pip install –user –upgrade setuptools wheel twine numpy
####    - python3 setup.py sdist bdist_wheel
####    - python3 -m twine upload –repository-urlhttps://test.pypi.org/legacy/dist/*
####  before_script:
####    - bumpversion minor setup.py
Package: python-sample-package-with-data
Python sample package with dataHow to distribute a Python package with data.Tested on Ubuntu 19.10, Python 3.7.5, wheel==0.32.3, setuptools==41.1.0, twine==3.1.1.How end users use the package fromhttps://pypi.org/project/python-sample-package-with-data/:python3 -m pip install --user python-sample-package-with-data
python-sample-package-with-dataExpected output:hello dataHow maintainers publish it:# One time setup.
python3 -m pip install --user setuptools wheel twine

# Every time you want to publish.
python setup.py sdist bdist_wheel
twine upload dist/*Bibliography:https://stackoverflow.com/questions/47577762/how-do-i-distribute-my-pip-package-with-data-files-correctlyhttps://stackoverflow.com/questions/47817944/python-pkg-resources-and-file-access-in-packageshttps://stackoverflow.com/questions/39104/finding-a-file-in-a-python-module-distributionhttps://stackoverflow.com/questions/14211575/any-python-function-to-get-data-files-root-directoryhttps://stackoverflow.com/questions/14422340/manifest-in-package-data-and-data-files-clarificationhttps://stackoverflow.com/questions/3596979/manifest-in-ignored-on-python-setup-py-install-no-data-files-installed/3597263#3597263https://stackoverflow.com/questions/11235820/setup-py-not-installing-data-files
Package: python-sample-package-with-data-aitirga
Python sample package with dataHow to distribute a Python package with data.https://stackoverflow.com/questions/3596979/manifest-in-ignored-on-python-setup-py-install-no-data-files-installed/60735402#60735402Tested on Ubuntu 19.10, Python 3.7.5, wheel==0.32.3, setuptools==41.1.0, twine==3.1.1.How end users use the package fromhttps://pypi.org/project/python-sample-package-with-data/:python3 -m pip install --user python-sample-package-with-data
python-sample-package-with-dataExpected output:hello datawhich are the contents of our test data filepython_sample_package_with_data/mydata.txtthat was distributed withpip.How maintainers publish it:# One time setup.
python3 -m pip install --user setuptools wheel twine

# Every time you want to publish.
python setup.py sdist bdist_wheel
twine upload dist/*
rm -rf build dist *.egg-infoBibliography:https://stackoverflow.com/questions/47577762/how-do-i-distribute-my-pip-package-with-data-files-correctlyhttps://stackoverflow.com/questions/47817944/python-pkg-resources-and-file-access-in-packageshttps://stackoverflow.com/questions/39104/finding-a-file-in-a-python-module-distributionhttps://stackoverflow.com/questions/14211575/any-python-function-to-get-data-files-root-directoryhttps://stackoverflow.com/questions/14422340/manifest-in-package-data-and-data-files-clarificationhttps://stackoverflow.com/questions/11235820/setup-py-not-installing-data-files
Package: python-Samridhi-101916086
TOPSISTechnique for Order Preference by Similarity to Ideal Solution is a multi-criteria decision making method. The method is based on finding an ideal and an anti-ideal solution and comparing the distance of each one of the alternatives to those. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.Package UsageTo install the package:
pip install Topsis_Samridhi_101916086
This is a package focusing on finding the topsis score and rank of a dataframe (csv file) with only numerical values except for the first column.OUTPUTThe python file consists of the logic which excepts 4 parameter:Input csv fileWeights given by user comma separtedImpact given by user comma separatedResult csv file, just to restore the naming convention.. result file will contain 2 additional columns contianing topsis_score and rankLICENSE2022 Samridhi Garg
Package: python-sane
Python SANE has been split from Python-Pillow as of version 2.7.0.The SANE module provides an interface to the SANE scanner and frame grabber
interface for Linux.  This module was contributed by Andrew Kuchling formerly
maintained by Ralph Heinkel. It is currently maintained by Sandro Mani.BuildTo build this module, make sure the sane development package is installed. Then, type:python setup.py buildIn order to install the module type:python setup.py installFor some basic documentation please look at the file sanedoc.txt
The example.py script gives a basic example on how to use the software.DocumentationAvailable athttps://python-sane.readthedocs.io/en/latest/
Package: python-sap
python-sapSAP Algorithm written in Python.InstallingFirst make sure you have theigraphlibrary installed at system level:# In Arch based linux distributionssudopacman-Sigraph# In Debian based linux distributions (Ubuntu, etc.)sudoaptinstalllibigraph0-devThen you can install all the python things with:pip install -U python-sapConsole scriptAfter installing, you get access to some console scripts with which
you can start trying things around:$sapdescribedocs/jupyter-sap/savedrecs.txt
IGRAPHDN--90343--
+attr:AU(v),BP(v),DI(v),J9(v),PY(v),VL(v),_connections(v),_elaborate_sap(v),_leaf_connections(v),_raw_sap(v),_root_connections(v),extended_leaf(v),extended_root(v),label(v),leaf(v),name(v),root(v),sap(v),trunk(v)This one describes all the collections you have,$saprootdocs/jupyter-sap/savedrecs.txt1.00SkumryevV,2003,NATURE,V423,P850,DOI10.1038/nature01687https://dx.doi.org/10.1038/nature016870.91FerrandoR,2008,CHEMREV,V108,P845,DOI10.1021/cr040090ghttps://dx.doi.org/10.1021/cr040090g0.89NoguesJ,1999,JMAGNMAGNMATER,V192,P203,DOI10.1016/S0304-8853(98)00266-2https://dx.doi.org/10.1016/S0304-8853(98)00266-2
...Shows the root of the topic in the bibliography collection you pass in, feel
free to:sap--helpto explore all the commands and options you can use.Python APIThe Python API is quite small, here's the minimal working example:fromsapimportload,Sap,Collection,giantsap=Sap()graph=giant(Collection(file1,file2,...))tree=sap.tree(graph)Or if you prefer to user the filenames, you may use:fromsapimportload,Sap,Collection,giantsap=Sap()graph=giant(Collection.from_filenames(filename1,filename2,...))tree=sap.tree(graph)thentreeis anigraph.Graphlabeled with all the things you would need
for analysis.DevelopmentCheck theCONTRIBUTINGguide.
Package: python-sapcommissions
SAP CommissionsA Python wrapper for the SAP Commissions API.InstallationREST APITerminologyUsageEndpointsMethodsLegal DisclaimerIf you like this project, please consider toBuyMeACoffeeorcontact medirectly.InstallationTo install the project, run the following command:pip install python-sapcommissionsREST APIThis project mimics the usage of the SAP Commissions REST API. Visithttps://{TENANT}.callidusondemand.com/APIDocumentto read the full specification, replacingTENANTwith your
tenant-id.TerminologyThings to keep in mind while reading the documentation.KeywordDescriptionEndpointA type of object that you can interact with, likeParticipantsandPositions.MethodAn action to perform on an endpoint, likelist()andget_id().ResourceAn instance of an endpoint, likeParticipantandPosition.UsageTo get started, importConnectionand an endpoint of your choosing. In this example, we'll useParticipants.fromsapcommissionsimportConnectionfromsapcommissions.endpointsimportParticipantsInitialize a Connection by providing the tenant, username, and password. Optionally, you can disable ssl verification,
if you are having problems connecting to the API from your network.prod=Connection("CALD-PRD","MyUserName","MySuperSecretPassword",verify_ssl=True)In this example we will use theParticipantsendpoint to get a list of all participants from the system. Thelist()method returns ageneratorobject, to retrieve allParticipants, you can convert the generator to alist,
processes theParticipantsone-by-one in afor-loopor use a list comprehension to extract neccecery properties.participants=Participants(prod).list()# Convert to listall_users=list(participants)# For loopforparticipantinparticipants:...# Do something# List Comprehensionparticipant_ids=[participant.payeeIdforparticipantinparticipants]EndpointsEndpoints are the objects you can interact with, likeParticipants,Positions,CreditsorPipelines. For a full
list of endpoints and their associated methods, please read theEndpoints documentation.MethodsMethods are the actions you can perform on an endpoint, likelist(),get()andcreate(). You'll find links to the
associated methods in theEndpoints documentation. For a full list of available methods, please read theMethods documentation.Legal DisclaimerThis software is designed for use with SAP® Commissions.SAP Commissions is the trademark or registered trademark of SAP SE or its affiliates in Germany and in other countries.The developers take no legal responsibility for the functionality or security of your SAP Commissions environment.
Package: python-sat
A Python library providing a simple interface to a number of state-of-art
Boolean satisfiability (SAT) solvers and a few types of cardinality and
pseudo-Boolean encodings. The purpose of PySAT is to enable researchers
working on SAT and its applications and generalizations to easily prototype
with SAT oracles in Python while exploiting incrementally the power of the
original low-level implementations of modern SAT solvers.With PySAT it should be easy for you to implement a MaxSAT solver, an
MUS/MCS extractor/enumerator, or any tool solving an application problem
with the (potentially multiple) use of a SAT oracle.Details can be found athttps://pysathq.github.io.
Package: pythonsay
PythonsaySimple Python Cowsay implementation.Installationpip install pythonsayUsageArguments-h, --help show this help message and exit-c, --cow print a cow-py, --python print a python-pb, --big print a big pythonExamples:python pythonsay.py -c "Hello World"

< Hello World! >
  ------------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
            U  ||----w |
               ||     ||

python pythonsay.py -py "Hello World"


    < Hello World! >
    ____________
            \
             \      /^\/^\
              \   _|_O|  O|
          \/     /~     \_/ \
           \____|__________/  \
                \_______      \
                        `\     \                 \
                         /     /                  \
                        /     /                    \
                      /     /                       \\
                    /     /                         \ \

python pythonsay.py -pb "Hello World!"

< Hello World! >
 ____________
      \
       \      /^\/^\
        \   _|_O|  O|
    \/     /~     \_/ \
     \____|__________/  \
           \_______      \
                   `\     \                 \
                    /     /                  \
                  /     /                    \
                /     /                       \\
               /     /                         \ \
              /     /                            \  \
             /     /             _----_            \   \
            /     /           _-~      ~-_         |   |
           (      (        _-~    _--_    ~-_     _/   |
            \      ~-____-~    _-~    ~-_    ~-_-~    /
             ~-_           _-~          ~-_       _-~
                ~--______-~                ~-___-~



            Art and idea by:  Tony MonroeAbout CowsayThe original cowsay for GNU/Linux was written by Tony Monroe.About PythonsayThe main idea is to use the cowsay program to complete the Python cicle from code to package, automated tests and documentation.
Package: python-sbigudrv
Python wrappers for SBIG (tm) Universal DriverThis is a Python wrapper to SBIG (tm) Universal Driver libraries for
Linux.The installation is easily done using setuptools easy_install script,
which will check the required Python packages and install install any
if necessary.easy_installpython-sbigudrvTo install this package you will need:Numpy>= 1.0.3.SWIG(optionally, but recommended). Only if you need to regenerate the included
pre-generated wrapper.libusb. It’s widely available. It works with the stable (0.1) version, not the new in
development 1.0.You’ll also need Python developer package.On Ubuntu, use the following to install all dependencies:sudoapt-getinstallpython-devpython-numpyswiglibusb-devAuthorPaulo Henrique Silva <ph.silva@gmail.com>,Astrophysics Group,Universidade Federal de Santa Catarina.LICENSECopyright 2008 Paulo Henrique Silva <ph.silva@gmail.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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.DISCLAIMERThis is project is not sponsored or endorsed by Santa Barbara
Instrument Group, Inc.This package contains the original SBIG (tm) libraries for Linux
kindly packaged byJan Soldan, Astronomical Institute, Ondrejov,
Czech Republic.
Package: python-scan
PORT_SCANNERAutor:An0mal1a--  Usabilidad 'PORT SCANNER' v0.4.4.a  --Argumentos de la herramienta:[♦] Enter IP --> IP OBETIVO    

║       
╚═► EJEMPLO --> [♦] ENTER IP -> 127.0.0.1

[♦] Introduce la cantidad de puertos a escanear - (EJ: 500 - Primeros 500)

║               
╚═► EJEMPLO --> Introduce cant ports --> 65535 (nº MAX ports)

[♦] Si posee conocimientos de nmap, opcion de añadir argumentos-- PROCEDIMIENTO UTILIZADO POR LA HERRAMIENTA --1. Se ejecuta un escaneo de puertos para localizar los abiertos

2. Ejecutamos un analisis de servicios de dichos puertos abiertos,
   identificamos información sobre los servicios encontrados 

3. Iniciamos una busqueda de vulnerabilidades públicas en dichos servicios...

4. Tenemos la opcion de buscar en la base de datos de ExploitDb algún exploit público.

5. Podemos abrir metasploit para utilziar la informacion recopilada
   anteriomente para lo que tengamos que hacer

REQUISITOS:
        - NMAP
        - Metasploit (opcional)
---------------------------------------------------------------------------------------------------        
Se han añadido funciones para crear un archivo 'scan.log' en el escritorio.
Se han añadido Host Discovery y Os_guess que en base el ttl no dice de forma simple el OS que corre 
Se han corregido errores
En mejora argumentos personalizados de "NMAP"Pip:command_line = pip install python-scanGit:command_line = git clone https://github.com/TownPablo/PORT_SCANNER
cd PORT_SCANNER
sudo python setup.py installLinuxUna vez instalado (pip)
    ║               
    ╚═► 1. ┌[parrot]─[20:12-03/05]─[/home/supervisor]
           └╼supervisor$whereis PORT_SCAN   
            PORT_SCAN: /usr/local/bin/PORT_SCAN.py
        
        2. sudo chmod +x /usr/local/bin/PORT_SCAN.py
        3. python3 /usr/local/bin/PORT_SCAN.py

Opcion Recomendada (Ejecución de cualquier ruta):
   Una vez instalado (git)
       ║               
       ╚═► 1. PORT_SCAN.py

         ┌─[supervisor@parrot]─[/]
         └──╼ $ PORT_SCAN.pyWindowsEjecución desde cualquier ruta

        1. pip install python-scan
        2. port_scan / port_scan.py
Package: python-scattnlay
The Python version of scattnlay, a computer implementation of the algorithm for the calculation of electromagnetic radiation scattering by a multilayered sphere developed by Yang. It has been shown that the program is effective, resulting in very accurate values of scattering efficiencies for a wide range of size parameters, which is a considerable improvement over previous implementations of similar algorithms. For details see: O. Pena, U. Pal, Comput. Phys. Commun. 180 (2009) 2348-2354.