Saravanan666/pypi-org huggingface dataset:
Package: blogger-to-hugo
A tool to convert Blogger’s posts toHugoposts. It
also downloads images embedded inside blog posts.How to get blogger’s xml fileSettings –> Other –> Import & back up –> Back up content.How to installIt is a normal Python package. Install as you would install normal python
package.https://pip.pypa.io/https://packaging.python.org/tutorials/installing-packages/RequirementsInternalSeerequirements.txtfile inside repository. Usually packaging tools will
take care of that.Externalpandocmust be installed.
Package: bloggertool
This project contains single (and simple enough) console command named ‘blog’.
Typical usage scenario:
init project
$ blog init path/to/blog/articles
$ cd path/to/blog/articles
setup user
$ blog user –email <user@gmail.com> –blogid <id of blog at blogger.com>
make and edit article file
$ touch article.md
add post to local database
$ blog add article.md
open in browser locally generated html file for article.md
$ blog open article.md
set labels
$ blog label article.md –add “bloggertool, console, blogspot.com”
publish post on blosgspot.com
$ blog publish article.md
edit article.md making some changes
$ …
synchronize remote presentation with local md file
$ blog push article.mdFor other available commands please see
$ blog –help
Package: blogger-to-puput
Import your Blogger blog data into Puput.UsageInstall blogger2puput package and its dependenciespip install blogger2puputAddblogger2puputto yourINSTALLED_APPSinsettings.pyfile.Run the management command:python manage.py blogger2puput --blogger_blog_id=Your BlogID --blogger_api_key=Your APIKeyYou can optionally pass the slug and the title of the blog to the importer:python manage.py blogger2puput --slug=blog --title="Puput blog" --blogger_blog_id=Your BlogID --blogger_api_key=Your APIKey
Package: blogist
blogistGenerate personal blog posts from user's GitHub Gist.Install and usagePython3.7 neededpip install blogistblogist -n {GitHub_login_name}Your gists which file name has prefix '[blog]' with suffix '.md' will be downloaded in '_post/'. The prefix, suffix and directory can be customized.featuresbuild with CI/CD toolscomments are extract from gist commentsuse Jekyll, just like the default setting of GitHub PagesWhat can be extracted from Gist?post namecreated timeupdated timedescriptioncommontscategories [cate1,cate2,cate3...]user GitHub profile@ GitHub usersGitHubocticonsWhich one to choose?GeneratorJekyllHugoHexoLanguageRubyGoJavascriptThemeAlembicMinimalNexTSupport:tada::x::x:
Package: blogodev
Presents an auto-recompiling front end to a Blogofile 0.7.1 site.Just run:blogodev -vand you’ll get the functionality of “blogofile serve” combined with a modified Writer process
that scans the source directory and rebuilds if any files change.  Writes out to a temp
directory and copies files back, deleting those that are no longer present.Command line args are a tiny subset of that of Blogofile:usage: blogodev [-h] [-s DIR] [-v] [-vv] [PORT] [IP_ADDR]

positional arguments:
  PORT                  TCP port to use
  IP_ADDR               IP address to bind to. Defaults to loopback only
                        (127.0.0.1). 0.0.0.0 binds to all network interfaces,
                        please be careful!

optional arguments:
  -h, --help            show this help message and exit
  -s DIR, --src-dir DIR
                        Your site's source directory (default is current
                        directory)
  -v, --verbose         Be verbose
  -vv, --veryverbose    Be extra verboseMake sure that any scripts or filters in your Blogofile environment usebf.writer.output_dirto determine the destination of files, instead of hardcoding to_site.
