Saravanan666/pypi-org huggingface dataset:
Package: blackboxpackage
Projeto:Concil CoreAplicaÃ§Ã£o:Black BoxFuncionalidade:Black box Packagebjetivo:Este pacote foi criado para facilitar o trabalhor com diferentes funcionalidade da dentro da AWS Amazon,
diferentes tipos de banco de dados e funÃ§oes de tratamento de informacao, afim de otimizar o desenvolvimento
de funcionalidades.Linguagem:pythonDependencias:python 3.6 ou mais recenteboto3 1.11.0pandas 0.25.1numpy 1.16.5pyarrow 0.15.1SQLAlchemy 1.3.15psycopg2 2.8.4psycopg2-binary 2.8.5workalendar 10.4.0cx-Oracle 8.0.1Bibliotecas Criadas:S3Tipo: Classe desenvolvida para trabalhar com s3Como importar: from blackboxpackage.aws import S3SQSTipo: Classe desenvolvida para trabalhar com filas sqsComo importar: from blackboxpackage.aws import SQSDynamoDbTipo: Classe desenvolvida para trabalhar com DynamoDbComo importar: from blackboxpackage.aws import DynamoDbRedshiftTipo: Classe desenvolvida para trabalhar com RedshiftComo importar: from blackboxpackage.aws import RedshiftFtpTipo: Classe desenvolvida para trabalhar com FtpComo importar: from blackboxpackage.ftp import FtpPostgreSqlTipo: Classe desenvolvida para trabalhar com PostgreSqlComo importar: from blackboxpackage.postgresql import PostgreSqlOracleTipo: Classe desenvolvida para trabalhar com OracleComo importar: from blackboxpackage.oracle import OraclefunctionTipo: Classe desenvolvida para trabalhar com dados utilizando pandasComo importar: from blackboxpackage.function import *Como importar: from blackboxpackage.function import
Package: black-box-package
Black-Box-PackageObijetivo:
Este pacote e utilizado para trabalhar com diferentes funcionalidade da dentro da AWS Amazon,
diferentes tipos de banco de dados e funÃ§oes de tratamento de informaÃ§Ã£o.Dependencias:
vocÃª necessita da versÃ£o python 3.6 ou mais recente e das seguintes bibliotecas:
boto3==1.11.0
pandas==0.25.1
numpy==1.16.5
pyarrow==0.15.1
SQLAlchemy==1.3.15
psycopg2==2.8.4
psycopg2-binary==2.8.5
workalendar==10.4.0
cx-Oracle==8.0.1
Package: blackburn
Blackburn libraryCommon library for projects created by Github @BlackburnHaxInstallation and UsageOS X, Linux & Windows:pipinstallblackburnMetaBrandon Blackburn –PGP Encrypted Chat @ KeybaseDistributed under the Apache 2.0 license. SeeLICENSEfor more information.TL;DR:For a human-readable & fast explanation of the Apache 2.0 license visit:http://www.tldrlegal.com/l/apache2https://github.com/BlackburnHax/blackburn
Package: blackcellmagic
IPython magic command to format python code in cell usingblack.What is the magic command?%%blackSetupUsing pippipinstallblackcellmagicDirectly from the repositorygitclonehttps://github.com/csurfer/blackcellmagic.gitpythonblackcellmagic/setup.pyinstallLoad Extension in IPython%load_extblackcellmagicUsage# To have it formatted to black default length 88 with string normalization.%%black# To have it formatted to a particular line length.%%black-l79%%black--line-length79# To skip string normalization.%%black-S%%black--skip-string-normalizationExtrasTobin Jones has been kind enough to develop a NPM package over blackcellmagic to format all cells at once which can be foundhere.ContributingBug Reports and Feature RequestsPlease useissue trackerfor reporting bugs or feature requests.DevelopmentPull requests are most welcome.Buy the developer a cup of coffee!If you found the utility helpful you can buy me a cup of coffee using
Package: black-cgx
Black-cgxFormat CGX files with black.Usage# Install in your environment (for example with poetry)poetryadd-Dblack-cgx# Show help for the toolpoetryrunblack-cgx-h# By default, will format every cgx file in current folder (recursively)poetryrunblack-cgx# Just check if there would be any changespoetryrunblack-cgx--check# Format just a single filepoetryrunblack-cgxmy-component.cgx# Format a folder and filepoetryrunblack-cgx../folder_with_cgx_filesmy-component.cgx
Package: blackclue
BlackClueBlackClue is a python tool and package to extract GPS and acceleration data from
BlackVue MP4 recordings.
It is based on the excellentpymp4.
While developed and tested with a BlackVue DR750S-1CH it should work with other
models of that brand.LicenseBlackClue is licensed unter theApache 2.0 License.InstallationBlackClue can be installed from thePython Package Index:python3-mpipinstallblackclueUsageUsed as a command line tool, BlackClue provides the following functionality:$blackclue-h
Usage:blackclue[OPTIONS]filelistExtractGPSandAccelerationdatafromBlackVueMP4recordings.BlackVueextractsdataembeddedintheMP4recordingsofaBlackVueDashcam.

