Saravanan666/pypi-org huggingface dataset:
Package: wozoxutils
wozoxutilsgeneral-purpose library for Python that contains various commonly used functional modules.InstallationpipinstallwozoxutilsUsagefromwozoxutilsimportload_json,save_json,load_yaml,save_yaml,calculate_md5_for_file,calculate_md5_for_files# jsonjson_obj={'foo':'bar','int':1}save_json('tests/foo.json',json_obj)json_obj=load_json('tests/foo.json')print(json_obj['foo'])# barprint(json_obj['int'])# 1# yamlyaml_obj={'foo':'bar','int':1}save_yaml('tests/foo.yaml',yaml_obj)yaml_obj=load_yaml('tests/foo.yaml')print(yaml_obj['foo'])# barprint(yaml_obj['int'])# 1# md5calculate_md5_for_file('tests/foo.json')# eb7a203770342c5d4336d41cf1d7c05bcalculate_md5_for_files(['tests/foo.yaml','tests/foo.json'])# 1e073343d8616c486391901bdd41a7af
Package: wozpy
#wozpyPythonpackage to get data from wozwaardeloket.nlInstall:poetry add wozpyUsage:from wozpy.woz import woz

woz.get_woz_value({"postcode": "3645AE", "house_number": "141", "house_number_extension": "d"}Result:[
    {
        "wozObject": {
            "wozobjectnummer": 73600001066,
            "woonplaatsnaam": "Vinkeveen",
            "openbareruimtenaam": "Baambrugse Zuwe",
            "straatnaam": "Baambrugse Zuwe",
            "postcode": "3645AE",
            "huisnummer": 141,
            "huisletter": "D",
            "huisnummertoevoeging": null,
            "locatieomschrijving": null,
            "gemeentecode": 736,
            "grondoppervlakte": 9905,
            "adresseerbaarobjectid": 736010000104061,
            "nummeraanduidingid": 736200000104061,
            "verbondenAdresseerbareObjecten": [
                736010000104061,
                736010000104220
            ],
            "ontleendeAdresseerbareObjecten": [
                736010000104061
            ]
        },
        "wozWaarden": [
            {
                "peildatum": "2022-01-01",
                "vastgesteldeWaarde": 16342000
            },
            {
                "peildatum": "2021-01-01",
                "vastgesteldeWaarde": 5383000
            },
            {
                "peildatum": "2020-01-01",
                "vastgesteldeWaarde": 3923000
            },
            {
                "peildatum": "2019-01-01",
                "vastgesteldeWaarde": 3741000
            },
            {
                "peildatum": "2018-01-01",
                "vastgesteldeWaarde": 3383000
            },
            {
                "peildatum": "2017-01-01",
                "vastgesteldeWaarde": 2249000
            },
            {
                "peildatum": "2016-01-01",
                "vastgesteldeWaarde": 1479000
            },
            {
                "peildatum": "2015-01-01",
                "vastgesteldeWaarde": 2237000
            },
            {
                "peildatum": "2014-01-01",
                "vastgesteldeWaarde": 2237000
            }
        ],
        "panden": [
            {
                "bagpandidentificatie": 736100000216431
            }
        ],
        "kadastraleObjecten": [
            {
                "kadastraleGemeenteCode": "VKV00",
                "kadastraleSectie": "A",
                "kadastraalPerceelNummer": "3744"
            },
            {
                "kadastraleGemeenteCode": "VKV00",
                "kadastraleSectie": "A",
                "kadastraalPerceelNummer": "4112"
            }
        ]
    }
]
Package: wp2github
Command-line tool that converts WordPress-style Readme file to GitHub
Markdown Readme.Inspired byhttps://github.com/benbalter/WP-Readme-to-Github-MarkdownRequirementsPython 2.7Installationpython setup.py installAlso you may use pip:pip install wp2githubThis will create awp2githubscript in /usr/local/bin (linux) or
c:2.7(windows)UsageSee:wp2github-hFor example:wp2github --source SOURCE.txt --target TARGET.mdVersioningThis project implements the Semantic Versioning guidelines.Releases will be numbered with the following format:<major>.<minor>.<patch>And constructed with the following guidelines:Breaking backward compatibility bumps the major (and resets the minor
and patch)New additions without breaking backward compatibility bumps the minor
(and resets the patch)Bug fixes and misc changes bumps the patchFor more information on SemVer, please visithttp://semver.org.LicenseCopyright (c) 2013 Sergey Storchay,http://r8.com.uaLicensed under MIT:https://raw.github.com/r8/wp2github.py/master/LICENSE.txtChangelog1.1.3Add line break between screenshot image and description1.1.0Convert screenshots section
Package: wp2hugo
wp2hugoThis Python module helps you convert a WordPress WXR file to MD files.The MD files can then be used to start up a Hugo site, making this module an important first step if you want to convert your WordPress site to Hugo.DescriptionThe module has two run modes:createandstats.Run modecreatewill open your WXR XML file and create the required MD files.Run modestatswill dump some quick statistics about the WXR XML file, including number of posts, number of pages, number of tags and number of categories.InstallationInstall the module using pip.pip3installwp2hugoUsageCreateTo create the MD files, usecreate.wp2hugo create <xmlfile> --outdir <directory> --lowercasetagsParameters:<xmlfile>Path to the WXR XML fileRequired: yes--outdir <directory>Path to the output directory, will be created if not existingDefault: ./outRequired: no--lowercasetagsWhether or not to convert tags from WXR files to lowercaseDefault: falseRequired: nostatsTo display statistics about the WXR file, usestats.wp2hugo stats <xmlfile>Parameters:<xmlfile>Path to the WXR XML fileRequired: yesCreate export fileThe WXR export can be created using one of two methods:export from the WordPress web dashboardexport made from using theWP CLItoolWordpress web dashboardFollow these steps to create the export.Log in to your WordPress siteGo toTools -> ExportEnsure thatAll contentis selectedClick theDownload Export FilebuttonYour web browswer will now download the generated export file.WP CLI toolSetting up and using the WP CLI tool is outside the scope of this README, but please consult thedocumentation.It is fairly straightforward, and requires either console access to where the WordPress files are located, or access via SSH.CreditsThis Python module is heavily based on thewxr2mdmoduleby Dion Susanto. A huge thanks go out to him for his work.LicenseMITAuthorThis module was created byJostein Elvaker Haande.
Package: wpa2slow
wpa2slowwpa2slow is a full Python implementation of the WPA2 encryption algorithm, using no encryption libraries.Project goalsThis project grew out of the FPGA implementation of WPA2 [here](https://github.com/JarrettR/FPGA-Cryptoparty), as a platform for regression testing and experimentation.WPA2 requires three or four different algorithms to calculate a final password, depending on how you count them.There is a fair amount of discussion on these functions in [this](http://jrainimo.com/build/?cat=6) category of my site.The entire goal was to have intermediate steps of the algorithms to compare with the VHDL implementation.
Perhaps this will be useful to someone else.BenchmarksHash speed of my general purpose computer; 2,000 keys / secondHash speed of a Raspberry Pi 1: 45 keys / secondHash speed of this project: 0.25 keys / secondSounds great! How can I get started?You should be able to usepip install wpa2slowand it will magically work.
Alternatively, clone this repo, and then from this directory, typepip install .Checkmain.pyfor examples and test cases.Can read and parse capture files in [hccap](https://hashcat.net/cap2hccap/) format, outputting the required inputs.Further readingAnnouncement postGitHubReadTheDocsPyPi
Package: wpa_config
NAMEwpa_config - a small config manager for wpa_supplicantDESCRIPTIONwpa_config makes configuration of wpa_supplicant - the only sane way to use
WLAN networks - a lot simpler. One of the only drawbacks of using bare
wpa_supplicant when compared to unwieldy bloatware like NetworkManager, is the
fact that mucking around in a single, large config file for all networks can
be quite cumbersome.With wpa_config, every network is its own file in a folder, as are the options
for the wpa_supplicant. It simply merges all these files into a single file,
which then becomes your wpa_supplicant.conf. It also provides utility functions
for quickly generating new entries.wpa_config does not manage the operation of wpa_supplicant. It’s a config
manager, not a network manager. It might add a facility to restart
wpa_supplicant using your init system in the future.FILESwpa_config uses three primary config files and a directory for network
configurations. All of these are located in the CONFIG_ROOT directory, which by
default is /etc/wpa_config.wpa_config.confThe configuration file for wpa_config itself. There are no settings so far, but
there might be some in the future (for example, choice of init system to
restart wpa_supplicant).wpa_supplicant.conf.headThis file contains settings for wpa_supplicant, for example the ctrl_interface
or the eapol_version.wpa_supplicant.conf.tailThis file is appended to the generated config. It’s a great way to migrate your
currently configured networks, no need to reconfigure them.networks.d/This directory contains the configurations for the single networks. Every file
in it should be in the form “${SSID}.conf”.COMMANDSwpa_config has severeal subcommands which do all the work.addCreate a new file in the network directory. Currently, this only works for WPA
secured and open (unencrypted) networks. Specifying more options ( WEP, ad-hoc,
etc) will be added later.delDelete a network in the network directory, if it exists.showPrint the configuration of a network.editOpen an editor (specified by the EDITOR environment variable) to change the
config of a network.listList all networks configured through wpa_config. Note that this does not list
networks configured in wpa_supplicant.conf.tail.makeMerge all config and network files into wpa_supplicant.conf, writing it to
WPA_SUPPLICANT_CONFIG (usually /etc/wpa_supplicant/wpa_supplicant.conf).migrateMigrate your old wpa_supplicant.conf to wpa_config. This extracts all
configured (and uncommented) networks from wpa_supplicant.conf, and creates
single config files in the networks.d/ directory for them. This strips all
comments, so be careful.helpShow a help message. Same as specifying -h or –help.SEE ALSOwpa_supplicant(8)wpa_supplicant.conf(8)
Package: wpadmin
wpadmin is a Python module for managing WordPress installations from the
command line. Inspiration comes from both django-admin.py andWP-CLI.Installing$ pip install wpadminUsageFrom the root of your WordPress project (directory containing wp-load.php):$ wpadmin starttheme [--classic] my-theme-nameThestartthemecommand will create the following directory structure
within the wp-contents/themes/ directory:- my-theme-name
  - templates/
    - base.twig
  - static/
    - css/
    - images/
    - js/
  - 404.php
  - functions.php
  - index.php
  - README.md
  - style.cssThe above structure assumes you will be using the Twig template engine via
theTimberplugin. Thestartthemecommand with the--classicoption
will create the following directory structure within the wp-contents/themes/
directory:- my-theme-name
  - css/
  - images/
  - js/
  - 404.php
  - functions.php
  - index.php
  - README.md
  - style.cssTo create a plugin skeleton:$ wpadmin startplugin my-plugin-nameThestartplugincommand will create the following directory structure
within the wp-contents/plugins/ directory:- my-plugin-name
  - my-plugin.name.php
  - README.md
Package: wparc
wparc is a command line tool used to backup data from Wordpress based websites.
It uses /wp-json/ API provided by default Wordpress installation and extracts all data and media filesContents1Main features2Installation2.1Any OS2.2Python version3Usage4Commands4.1Dump command4.2Getfiles command1Main featuresData extractionDownload all media files2Installation2.1Any OSA universal installation method (that works on Windows, Mac OS X, Linux, …,
and always provides the latest version) is to use pip:# Make sure we have an up-to-date version of pip and setuptools:$pipinstall--upgradepipsetuptools$pipinstall--upgradewparc(Ifpipinstallation fails for some reason, you can tryeasy_install wparcas a fallback.)2.2Python versionPython version 3.6 or greater is required.3UsageSynopsis:$wparc[command][flags]See alsopython-mwparcandwparc [command]--helpfor help for each command.4Commands4.1Dump commandDumps all data routes listed in /wp-json/ API endpointDumps all data from “https://agentura.ru” website$wparcdump--domainagentura.ru4.2Getfiles commandDownloads all media file listed in “wp_v2_media.jsonl” file that should be dumped using command “dump”Downloads all media from “dissident.memo.ru” website$wparcgetfiles--domaindissident.memo.ru
Package: wpath
wpathwpath: a package help add project workspace to python search path and other many small toolspython开发的一系列小工具,核心功能：自动将当前项目的工作目录添加到python搜索包工作目录的定义是：该目录下面有常见的项目级文件：.env,.gitignore,package.json,go.mod,go.sum,tsconfig.json将某个目录添加到搜索目录wpath.add("your folder path")彩色 print红：print_r，绿：print_r,蓝:print_b,黄：print_y,粉：print_m,黑:print_k,白:print_w字典格式打印 print彩色日志处理模块 log时间处理模块 time代码调试模块 codeInstallgitclonehttps://github.com/aeneashe/wpathcdwpath
pythonsetup.pyinstallorpipinstallwpathEnv fileadd one of flags [".env",".gitignore",".git","package.json"]  into your project workspace.Useageauto detect workspace folderimportwpathshow workspace folderimportwpath# this will add your workspace to python path# by default, wpath will search parent folder which has an '.env' file as workspace flag# show project workspace,# if not found the flag, wpath.workspace() will return Noneprint(wpath.workspace())use your own flag as project folder root flagimportwpath# change default flagwpath.reset(['.gitignore'])print(wpath.workspace())color printfromwpathimportprint_r,print_g,print_bprint_r("red txt")print_g("green txt")print_b("blue txt")time toolfromwpathimporttoday,now,yesterdayprint(today())print(now())print(yesterday())log toolfromwpathimportColoredLoggerlogging.setLoggerClass(ColoredLogger)# use file name as logname, you can use any str as logname# logname=__file__# logname=__name__# logname="module"logname="test log"log=logging.getLogger(logname)log.setLevel(logging.DEBUG)log.debug("test debug")log.info("test info")log.warning("test warning")log.error("test error")log.critical("test critical")
Package: wpaudit
<p align=”center”></p>### DescriptionWP Audit is an open source multi-cloud security-auditing tool, which enables security posture assessment of cloud environments. Using the APIs exposed by cloud providers, WP Audit gathers configuration data for manual inspection and highlights risk areas. Rather than going through dozens of pages on the web consoles, WP Audit presents a clear view of the attack surface automatically.WP Audit was designed by security consultants/auditors. It is meant to provide a point-in-time security-oriented view of the cloud account it was run in. Once the data has been gathered, all usage may be performed offline.### Cloud Provider SupportThe following cloud providers are currently supported:Amazon Web ServicesMicrosoft AzureGoogle Cloud PlatformAlibaba Cloud (alpha)Oracle Cloud Infrastructure (alpha)## InstallationRefer to the [wiki](https://github.com/wperic/wpaudit/wiki/Setup).## Usage
Package: wpbackup2
py-wordpress-backupA Python package for backing up and restoring a self-hosted WordPress installation, including the database and uploaded content.The backup file will contain:Your database as a MySQL dump.An exact copy of your entire WordPress directory.The restore process will:Extract the files into the correct locationUpdatewp-config.phpwith new settings (if needed)Create the database if it doesn't existAdd the user and grant it access if it doesn't existRestore the databaseCreditCredit for the original version of this goes toCariad Eccleston.TODOUnit tests.Handlewp-config.phpbeing somewhere other than the default location.Installationpipinstallwpbackup2UsageTo backup:python3 -m wpbackup2 backup --wp-dir /www/wordpress --archive ~/backup.tar.gzNote that the current release ofpy-wordpress-backupexpectedwp-config.phpto exist within your WordPress directory, and will use it to read your database credentials to perform the backup. Keeping yourwp-config.phpfile in this locationmightnot be the best practice, and I'll likely handle this in a future update.To restore using database admin credentials held in AWS Secrets Manager:python3-mwpbackup2restore--wp-dir/www/wordpress--archive~/backup.tar.gz--admin-credentials-aws-secret-idAdminUserSecretID--admin-credentials-aws-regioneu-west-1To restore with specified database admin credentials:python3-mwpbackup2restore--wp-dir/www/wordpress--archive~/backup.tar.gz--admin-useradmin--admin-passwordtrustno1--new-site-urlhttps://new.site.url--new-site-hosthttps://new.site.url--new-db-host--new-db-port3306--new-db-namenew-wordpress-db-nameDevelopmentimportwpbackup2wp=WpBackup()wpbackup('path to wordpress','archive name')Prerequisitespy-wordpress-backup requires Python 3.6 or newer.Installing dependenciespipinstall-e.[dev]
Package: wpc
Work Pay CalculatorWPC is a light-weight, highly configurable and easy to use library with a minimal CLI, with the objective of manage your work (hours and costs) and emit invoices.Free software: GNU General Public License v3Documentation:https://wpc.readthedocs.io.WIPStart seeing the full documentation file (out/wpc.pdf) in theproj/specsfolder.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-11-18)First release on PyPI.
Package: wpcEXEbuild
InstallationInstallwpcsysfrom PyPI:$ pip install wpcsysQuick StartOpen a command prompt/shell window, and navigate to the directory where your .py file is located, then build your app with the following command:$ wpcEXEbuild your_program.pywpcEXEbuild will generate a.specfile. You can run it at first.
If you want to add something such as icon or picture, you can edit your .spec file.Use wpcEXEbuild for one file$ wpcEXEbuild your_program.pyIf you want to modify something such as changing icon or picture, you can edit .spec file directly then use following command:Use .spec file$ pyinstaller main.spec
Package: wp-client-aio
wp-client-aioWordPress REST API Python Client based on aiohttp libraryInstallationpipinstallwp-client-aioUsageCreate new clientwp_client=WordpressRestApiClient(os.environ.get("URL"),os.environ.get("WP_USER"),os.environ.get("WP_PASS"))Call APIawaitasyncio.gather(wp_client.get(client,endpoint=2),wp_client.delete(client,endpoint=3),wp_client.get(client),wp_client.post(client,payload={"title":"Lorem Ipsum","content":"Lorem ipsum sit amet","status":"publish"}),wp_client.patch(client,endpoint=4,payload={"title":"Съешь ещё этих мягких французских булок",}),wp_client.put(client,endpoint=4,payload={"title":"съешь ещё этих мягких французских булок","content":"Да выпей чаю","status":"publish"}),)
Package: wpconfigger
wp-configrA Python package for reading and writing configuration values in a WordPresswp-config.phpfile.OverviewA defaultwp-config.phpmight look like this:<?phpdefine('DB_NAME','database_name_here');wpconfigrwill help you update the file to:<?phpdefine('SOMETHING_ENTIRELY_NEW','garnet');define('DB_NAME','my_blog');wpconfigrexposes two functions:set(key, value)will update a property of namekeyif it exists, otherwise will create it.get(key)will return the value of the property of namekey, orNoneif it doesn't exist.InstallationpipinstallwpconfigrCommand-line usageWriting values to wp-config.phpNamed parameters:--filename: Full path and filename of thewp-config.phpfile.--key: Name of the property to create/update.--value: String value to set.--set-true: Set the value to booleantrue.--set-false: Set the value to booleanfalse.--log-level: (Optional) Log level.python-mwpconfigr--filename/www/wp-config.php\--keyDB_NAME\--valuemy_blog\--log-levelinfoReading values from wp-config.phpAs above, but do not specify a value (via the--value,--set-trueor--set-falsearguments).python-mwpconfigr--filename/www/wp-config.php\--keyDB_NAMECode usageTo update a string holdingwp-config.phpcontent:fromwpconfigrimportWpConfigStringconfig=WpConfigString(config_string)config.set('DB_NAME','my_blog')updated_config_string=config.contentTo directly update awp-config.phpfile:fromwpconfigrimportWpConfigFileconfig=WpConfigFile(filename)config.set('DB_NAME','my_blog')# File is updated immediately after each property update.To read a property value:db_name=config.get('DB_NAME')DevelopmentPrerequisiteswp-configr requires Python 3.x.Installing dependenciespipinstall-e.[dev]Running testspythontest.pyChangelogv1.4 - 2018-12-06Fixed bug where commented properties were read and updated.v1.3 - 2018-12-02Added--set-trueand--set-falsecommand-line flags.v1.2 - 2018-12-02No longer re-writes the configuration file if nothing has changed.v1.1 - 2018-12-02Added logging.Test runs log everything.Running from the command-line logs onlyCRITICALby default, but can be overridden with the new optional--log-levelargument.Made the documentation a little clearer, and fixed a typo in a code sample.Replaced internal naming references toFRACTIONALwithFLOAT. The word utterly eluded me for v1.0.Fixed some code formatting and Pylint warnings.IgnorecoverageHTML reports in source control.v1.0 - 2018-12-01Initial release.
Package: wp-connector
Wp-connectorSimple donwloader for wp population data.importwpClient=wp.WP()Client.to_pandas("NLD","ppp_2020")InstallingWp-connector is available on PyPI:python -m pip install wp-connectorWp-connector is build for python 3.8+.Featuresdownload raster data from WorldPop Serverformat data to pandas dataframe