Package: blog.policy
This package install policy policy.Installmake installRunmake runTestmake testContributorsBenoît Suttor,ben.suttor@gmail.comChangelog0.1b10 (2015-08-05)Remove old packages dependencies.
[bsuttor]0.1b9 (2015-08-04)Add upgrade step for removing addon no compatbile with Plone5.
[bsuttor]0.1b8 (2015-03-27)Add collective.atomrss dependency.
[bsuttor]0.1b7 (2015-03-23)Css update for blog_picture size
[bsuttor]0.1b6 (2015-01-27)Update css.
[bsuttor]0.1b5 (2014-12-19)Use max-width for content instead of width (responsive rule).
[bsuttor]0.1b4 (2014-12-16)Use plone.formwidget.captcha instead of collective.recaptcha.
[bsuttor]0.1b3 (2014-12-16)Add collective.recaptcha
[bsuttor]0.1b2 (2014-12-04)Update instalation scripts.
[bsuttor]0.1b1 (2014-11-30)Initial release.
[bsuttor]
Package: blog.post
This package is use to create a Plone blog siteSource code @ GitHubReleases @ PyPIDocumentation @ ReadTheDocsContinuous Integration @ Travis-CIHow it works…InstallationTo installblog.postyou simply addblog.postto the list of eggs in your buildout, run buildout and restart Plone.
Then, installblog.postusing the Add-ons control panel.ConfigurationYou can override plone logo.
Simply add an image on root of site namedbloglogo.png.Changelog0.1b4 (2015-08-04)Fix template for Plone 5.
[bsuttor]0.1b3 (2015-03-23)Add query path for folder blogs view.
[bsuttor]0.1b2 (2015-01-27)View image if image exists.
[bsuttor]Add logo overriding. Simply add an image on root of site namedbloglogo.png.
[bsuttor]First step add RSS adapter.
[bsuttor]0.1b1 (2014-11-30)Package created using mr.bob
[bsuttor]
Package: blogtool
This is an XMLRPC client for Wordpress blogs.  It is command-line, rather than
GUI, based and readsmarkdownformatted text files to post to a web log.  The
text files must also be formatted with a header, see theusage documentationfor details.In addition to support for posting, a number of blog related administrative
actions are supported like commenting, comment editting and moderation, post
deletion and so forth.  See thedocumentationfor a full description.The source forblogtoolliveshere.
Package: blogtopoid
blogtopoidThis is pre-alpha. Most things don’t work yet.blogtopoid is a blog generator - it takes a bunch of posts, renders them
to HTML and saves them to a web directory.StructureWork flow:take all documents from pagesdir, render them and save them to outputdir/.take all posts from inputdir, render and save to outputdir/YYYY/mm/dd/.
post filename must be “YYYYMMDD post title.ext”.generate index.html linking all posts.generate rss feed including all posts.generate listing pages for all used tags.pack and copy style files from style/ to outputdir/style/.Post formatsCurrently posts and pages can either be markdown2 or reStructuredText.In posts and pages{{blogurl}}gets replaced with blogurl from
config, in style files{{styleurl}}with blogurl/style.Usagepip install –pre blogtopoidrun blogtopoid –quickstartrun blogtopoidsee post-receive.example for automatically deploying from git
commits.TODOimplement –postTEST!make a shipable default templatepaginate index (not relevant with current index)check hashes
Package: blogutils
MyBlogUtilsMyBlogUtils is a Python package for managing blog content. It provides a set of utility functions for creating and managing blog posts, generating RSS feeds, and more.InstallationTo install MyBlogUtils, use pip:pip install myblogutilsUsageHere are some examples of how to use the functions provided by MyBlogUtils:from myblogutils import create_post,read_file, write_file, generate_slug,send_emailExample usage of write_file functionfilename = 'example.txt'
contents = 'This is some example text.'
write_file(filename, contents)Create a new blog posttitle = "This is a blogpost "
author = "Arvind Srivastav "
tags = ["Python", "Blogging","Blog"]
filename = create_post(title, author, tags)
print(f"New post created: {filename}")Functions
Here are the functions provided by MyBlogUtils:create_post-
create_post(title: str, author: str, tags: List[str]) -> strExample usage of generate_slug functiontitle = 'My First Blog Post'
slug = generate_slug(title)
print(slug)prints 'my-first-blog-post'Example usage of send_email functionto = 'recipient@example.com'
subject = 'New blog post'
body = f'A new blog post "{slug}" was published on {now}!'
send_email(to, subject, body)
Package: blohg
blohg is a simple and easy to use blog engine, that uses the Mercurial
SCM (or alternatively Git) as backend, to store the content of the posts
and pages.blohg doesn’t have a nice control panel nor WYSIWIG editors. All the
content is written using any text editor and reStructuredText with some
custom directives.Home Page:http://blohg.org/Documentation:http://docs.blohg.org/Mailing List:blohg@librelist.com
Package: blohg-tumblelog
A blohg extension with reStructuredText directives to run a tumblelog.How to installInstall it globally usingpip:$ pip install blohg-tumblelogOr copyblohg_tumblelog.pyto theext/directory of your blog’s
repository.To enable it, addtumblelogto theEXTESIONSlist inconfig.yaml.If you are running the extension from the blog repository, you’ll need to
addembedded_extensions = Trueto thecreate_app()call in yourWSGIendpoint.DirectiveslinkThis directive is used to share links. It will embed the content of the link to
the post automatically, if the provided link is from a service that supports
theoEmbedprotocol. If it isn’t, and the link is from
a HTML page, it will include the link with the title of the page to the post.
Otherwise it will just include the raw link to the post.Usage example:..link::http://www.youtube.com/watch?v=gp30v6XMxBgquoteThis directive is used to share quotes. It will create ablockquoteelement
with the quote and add a signature with the author name, if provided.Usage example:..quote:::author:MyselfThis is a random quote!chatThis directive is used to share chat logs. It will add a div with the chat log,
highlighted withPygments.Usage example:..chat::[00:56:38] <rafaelmartins> I'm crazy.[00:56:48] <rafaelmartins> I chat alone.
Package: blokus-rl
blokus-rlAPettingZoo-API-compatiblereinforcement learning (RL) environment for the strategy board gameBlokus.Installationpippip install -U blokus-rlPoetrypoetry add blokus-rlSourcegit clone https://github.com/APirchner/blokus-rl.git
cd blokus-rl
pip install -U maturin
maturin build [--release]
pip install {path/to/wheel}.whlExample usagefromblokus_rlimportBlokusEnvenv=BlokusEnv(render_mode="human")env.reset()fori,agentinenumerate(env.agent_iter()):observation,reward,termination,truncation,info=env.last()action=env.action_space(agent).sample(mask=observation["action_mask"])env.step(action)ifall([t[1]fortinenv.terminations.items()]):breakprint(env.rewards)MotivationI'm not a passionate gamer and get frustrated quite easily when a board game does not go my way. For some reason, I always enjoy playing Blokus - wheter I'm winning or not. And being a computer scientist by training, I was always wondering what weird/effective strategies a powerful RL agent would uncover.While there are a few comprehensive RL libraries such asRLliband environments for common classical boardgames and Atari games, I was not able to find an environment for Blokus that implements with the typical APIs. This repo should fill this gap.Working mostly in Python, I started out with a inefficient implementation and soon found that masking invalid moves did not scale well.
It never hurts to have some lower-level language in your toolbox, so I started from scratch in Rust - both as a Rust-learning experience and a way to speed up Blokus episodes.Implementation detailsInternally, the game is implemented withbitboards. A set of 4 u128 integers represents the board of 20x20 tiles and an additional column of separating bits. All game logic is built on bit operations - from generating all possible actions to finding the valid subsets of actions for each player at each turn of the game.
While doing research on how to speed up the masking of invalid actions, I found the smart Blokusimplementationbynicohass. From this repo I picked up the idea of using bitboards. The basics on how to rotate boards come from theChess Programming Wiki.The internal logic of the game is implemented in Rust, while the API is exposed through a Python class. The Python bindings for the Rust code are built withPyO3andmaturin.
Package: bloodaxe
bloodaxeis the nice way to testing and metrifying api flows.UsageUsage: bloodaxe.py [OPTIONS] CONFIG_FILE