Options:-c,--dump-embeddedDumpcompleteembeddeddata.-r,--dump-raw-blocksDumprawblocksfromembeddeddata.-x,--extended-scanDonotstopscanningfileafterprocessingtheembeddeddata.-v,--verbosePrintsomeadditionalinformation.-h,--helpShowthismessageandexit.Leave bug reports and feature requests onhttps://github.com/gandy92/blackclue.History1.1.1Fix problems with PyPI release.1.1.0First release on PyPI. Thanks to @bartbroere, BlackClue can now also be used as a package.1.0.0First release on GitHub
Package: black-codeclimate
black-codeclimateConvert the output ofblack --diffto a report conforming to theCode Climate spec.
It is made to be used in GitLab CI to generate aCode Quality report, which will show a nice widget in merge requests listing the file and the lines affected by the reformatting.black-codeclimateusesunidiffto parse a diff file and detect changes, and outputs a JSON array of Code Climate issue objects reporting the filename and line range of the change. In theory it could be used on any unified diff data, but I only tested it withblack --diff's output. Hit me up in the issues if you use it for anything else :)UsagePipe the output ofblack --diffintoblack-codeclimate:black--diffsrc/|black-codeclimate>black_report.jsonOr specify a file to use as input:black-codeclimateblack.diff>black_report.jsonYou can also change the severity, description and check_name of the issues in the resulting report by specifying command line flags:black-codeclimate--severityblocker--description"would reformat [black]"--check-name"black"black.diff>black_report.jsonRunblack-codeclimate -hto see a list of the available flags.Adding it to GitLabAdd this step to your.gitlab-ci.ymlfile:lint:black:stage:lintbefore_script:-# Install black and black-codeclimate...script:# --check fails the job if any inconsistent formatting is detected.-black --diff --check src/ > black.diffafter_script:-black-codeclimate black.diff > black_report.jsonartifacts:reports:codequality:black_report.jsonwhen:alwaysThis will upload theblack_report.jsonas a GitLab Code Quality artifact. The lines that would be reformatted byblackwill show up as amerge request widget.
Package: black-configparser
black-configparserSeamless proxy CLI forblack("The uncompromising code formatter")with support for non-pyproject.tomlconfig files.Table of ContentsAbout the ProjectWhy it is different?InstallationUsageExample configurationKnown issuesLicenseAbout the ProjectTheblack-configparseris yet another tool(next tobrunette,white, and maybe a few more out there),
which tries to fillthe gap of missingsetup.cfg(or justany other non-pyproject.toml) config file.Why it is different?Unlike other tools, tries to staydumb simpleand add only minimum needed overhead toblackusage.It isseamless- it works on the same CLI command -black- just passing logic through some extra code!There is no complex argument processing, if config file is present, the values set there are passed directly toblack.Code of this tool is independent fromblackinsides and will work properly
as long asblackwon't make any braking changes in its command line options.Installation$ pip install black-configparserUsageSupported configuration files:setup.cfg,tox.ini.Configuration file section:[black]or[tools:black].Important!:warning:When youblack-configparserfinds black configuration in any of supported file(s),
most black's built-in command line arguments become unavailable.Exceptions:--check--code--diff--help--verbose--versionTheblack-configparsercan be temporarily disabled, by adding--no-config-fileflag toblackcommand,
for example:$ black --no-config-file --check ./path/to/file.pyExample configuration[black]line-length=120target-version=py27py33py34py35py36py37py38pyi=Trueskip-string-normalization=Truecolor=Trueinclude=\.pyi?$exclude=/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist)/force-exclude=lorem ipsumquiet=Trueverbose=TrueAlmost any option available for black (black --help) can be put onto config file.Values for multi-value arguments must be one per line (separated by\nchar).Flags(arguments without values)must be set in config file as= True.Known issuesUndefined behavior, when running with one of allowed CLI arguments which is also set in the config file.Afterblack-configparserpackage is uninstalled, theblackcommand does not work anymore
andblackpackage must be reinstalled.LicenseMIT
Package: blackdaemon
A daemon to automatically run the Uncompromising Code Formatterblackby watching a directory or file for changes.Installationpip install blackdaemonUseblackdaemon <directory or file>API>> python blackdaemon.py --help
usage: blackdaemon.py [-h] [--recursive | --non-recursive] [--no-run-on-start]
                      [-v] [-q]
                      [path]

