Saravanan666/pypi-org huggingface dataset:
Package: parsagon
parsagonParsagon allows you to create browser automations with natural language. You can create automations that fill out forms, scrape web pages, and much more, all without writing code. Here's a brief overview of how to get started:RequirementsTo use Parsagon, you must have an up-to-date version of Google Chrome and Python >= 3.8InstallationTo get started, install the Parsagon python package:pip install parsagonThen runparsagon setupand copy-paste your API key when prompted.You can view your API key by logging in and going tohttps://parsagon.io/settingsUsageFrom command line:# Create a program
parsagon create

# Run a program
parsagon run 'My program'

# List your programs
parsagon detail

# Delete a program
parsagon delete 'My program'From Python:import parsagon

# Create a program
parsagon.create('Go to https://www.google.com/. Type "the meaning of life" into the search bar and hit enter. Scroll down and click the "More results" button 3 times. Scrape data in the format [{"search result title": "str", "link": "link"}].')

# Run a program
parsagon.run("My program")

# Run a program multiple times
parsagon.batch_runs("My batch name", "My program", runs=[{"variable_name": "value1"}, {"variable_name": "value2"}, ...])

# List your programs
parsagon.detail()

# Delete a program
parsagon.delete("My program")Seethe docsfor more information.
Package: parsagon-server
parsagon-serverTo install on Ubuntu 20:sudo apt update
sudo apt install -y python3-pip
sudo apt install -y python3-venv