Options:
  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.

  --help                Show this message and exit.$ bloodaxe example.tomlInstallation OptionsInstall withpip$ pip install bloodaxe$ bloodaxeFlow configuration examples[configs]number_of_concurrent_flows=10# Number of concurrent coroutines flowsduration=60# Stressing duration[[api]]# Api contextname="user_api"base_url="http://127.0.0.1:8080"# Base url at the moment, is the unique parameter in api section.[api.envvars]# Environment variables for given apiclient_id="CLIENT_ID"# Envvars namesclient_secret="CLIENT_SECRET"[[api]]name="any_api"base_url="http://127.0.0.1:1010"[[request]]# Request contextname="get_token"url="{{ user_api.base_url }}/token/"# Use user_api context to get the base_urlmethod="POST"timeout=60# The bloodaxe default timeout value is 10 secs, but it's possible override the default valuesave_result=true# Save request result in request name context, default value is false[request.data]# Request data sectionclient_id="{{ user_api.client_id }}"# templating syntax is allowed in request.dataclient_secret="{{ user_api.client_secret }}"[request.headers]# Request header sectionContent-Type='application/x-www-form-urlencoded'[[request]]name="get_user"url="{{ user_api.base_url }}/users/1"method="GET"timeout=60save_result=true[request.headers]Authorization="{{ get_token.access_token}}"# templating syntax is allowed in request.headers[[request]]name="get_user_with_params"url="{{ user_api.base_url }}/users/"method="GET"timeout=60save_result=false[request.params]# Request params sectionname="{{ get_user.name }}"# templating syntax is allowed in request.params/querystring[request.headers]Authorization="{{ get_token.access_token}}"[[request]]name="create_new_user"url="{{  user_api.base_url }}/users/"method="POST"[request.data]firstname="{{ get_user.firstname }} test"lastname="{{ get_user.Lastname }} test"status="{{ get_user.status }} test"[request.headers]Authorization="{{ get_token.access_token}}"[request.response_check]# response_check feature checking response data and status_codestatus_code=201[request.response_check.data]firstname="{{ get_user.firstname }} test"# templating syntax is allowed in response data checkslastname="{{ get_user.Lastname }} test"status="{{ get_user.status }} test"[[request]]name="create_new_user_with_from_file"url="{{  user_api.base_url }}/users/"method="PATCH"[request.data]from_file="user.json"# from_file help you configure request.data[request.headers]Authorization="{{ get_token.access_token}}"Backloghttps://github.com/rfunix/bloodaxe/projects/1