positional arguments:
  path               path of file or directory to watch for changes

optional arguments:
  -h, --help         show this help message and exit
  --recursive        recursively watch director for changes (default)
  --non-recursive
  --no-run-on-start  run black only when files change, not on startup.
  -v, --version      print version of blackdaemon and black, then exit
  -q, --quiet        don't emit non-error messages to stderr. Errors are still
                     emitted, silence those with 2>/dev/nullHomepagehttps://github.com/cs01/blackdaemon
Package: black-disable-checker
black-disable-checkerThat little door knob on your blackened bike shed can also be any color you like; as
long as it's black.black-disable-checkeris an uncompromising black adoption checker. By using it, you
agree to really cede control over minutiae of hand-formatting. In return, you will not
have to argue about disabling black or not. You will save time and mental energy for
more important matters.Installation-repo:https://github.com/Pierre-Sassoulas/black-disable-checker/rev:1.1.3hooks:-id:black-disable-checker
Package: blackdoc
blackdocis a tool that appliesblackto code in documentation.It was originally a rewrite of agistand calledblack-doctest. In April 2020, it was renamed toblackdoc.InstallationDependencies:blackmore-itertoolsrichtomlipathspecInstall it with:python-mpipinstallblackdocUsageThe commandline interface supports two modes: checking and inplace
reformatting.python-mblackdoc--helpIn inplace reformatting mode, it will reformat the doctest lines and
write them back to disk:# on explicitly mentioned filespython-mblackdocfile1.pyfile2.py# on the whole directorypython-mblackdoc.When checking, it will report the changed files but will not write them to disk:python-mblackdoc--check.It is also possible to use the entrypoint script:blackdoc--helppre-commitThis repository defines apre-commithook:hooks:...-repo:https://github.com/keewis/blackdocrev:3.8.0hooks:-id:blackdocIt is recommended topinblackin order to avoid having different versions for each contributor. To automatically synchronize this pin with the version of theblackhook, use theblackdoc-autoupdate-blackhook:hooks:...-repo:https://github.com/psf/blackrev:23.10.1hooks:-id:black...-repo:https://github.com/keewis/blackdocrev:3.8.0hooks:-id:blackdocadditional_dependencies:["black==23.10.1"]-id:blackdoc-autoupdate-blackNote that this hook isnotrun onpre-commitautoupdate.
Package: blackdog
BlackDog is a local webservice that maps bukkitdev plugins to a maven repository structure.It is a delicious cocktail made with [Tequila][tequila].## Installation### Prerequisites[Python 3][python]### With the package manager (recommended)From an elevated shell, runpip install blackdog.### From the source codeFrom an elevated shell, runpip install -e git+https://github.com/Snaipe/BlackDog.git#egg=blackdog.You may check if BlackDog is installed by runningblackdog -h.[python]:https://www.python.org/[tequila]:https://github.com/Snaipe/Tequila
Package: blackduck-kb
Python Bindings for the Black Duck KB REST APIReference:https://kbdev.blackducksoftware.com/docs/index.htmlFor internal use only by SIG R&DHow to UseThis package assumes python3There are two requirements.txt files in the repository,In the top-level is a requirements.txt to use when working on the package (aka library) itself, including packages for testingIn the examples folder is another requirements.txt file for using the package (aka library). It includes a reference to the Gitlab repository where this code is hosted.So, to use the package,Clone the repository OR copy the examples/requirements.txt file into your projectCreate your virtualenvInstall the requirements,pip install -r examples/requirements.txtTo use the KB API you will need a license key for it.How to ContributeFollow the usual flow and create a branch/PR to submit your contributions.How to Testtesting detailsSubmitting PR'sPR details
Package: blackducklib
This is to maintain the files related BlackDuck library.The user will execute blackduck.py with all the required arguments. The blackduck.py will internally call blackducklib.pyThe test_blackduck.py file is used to add the unit test.CHANGE LOG0.0.1 (30/03/2021)First Release0.0.2 (07/04/2021)Second Release
Package: blacked
blackedblack, but with single quotesWhat's wrong with other 'single-quoted' black options:brunette: uses monkey patching that basically doesn't work when running against multiple filesodwyersoftware/brunette#5axblack: forked from black a while ago, inconsistent with current black versionsaxiros/axblack#7ToDo:add tests:Bothblacked -Sandblack -Smust produce same resultsblackedrun against code formatted withblackmust change only quotes and vice-versablackedmust adopt any currently installedblackversionTests must include runningblackedagainst multiple files to assure multiprocessing works as expectedTests must include latest or allblackversionsadd support for config.cfgadd support for blackd
Package: blacken-docs
RunBlackon Python code blocks in documentation files.InstallationUsepip:python-mpipinstallblacken-docsPython 3.8 to 3.12 supported.Black 22.1.0+ supported.pre-commit hookYou can also install blacken-docs as apre-commithook.
Add the following to therepossection of your.pre-commit-config.yamlfile (docs):-repo:https://github.com/adamchainz/blacken-docsrev:""# replace with latest tag on GitHubhooks:-id:blacken-docsadditional_dependencies:-black==22.12.0Then, reformat your entire project:pre-commitrunblacken-docs--all-filesSince Black is a moving target, it’s best to pin it inadditional_dependencies.
Upgrade as appropriate.Usageblacken-docs is a command line tool that rewrites documentation files in place.
It supports Markdown, reStructuredText, and LaTex files.
Additionally, you can run it on Python files to reformat Markdown and reStructuredText within docstrings.Runblacken-docswith the filenames to rewrite:blacken-docsREADME.rstIf any file is modified,blacken-docsexits nonzero.blacken-docsdoes not have any ability to recurse through directories.
Use the pre-commit integration, globbing, or another technique for applying to many files.
For example,withgitls-files| xargs:gitls-files-z--'*.md'|xargs-0blacken-docs…or PowerShell’sForEach-Object:gitls-files--'*.md'|%{blacken-docs$_}blacken-docs currently passes the following options through to Black:-l/--line-length--preview-S/--skip-string-normalization-t/--target-versionIt also has the below extra options:-E/--skip-errors- Don’t exit non-zero for errors from Black (normally syntax errors).--rst-literal-blocks- Also format literal blocks in reStructuredText files (more below).Historyblacken-docs was created byAnthony Sottilein 2018.
At the end of 2022, Adam Johnson took over maintenance.Supported code block formatsblacken-docs formats code blocks matching the following patterns.MarkdownIn “python” blocks:```pythondefhello():print("hello world")```And “pycon” blocks:```pycon>>>defhello():...print("hello world")...```Within Python files, docstrings that contain Markdown code blocks may be reformatted:deff():"""docstring here

    ```python
    print("hello world")
    ```
    """reStructuredTextIn “python” blocks:..code-block::pythondefhello():print("hello world")In “pycon” blocks:..code-block::pycon>>>defhello():...print("hello world")...Use--rst-literal-blocksto also formatliteral blocks:An example::def hello():print("hello world")Literal blocks are marked with::and can be any monospaced text by default.