python3 -m venv parsagon-venv
source parsagon-venv/bin/activate
pip install parsagon-server
parsagon-server <paste your api_key here>For development:
Make sure to include the test server as a second argument to parsagon-server:parsagon-server <api_key> <test_server>To add a proxy:
Edit /etc/tinyproxy/tinyproxy.conf to point to your proxy, then run:sudo service tinyproxy restartand addPROXY=127.0.0.1:8888todaphne.sh,page_cache.sh, andcelery.shand restart those tasks as well.
Package: parse-1c-build
Утилита для разборки и сборкиepf-,erf-,ert- иmd-файловЧто делаетПри установке пакета в каталоге скриптов интерпретатора Python создаётся исполняемый файлp1cb.exe. Его можно
запустить с командойparseдля разборкиepf- иerf-файлов с помощьюV8ReaderилиV8Unpack,ert- иmd-файлов с помощьюGComp, или с командойbuildдля сборкиepf- иerf-файлов с помощьюV8Unpack,ert- иmd-файлов с помощьюGComp.Пути к сервисной информационной базе,V8Reader.epf,v8unpack.exeи GComp указываются в файле настроекsettings.yaml, который сначала ищется в текущем каталоге, затем в каталоге данных приложения пользователя
(в Windows 10 каталогC:\Users\<Пользователь>\AppData\Roaming\util-1c\parse-1c-build>), а затем в общем каталоге
данных приложения (в Windows 10 каталогC:\ProgramData\util-1c\parse-1c-build>). Если путь к платформе
1С:Предприятие 8 в файле настроек не указан, то он ищется автоматически.ТребованияWindowsPython 3.10 и выше. Каталоги интерпретатора и скриптов Python должны быть прописаны в переменной окружения PathДля работы сepf- иerf-файлами:Платформа 1С:Предприятие 8.3, сервисная информационная база (в которой будет запускатьсяV8Reader.epf) иV8ReaderV8UnpackДля работыert- иmd-файлами:GCompУстановкаpipx install parse-1c-build
Package: parse2docs
Parse 2 Docsparse2docsis a Python library that allows you to automatically generate usage documentation in Markdown format from Python scripts using theargparsemodule.FeaturesScans the Python script for instances ofargparse.ArgumentParser.Generates a Markdown file with usage documentation based on theArgumentParserobject.The generated documentation includes a table of contents, descriptions of each command line argument, and examples if provided.Works withArgumentParserinstances declared at the module level or returned by functions.Installationparse2docscan be installed viapip:pipinstallparse2docsUsageThere are two ways to use parse2docs, either as a Python module in your script or directly from the command line using the provided command.As a Python moduleimportparse2docs# Path to the Python scriptscript_path='path_to_your_python_script.py'# Generate markdown documentationmarkdown=parse2docs.generate_md_from_py_script(script_path)# Save the markdown to a .md filewithopen('output.md','w')asf:f.write(markdown)This will generate aoutput.mdfile with the usage documentation in Markdown format.From the command lineDescriptionThe following usage section was generated usingparse2docs😉:## Overall Usage Example`example.py <file_path>`## Table of Contents*[file_path](#file_path)## Options### file_pathPath to the Python script file containing the ArgumentParser.**Type**:`Path`**Required**: YesThis will print the usage documentation in Markdown format to the console.TestingWe usepytestfor testing. Run the tests with the following command:python-mpytesttests/ContributingContributions toparse2docsare welcome and awesome! Please submit a pull request or open an issue to discuss potential changes or improvements.
Package: parse2syncano
This tool will help you to move your data from Parse to Syncano.Installationpip install parse2syncanoUsageCurrently supports only transferring data. This tool takes the Parse schemas and transform them to Syncano classes.
Next step is to move all of the data between Parse and Syncano. The last step is rebuilding the relations between
objects.Configurationparse2syncano configureWill run the configuration that will ask you for the following variables:PARSE_MASTER_KEY: the master key of your PARSE account;PARSE_APPLICATION_ID: the application ID of the application that you want to transfer;SYNCANO_ADMIN_API_KEY: Syncano Account Key;SYNCANO_INSTANCE_NAME: the Syncano instance name to which the transfer will be made;SYNCANO_APIROOT: will not show as it has a default equal to:https://api.syncano.io/parse2syncano configurecommand will take following parameters:-c (–current) which will display the current configuration;-f (–force) which allow to override the previously set configuration;The configuration will be stored in your home directory in .syncano file under the P2S section.
It’s used to call the Parse API and Syncano API as well.Run transferparse2syncano syncThis command will run the synchronization process between Parse and Syncano. Sit comfortably in your chair and read
the output.Tips & TroubleshootingThis tool currently does not support checking if some object is already present in the Syncano instance,
so if sync is run twice the end results is that data is duplicated. To avoid such cases,
simply remove your instance in using Syncano dashboard;The process can be quite slow - it’s because of the throttling on both sides: Parse and Syncano on free accounts
(which is the bottom boundary for scripts);If you encounter any problems, have some improvements proposal or just wanna talk,
please write me:sebastian.opalczynski@syncano.com;The Syncano can be found on - please do not hesitate to ask for help or share your thoughts;Github:https://github.com/Syncano/Gitter:https://gitter.im/Syncano/communityhttps://gitter.im/Syncano/community-plSlack:http://syncano-community.github.io/slack-invite/
Package: parseaia
Parse .AIAThis is a python library for extracting code, UI data, images and assets from .AIA files (App InventorProjects).Basic ExplanationThe library works by extracting all of the data from an app inventor project. The one class you'll need isparseaia.Project, it represents one app inventor project.Quick Example:fromparseaiaimportProjectmyproject=Project("MyApp.aia")# Initiate a Project with the filepath to the .aiaprint(myproject.Screen1.UI.Properties.Components)# Printing out all the UI elementsThis example prints out all the UI elements in the screen "Screen1" (The default screen name when you create an app in app inventor, most apps will have it)GUIThere is also an inspector GUI for exploring app inventor projectsYou'll need PyQt5 to run it:pip install PyQt5Then you can run:python -m parseaiaTo open a file, just press File>Open and then select the .aia you want to openTODOAdd some more error catchingAdd support for video filesLinksDocumentationPyPI
Package: parsealot
✨ The parsealot package. ✨WIP: this project will be implemented in the next time.💫ParsealotA Python project template.Some description comes here.The source for this project is available here.💿 InstallationTo install it with pip run:pip install parsealot.To install this package locally for development, clone it first usinggit clone https://github.com/leahevy/parsealotand run:pip install -e .[dev].For installation of the latest version you can install it with pip directly fromGitHubwith the command:pip install git+https://github.com/leahevy/parsealot.git.💡 Shell completionFor shell completion run one of the appropriate commands:parsealot --install-completion=bashparsealot --install-completion=zshparsealot --install-completion=fish⌨️ CommandsThe following commands are available:lib1Calls an example library function.lib2Calls another library function.📖 DocumentationThe documentation is available athttps://leahevy.github.io/parsealot.👥 ContributingWant to add a contribution toparsealot? Feel free to send apull request.See alsohere.🎓 LicenseCopyright (C) 2022 Leah LacknerThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/.
Package: parse_apache_configs
# parse_apache_configs
A simple python library that will parse apache configs and convert them to a python data structure.parse_apache_configsA simple python library that will parse apache configs and convert them to a python data structure.
This will then allow the configs to be manipulated programatically.Main FunctionsTo use:fromparse_apache_configsimportparse_configParse the apache config via file path, and return a python object representation:apache_parse_obj=parse_config.ParseApacheConfig(apache_config_path="/some/path/to/file")apache_config=apache_parse_obj.parse_config()or to parse the apache config as a string:apache_parse_obj=parse_config.ParseApacheConfig(apache_file_as_string=apache_string_obj)apache_config=apache_parse_obj.parse_config()Now you can use the apache_config object to manipulate the apache config.To add or override an existing directive and return the result:apache_config=apache_parse_obj.add_directive(apache_config,"SomeDirectiveName","SomeDirectiveArguments","<VirtualHost *:80>")The code above will add the line “SomeDirectiveName SomeDirectiveArguments” under <VirtualHost *:80>. If the directive
is already there, then it’s arguments will be overridden.
Keep in mind that directives in nested tags can also be added/overridden, but their full “path” must be fed into
add_directive. For example, given the following apache file:<VirtualHost*:80>ServerNameexample.orgServerAlias*.example.orgErrorLog/var/log/httpd/example.errDocumentRoot/var/www/example.org<Directory"/var/www/example.org">Orderallow,denyAllowfromall</Directory></VirtualHost>To override the “Order” directive under <Directory “/var/www/example.org”>, the invocation to add_directive would look like this:apache_config=apache_parse_obj.add_directive(apache_config,"Order","deny,allow","<VirtualHost *:80>","<Directory "/var/www/example.org">")To convert the apache_config object into a printable string:apache_config_string=apache_parse_obj.get_apache_config(apache_config)printapache_config_string
Package: parseargs
ParseArgsA simple, intuitive way to parse command line arguments. Simply make a function, and call parseargs on it.parses data types through annoations (annotations not required for string arguments)parses positional arguments into positional cli arguments with the same nameparses optional keyword arguments by adding them as optional cli argumentsparses annotated arguments and uses the native cli specification for typesadds a description of the command by using the signature of the method.Examplein fun.py:fromparseargsimportparseargsdeffun(firstname,lastname:str,number:int=5):print(f"Hello{firstname}{lastname}")print(f"Your number is{number}")number*=2print(f"Twice your number is{number}")parseargs(fun)Now on the command line, you can do:$pythonfun.pyrickybobby--number5Notice how it will print out 10. If you remove the annotation declaring the number an int, it will instead print out 55, because it will interpret it as a string.We can get the method signature with:$ python fun.py -h
usage: fun.py [-h] [-n NUMBER] firstname lastname