Package: blood-donors-directory
Blood Donors Directory[![Build Status](https://travis-ci.org/akhilputhiry/blood-donors-directory.svg?branch=master)](https://travis-ci.org/akhilputhiry/blood-donors-directory) [![PyPI version](https://badge.fury.io/py/blood-donors-directory.svg)](https://badge.fury.io/py/blood-donors-directory)Many colleges and organizations are having blood donors forum/group within their organization these days. This project is a small application intented to help these organization in maintaining their database.Features:
* Donor database
* Donor search
* Donation register
* Post donation requests in social media/organizations pages
Package: bloodyAD
:warning: autobloody has been moved to its ownrepobloodyADbloodyADis an Active Directory privilege escalation swiss army knifeDescriptionThis tool can perform specific LDAP calls to a domain controller in order to perform AD privesc.bloodyADsupports authentication using cleartext passwords, pass-the-hash, pass-the-ticket or certificates and binds to LDAP services of a domain controller to perform AD privesc.Exchange of sensitive information without LDAPS is supported.It is also designed to be used transparently with a SOCKS proxy.Simple usage:bloodyAD--host172.16.1.15-dbloody.local-ujane.doe-p:70016778cb0524c799ac25b439bd6a31setpasswordjohn.doe'Password123!'See thewikifor more.SupportLike this project? Donations are greatly appreciated :relaxed:Need personalized support? send me anemailfor trainings or custom features.AcknowledgementsThanks toimpacketcontributors.Structuresand severalLDAP attacksare based on their work.Thanks to@PowerShellMafiateam (PowerView.ps1) and their work on AD which inspired this tool.Thanks to@dirkjanm(adidnsdump.py) and (@Kevin-Robertson)(Invoke-DNSUpdate.ps1) for their work on AD DNS which inspired DNS functionnalities.Thanks to@p0daliriusand hispydsinternalsmodule which helped to build the shadow credential attack
Package: bloodyterminal
A simple piece of code to help structure your console outputs. BT makes
use of colorama to provide a few options to create a consistent console
output “theme”.frombloodyterminalimportbtextbtext.success("your string")btext.info("your string")btext.warning("your string")btext.error("your string")btext.debug("your string")btext.custom("your prefix","your string")Will result in something like this:To test this you can also use btext.demo() to get these outputs.NOTE: There seems to be a problem with the pycharm debugger not displaying the colors. You’d have to use the terminal.NOTE: I did not create the coloring functionality! Credit for that goes tocolorama
Package: bloomf
Bloom FilterImplemented in Python 3.The price we pay for efficiency through bloom filters is that it is probabilistic in nature that means, there might be someFalse Positiveresults. False positive means, it might tell that given username is already taken but actually itâ€™s not.Not beingFalse Negativesuch that telling that username doesn't exist while it is there, i.e., if exists it reports it's existenece in terms of maybe, else if not present it is 100% confident to report the same.Deleting elements from filter is not possible because, if we delete a single element by clearing bits at indices generated by k hash functions, it might cause deletion of few other elements.Installationpip install bloomf==0.2Distributed as aPyPiPackage.UsageYou can use this bloom filter as follows -frombloomfimportBloomFiltern=10# number of items to be addedp=0.04# FP Probablityfilter=BloomFilter(n,p)print("Size of bit array:{}".format(filter.size))print("False positive Probability:{}".format(filter.fp_prob))print("Number of hash functions:{}".format(filter.hash_count))word_present=['abound','abounds','abundance','abundant','accessable','bloom','blossom','bolster','bonny','bonus','bonuses']word_absent=['bluff','cheater','hate','war','humanity','racism','hurt','facebook','sambhav','twitter']foriinword_present:filter.add(i)test_words=word_present[:5]+word_absentforwordintest_words:iffilter.check(word):ifwordinword_absent:print("'{}' is a false positive!".format(word))else:print("'{}' is a probably present!".format(word))else:print("'{}' is 100% not present!".format(word))Dependenciesbitarraymmh3
Package: bloom-filter
Note: This project has gone unmaintained for a while,
please use the more up-to-date project at:
-https://github.com/remram44/python-bloom-filter-https://pypi.org/project/bloom-filter2/A pure python bloom filter (low storage requirement, probabilistic
set datastructure) is provided.  It is known to work on CPython 2.x,
CPython 3.x, Pypy and Jython.Includes mmap, in-memory and disk-seek backends.The user specifies the desired maximum number of elements and the
desired maximum false positive probability, and the module
calculates the rest.Usage:from bloom_filter import BloomFilter

# instantiate BloomFilter with custom settings,
# max_elements is how many elements you expect the filter to hold.
# error_rate defines accuracy; You can use defaults with
# `BloomFilter()` without any arguments. Following example
# is same as defaults:
bloom = BloomFilter(max_elements=10000, error_rate=0.1)

# Test whether the bloom-filter has seen a key:
assert "test-key" in bloom is False

# Mark the key as seen
bloom.add("test-key")

# Now check again
assert "test-key" in bloom is True
Package: bloom-filter2
A pure python bloom filter (low storage requirement, probabilistic
set datastructure) is provided.  It is known to work on CPython 3.x, Pypy,
and Jython.Includes mmap, in-memory and disk-seek backends.This project builds ondrs-bloom-filterandbloom_filter_mod.
Credits and links can be found in AUTHORS.md.UsageThe user specifies the desired maximum number of elements and the
desired maximum false positive probability, and the module
calculates the rest.from bloom_filter2 import BloomFilter

# instantiate BloomFilter with custom settings,
# max_elements is how many elements you expect the filter to hold.
# error_rate defines accuracy; You can use defaults with
# `BloomFilter()` without any arguments. Following example
# is same as defaults:
bloom = BloomFilter(max_elements=10000, error_rate=0.1)

# Test whether the bloom-filter has seen a key:
assert "test-key" not in bloom

# Mark the key as seen
bloom.add("test-key")

# Now check again
assert "test-key" in bloom
Package: bloomfilter3
bloomfilter3Python bloom-filter library with a focus on ease of use and high performance.MotivationThis library was heavily inspired from the excellentbloom-filter2library, however I decided to make some changes that enhanced functionality and ease of use.Unfortunatly these changes makes the library non-backwards compatible, hence bloomfilter3 was born.Credits and links can be found in AUTHORS.md.Changes from bloom-filter2:mmap only and by defaultbloom filter parameters are stored WITH the bloom filter itself on disk, no need to keep track of parameters (max_elements, error_rate) seperatlySimpler persistenceUsingfrombloom_filter3importBloomFilter# instantiate BloomFilter with custom settings,# max_elements is how many elements you expect the filter to hold.# error_rate defines accuracy; You can use defaults with# `BloomFilter()` without any arguments. Following example# is same as defaults:bloom=BloomFilter(max_elements=10_000,error_rate=0.1)# Test whether the bloom-filter has seen a key:assert"test-key"notinbloom# Mark the key as seenbloom.add("test-key")# Now check againassert"test-key"inbloomContributingPlease review CODE_OF_CONDUCT.mdPlease make sure you domake testsandmake lintbefore submitting a PRPlease make sure you add tests for any new functionality
Package: bloomfilter4py3
A Bloomfilter implement in pure python for python3.Package Installation and UsageThe package is available on PyPI:pip install bloomfilter4py3The library can be imported in the usual way:import bloomfilterAPIsBloomfilter(nBits, nHashs)Return a Bloomfilter object with bucket length of nBits and nHashs hash functions.Bloomfilter(filepath)Return a Bloomfilter object that read from file at filepath.Bloomfilter.save(filepath)Save the filter in file at filepath.Bloomfilter.add(str)Add str to the filter.Bloomfilter.test(str)Return a True if str might in the filter.str in Bloomfilterreturn Bloomfilter.test(str)