However Sphinx interprets them as Python codeby default.
If your project uses Sphinx and such a configuration, add--rst-literal-blocksto also format such blocks.Within Python files, docstrings that contain reStructuredText code blocks may be reformatted:deff():"""docstring here

    .. code-block:: python

        print("hello world")
    """LaTeXIn minted “python” blocks:\begin{minted}{python}def hello():
    print("hello world")\end{minted}In minted “pycon” blocks:\begin{minted}{pycon}>>> def hello():
...     print("hello world")
...\end{minted}In PythonTeX blocks:\begin{pycode}def hello():
    print("hello world")\end{pycode}
Package: blacken-docs-jb
blacken-docs-jbExtension ofblacken-docswhich also supports theexecutable code blocksfromJupyterBooke.g```{code-cell} python
x = 1 + 2
```Installpipinstallblacken-docs-jbUsage with pre-commitSeepre-commitfor instructionsSample.pre-commit-config.yaml:-repo:https://github.com/finsberg/blacken-docs-jbrev:v0.6.2hooks:-id:blacken-docs-jbadditional_dependencies:[black==22.3.0]exclude:slidesLicenseThis project is licensed underMIT. The license file from blacken-docs is found inLICENSE_blacken_docs.
Package: blacken-selection
A tool that applies theBlackpython source
code formatter to a single piece of python source code instead of a whole
file or project.Usage$ pip install blacken-selection
$ blacken-selection -h
usage: Apply the black code formatter for a piece of python source code