signature = (firstname, lastname: str, number: int = 5)

positional arguments:
  firstname
  lastname

optional arguments:
  -h, --help            show this help message and exit
  -n NUMBER, --number NUMBER
Package: parse-args
Pixelsuft Parse ArgumentsParse Command Line Arguments From StringChange LogAddedsetFunction For Getting String From ArgumentsExamplefrom parse_args import get as get_args
from parse_args import set as get_str
print(str(get_args('   test.exe /f /m --file "lol lol.txt"   --test 1 2')))
print(get_str(['test.exe', '-F', 'test.txt lol']))Output:['test.exe', '/f', '/m', '--file', 'lol lol.txt', '--test', '1', '2']"test.exe" "-F" "test.txt lol"
Package: parse-aria-control-file
aria-control-file-parserParsearia2ccontrol files from the command line.The.aria2(Control File) contains the hash info of the magnet link, so we can parse the file to get the original magnet link. This allows you to resume the download where it left off if it was cancelled or interrupted.Seethis issue.# ================================================================
#  0                   1                   2                   3
#  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
# +---+-------+-------+-------------------------------------------+
# |VER|  EXT  |INFO   |INFO HASH ...                              |
# |(2)|  (4)  |HASH   | (INFO HASH LENGTH)                        |
# |   |       |LENGTH |                                           |
# |   |       |  (4)  |                                           |
# +---+---+---+-------+---+---------------+-------+---------------+
# |PIECE  |TOTAL LENGTH   |UPLOAD LENGTH  |BIT-   |BITFIELD ...   |
# |LENGTH |     (8)       |     (8)       |FIELD  | (BITFIELD     |
# |  (4)  |               |               |LENGTH |  LENGTH)      |
# |       |               |               |  (4)  |               |
# +-------+-------+-------+-------+-------+-------+---------------+
# |NUM    |INDEX  |LENGTH |PIECE  |PIECE BITFIELD ...             |
# |IN-    |  (4)  |  (4)  |BIT-   | (PIECE BITFIELD LENGTH)       |
# |FLIGHT |       |       |FIELD  |                               |
# |PIECE  |       |       |LENGTH |                               |
# |  (4)  |       |       |  (4)  |                               |
# +-------+-------+-------+-------+-------------------------------+
#
#         ^                                                       ^
#         |                                                       |
#         +-------------------------------------------------------+
#                 Repeated in (NUM IN-FLIGHT) PIECE times

# More information available at:
# https://aria2.github.io/manual/en/html/technical-notes.html
# ================================================================How to Usepython3aria2_parser.pydahufa.aria2With multiple files or with a directory:python3aria2_parser.pydahufa.aria2dahufa.aria2./folderReadingaria2files from folder recursively:python3aria2_parser.py./-rBuildpython3setup.pybuild
python3setup.pyinstall
Package: parse-bank-statements
This python GUI-based tool allows to browse bank statements, or any column-structured PDF files, if the format is rigid.The app expects a directory structure of the type:<bank_statements_path>/2018<bank_statements_path>/2019<bank_statements_path>/2020
and the statements to be PDF.The package allows to parse several bank accounts. Each bank has its <bank_statements_path>, this can be stored from the GUI and will be loaded on future usage.Docu athttps://www2.ipp.mpg.de/~git/pbs/index.htmlPDF files are converted (una tantum) into CSV, based on the open source java-based package tabula-py (seehttps://pypi.org/project/tabula-py). If you do not need this conversion because you have csv's, you do not need tabula_py.Supported banks: SSKM-Gyrokonto, Ing.Diba, SSKM-Visa-Kreditkarte, KSKMSEUsage:pip install parse_bank_statementsEdit bank_path.py, inserting the actual full paths containing the bank statements (excluding the years' subdirs) <bank_statements_path1>, <bank_statements_path2>, ...pythonfrom parse_bank_statements import parse_statements as pbs
pbs.pbs_gui()
Package: parsec-cloud
ParsecHomepage:https://parsec.cloudDocumentation:https://parsec-cloud.readthedocs.org.Parsec allows you to easily share your work and data in the cloud in total
privacy thanks to end-to-end cryptographic security.Key features:Works as a virtual drive on you computer. You can access and modify all the data
stored in Parsec with your regular software just like you would on your local
hard-drive.Never lose any data. Synchronization with the remote server never destroy any
data, hence you can browse data history and recover from any point in time.Client-side cryptographic security. Data and metadata are only visible by you
and the ones you choose to share with.Cryptographic signature. Each modification is signed by it author making trivial
to identify modifications.Cloud provider agnostic. Server provides connectors for S3 and swift object storage.Simplified enrollment. New user enrollment is simple as sharing a link and a token code.Installation methodsWindows installerWindows installers are available athttps://github.com/Scille/parsec-cloud/releases/latestLinux SnapAvailable for Linux through Snapcraft athttps://snapcraft.io/parsecSelf-hostedIf you want to self-host a Parsec server, take a look atHosting a Parsec server
Package: parsecdi
ParseCDIAn (unofficial) library for parsing the output of Crystal Disk Info.
Be sure to install Crystal Disk Info before trying to use.Installationpip install parsecdiLive API Example# Run as admin for best experience