positional arguments:
  SOURCE                The python source code to be formatted. If not
                        provided then source is read from stdin.

optional arguments:
  -h, --help            show this help message and exit
  -l LINE_LENGTH, --line-length LINE_LENGTH
                        How many characters per line to allow. [default: 88]
$ blacken-selection "def main(): pass"
def main():
    passUsage from PyCharm on linuxUnfortunately PyCharm External Tools cannot be used directly. The
$SelectedText$ macro passes the selection as a command line argument to the
tool but there is no way to properly quote a python string using double
quotes.But there is a solution:Install thexclipcommand line tool, we will use it to grab the
code selection in PyCharm via the clipboardInstall blacken_selection as described aboveGrab the simple shell scriptblacken-selection-xclip.shSetupblacken-selection-xclip.shas an external tool in PyCharm:File -> Settings -> Tools -> External ToolsClick the + icon to add a new external tool with the following values:Name: blacken
    Description: Blacken a piece of python code
    Program: <absolute path for your blacken-selection-xclip.sh>
    Arguments:Select a piece of python source code in your editor and from the right click
context menu select:External Tools -> blackenOr you can confiugre a shortcut (e.g. Shift+Alt+B) to trigger the tool in:Settings -> Keymap-> External Tools -> blackenThe tool will grab the selected text form the clipboard, format it with black,
and the copy the formatted code back to the clipboard. So you can basically do
theselect,shift+alt+B,insertin PyCharm to format a piece
of python code with black.
Package: blackerz-wrapper
Python Blackerz API-WrapperPython SDK for interact with our APIExample Post Bot Descriptionimportblackerz_wrapperasblackerzblackerz.authorize("V1auth")goblox=blackerz.bot("bot_id")bot_data=goblox.bot_data()print(bot_data)result=goblox.edit_data(short_description="generated_by_python_lib")print(result)# boolean indicates success or notprint(goblox.check_vote("775363892167573535"))# check if userid 775363892167573535 voted the botWebsiteGet yourV1 authby login to our website then visit your profile, here the linkhttps://blackerz.herokuapp.com/Made by Fastering18, join our support serverhttps://discord.gg/t7zJBwynFUfor more information.
Package: blackeye
Installation$ pip install blackeye && blackeyeFeaturesblackeye, ** The ultimate phishing tool with 38 websites available! **How to install ?$ pkg install python -y
$ pip install blackeye
$ blackeyeRun ?$ blackeyeDisclaimerWe are not responsible for your loss by this tool.
this tool is made for Education/Learning Purpose.
Dont harm anyone using this tool.Usage$ blackeye -h