In [1]: from parsecdi import CrystalDiskInfo

# This actually fetches info from Crystal Disk Info on the current system
In [2]: ds = CrystalDiskInfo.get().get_disks()
# If you wanted to parse an existing output file, use:
# ds = CrystalDiskInfo(None).get_disks(pathlib.Path(<FILE>))

In [3]: ds
Out[3]:
[<Disk - Samsung SSD 980 PRO 1TB - S5P2NG0NB05964V - 1000.2 GB>,
 <Disk - WDS100T3X0C-00SJG0 - 20379E802164 - 1000.2 GB>]

In [4]: d = ds[0]

In [5]: d.model
Out[5]: 'Samsung SSD 980 PRO 1TB'

In [6]: d.firmware
Out[6]: '5B2QGXA7'

In [7]: d.health.status
Out[7]: 'Good'

In [8]: d.health.percent
Out[8]: 87

In [9]: d.health.smart
Out[9]:
(DiskSMARTAttribute(id=1, name='Critical Warning', raw=0, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=2, name='Composite Temperature', raw=325, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=3, name='Available Spare', raw=100, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=4, name='Available Spare Threshold', raw=10, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=5, name='Percentage Used', raw=13, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=6, name='Data Units Read', raw=151350782, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=7, name='Data Units Written', raw=264526622, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=8, name='Host Read Commands', raw=5047763158, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=9, name='Host Write Commands', raw=7843108273, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=10, name='Controller Busy Time', raw=19141, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=11, name='Power Cycles', raw=663, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=12, name='Power On Hours', raw=3451, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=13, name='Unsafe Shutdowns', raw=36, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=14, name='Media and Data Integrity Errors', raw=0, current=None, worst=None, threshold=None),
 DiskSMARTAttribute(id=15, name='Number of Error Information Log Entries', raw=0, current=None, worst=None, threshold=None))Seehttps://csm10495.github.io/parsecdi/for full API documentation.LicenseMIT License
Package: parsechain
A way to parse html fluently and as declarative as possible. This is inalpha stagenow, things will change.Installationpip install parsechainUsageimportrequestsfromparsechainimportC,Response# Fetch html and cast itresponse=Response.cast(requests.get(...))# Get a movie title and ratingtitle=response.css('h1 .title').textrating=response.css('.left-box').inner_text.re(r'IMDb: ([\d.]+)').float# Or bothmovie=response.root.multi({'title':C.css('h1 .title').text,'rating':C.css('.left-box').inner_text.re(r'IMDb: ([\d.]+)').float,})The last example could be extended to show chains reuse:defby_label(label):returnC.css('.left-box').inner_text.re(fr'{label}: ([\w.]+)')parse_movie=C.multi({'title':C.css('h1 .title').text,'rating':by_label('IMDb').float,'status':by_label('Status').trim,})movie=parse_movie(response.root)# Pass a root of a treeThe complete list of available ops could be seen inparsechain.chains.Opsclass. Proper documentation to follow, some day ;)
Package: parsedan
Parsedan-Report Bug·Request FeatureAbout The ProjectThis project was writen to download data from shodan's api, parsing it, and scoring it. In its current state it uses a sqlite database to store objects. Every run of Parsedan will save to this database, so for example, you can run the program once a week and build a database of computers with scores for a given query.If you simply want to run the script for a one time use, from a fresh database, run with the command --reset-db.(back to top)Getting StartedPrerequisitesThis pacakge was built for python 3.6+.python 3.6+
Seehttps://www.python.org/InstallationInstall ParsedanpipinstallparsedanGet a shodan API Key athttps://developer.shodan.io/api/requirementsInitalize parsedan with your keyparsedaninitAPI_KEY(back to top)UsageWIP(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)ContactStephenson Disaster Management Institute at Louisiana State University -sdmidev@lsu.eduProject Link:https://github.com/SDMI-Developers/parsedan(back to top)