Author : The Linux Choice
PIP module : Parixit Sutariya
Github : github.com/Bhai4You
Blogspot : https://bhai4you.blogspot.comGithub
Package: blackfeed
BlackFeedBlackFeed is a micro python library that allows you download and upload files concurrently.
You can download your files locally but you can also upload them to your cloud without writing them to disk.Packages requiredInstalled automatically withpiprequestsboto3InstallpipinstallblackfeedUsageDownload and upload files to AWS S3For this to work, AWS CLI must be configuredfromblackfeedimportDownloaderfromblackfeed.adapterimportS3Adapterqueue=[{'url':'https://www.example.com/path/to/image.jpg',# Required'destination':'some/key/image.jpg'# S3 key - Required},{'url':'https://www.example.com/path/to/image2.jpg','destination':'some/key/image2.jpg'}]downloader=Downloader(S3Adapter(bucket='bucketname'),multi=True,# If true, uploads files to images to S3 with multithreadingstateless=False# If set to False, it generates and stores md5 hashes of files in a filestate_id='flux_states'# name of the file where hashes will be stored (states.txt) not requiredbulksize=200# Number of concurrent downloads)downloader.process(queue)stats=downloader.get_stats()# Returns a dict with information about the processDownload files with statesLoading states can be useful if you don't want to re-download the same file twice.fromblackfeedimportDownloaderfromblackfeed.adapterimportS3Adapterqueue=[...]downloader=Downloader(S3Adapter(bucket='bucketname'),multi=True,stateless=False,state_id='filename')# You can add a callback function if needed# This function will be called after each bulk is processeddefcallback(responses):# response: {#    'destination': destination of the file can be local or can be S3 key,#    'url': URL from where the file was downloaded,#    'httpcode': HTTP code returned by the server,#    'status': True|False,#    'content-type': Mime type of the downloaded resource Example: image/jpeg# }# responses: response[]pass# Your logicdownloader.set_callback(callback)downloader.load_states('filename')# This will load states from "filename.txt"downloader.process(queue)stats=downloader.get_stats()# StatisticsElasticDownloaderLet's you to download/retrieve files from FTP, SFTP and HTTP/S servers easily.ExamplesDownloading file from FTPfromblackfeedimportElasticDownloaderuri='ftp://user:password@ftp.server.com/path/to/file.csv'retriever=ElasticDownloader()res=retriever.download(uri,localpath='/tmp/myfile.csv')# localfile is optional# .download() function returns False if there was an error or return the local path of the downloaded file if it was a success.print(res)/tmp/myfile.csvRetrieving binary content of file from FTPfromblackfeedimportElasticDownloaderuri='ftp://user:password@ftp.server.com/path/to/file.csv'retriever=ElasticDownloader()res=retriever.retrieve(uri)# Return type: io.BytesIO | Falsewithopen('/tmp/myfile.csv','wb')asf:f.write(res.getvalue())ElasticDownloadercan handle FTP, SFTP and HTTP URIs automatically.
Use the methoddownloadto download file locally and use theretrievemethod to get the binary content of a file.