Saravanan666/pypi-org huggingface dataset:
Package: injectme
injectmeSimple Dependency Injection library in pure Python.If you have never heard about DI it's probably useless.If you are struggling to tame all of your dependencies running wildly through your code and have a hard time passing high-level dependencies down the abstracion layers you might have found a solution.It's small. It's simple. Does not enforce complex abstractions. Does not pollute the code.InstallationThis project is available as python package:pip install injectmeSimple Examplefrominjectmeimportinject,registerclassDependency:defdo_stuff(self):print("I'm useful")@injectclassApp:dependency:Dependencydefrun(self):self.dependency.do_stuff()register(Dependency,Dependency())app=App()app.run()I'm usefulLinksdocs:https://injectme.readthedocs.iopypi:https://pypi.org/project/injectmecode:https://github.com/zuczekgnojak/injectme
Package: injectslib
injectslibPython APi forhttps://injects.cert.pl.
Compatible with python2 and python3.InfoContact email:msm@cert.plExampleimportsysfrominjectslibimportInjectsApiiflen(sys.argv)==1:print("Usage: example.py api_token")api=InjectsApi(sys.argv[1])print("Attacks on{}:".format(api.organisation().name))forattackinapi.attacks():print(" - attack by{}, first observed at{}".format(attack.family,attack.first_seen_iso))forinjectinattack.injects:print("   - inject when url like{}".format(inject.url_pattern))foractioninattack.actions:print("   -{}when url like{}".format(action.act_type,action.url_pattern))
Package: inject-typed
inject-typedDependency Injection for Python driven by type annotationsFeatures:does not require changes to your code, for example no need to use special decoratorsfully driven by typed annotations from__init__Dev setupdnf install python3.6
pip install virtualenv

virtualenv --python python36 inject-typed-env36

source inject-typed-env36/bin/activate

pip install -r requirements.txtPycharmMarksrcdir asSource RootResources:https://virtualenv.pypa.io/en/latest/Releasingpython -m pip install --upgrade setuptools wheel
python -m pip install --upgrade twinepython setup.py sdist bdist_wheelpython -m twine upload --repository testpypi dist/*
Package: injkt
Injkt (Dependencyinjectioninjktion)Your simple python DI library built with good intentions.InstallpipinstallinjktWhy?Good question.How?importtypingastyfrominjktimportBind,Config,Injectable,Injktor,inject_args_depsclassIMailService(ty.Protocol):defsend_mail(self,subject:str,to:str)->None:...classSmtpMailService(IMailService):defsend_mail(self,subject:str,to:str)->None:raiseNotImplementedError()injktor=Injktor(Config({Bind(IMailService,SmtpMailService),}))@inject_args_depsdefbusiness_logic(mail_service=Injectable(IMailService)):mail_service.send_mail("Hello","world")business_logic()Class Basedfrominjktorimportinject_attr_deps@inject_attr_depsclassBusinessLogic:mail_service=Injectable(IMailService)defdo_business_logic(self)->None:self.mail_service.send_mail("Hello","world")BusinessLogic().do_business_logic()Class based lazy injectionfrominjktorimportInjktLazyclassBusinessLogic(InjktLazy):mail_service=Injectable(IMailService)defdo_business_logic(self)->None:self.mail_service.send_mail("Hello","world")BusinessLogic().do_business_logic()Re-init dependenciesinjktor=Injktor(Config({Bind(IMailService,SmtpMailService,always_reinit=True),}))Enablingalways_reinitwill re-initialize the dependency on each call.NOTE: It won't be re-initialized in the same class if you aren't usingInjktLazy
Package: inka
inkaAutomatically add your Markdown flashcards toAnki.InstallationRequirementsWhyFeaturesUsageCreating CardsAdding Cards to AnkiInstallationInstallinka:python3-mpipinstallinka--upgradeRequirementsAnki>= 2.1.54Python>= 3.10WhyI've been using Anki for a long time, and at some point my notes turned into just lists of question/answer pairs, from
which I then created Anki cards. The process of creating flashcards in Anki took a long time, so I decided to write a
Python script to automate it. With more and more features added, the script has evolved into the command-line tool you
can see now.inkaallows you to use full power of Markdown when creating flashcards. The program is also extensively tested.FeaturesCards are automatically added to your Anki deckBasic and Cloze note types supportSynchronization of changes with AnkiConfiguration via config fileImages supportMathJax supportCode highlightHashing (for better performance)UsageCreating CardsIn order for the program to be able to separate cards from all the rest of the text in the file, you need to enclose
them between two---:---

Deck: Life Questions

Tags: learning life-questions1.What is the answer to the Ultimate Question of Life, the Universe, and Everything?>422.If it {{c1::looks like a duck, swims like a duck, and quacks like a duck}}, then it is a {{c2::duck}}.

---You can create any number of such sections in the file.:warning: This means that you should avoid using the---syntax anywhere else in the file forinkato work correctly.
There are exceptions, and you can read about them indocumentation.Inside the section, you can specify the name of the deck to which the cards will be added, and tags for the cards. If
deck name isn't specified, then the one from theconfigis
used (Defaultby default). The deck name is written afterDeck:, and tags for all cards afterTags:with spaces
between each tag.Two types of notes are supported:Front/Back: every question starts with number followed by period (e.g.1.,2.- Markdown ordered list syntax)
and every line of the answer starts with>(Markdown quote syntax). Question and answer can span multiple lines.Cloze: same as Front/Back notes, Cloze notes start with number followed by period (Markdown ordered list syntax).inkasupports three versions of syntax for cloze deletions:Anki syntax:{{c1::hidden text}}Short explicit syntax:{1::hidden text}or{c1::hidden text}Short implicit syntax:{hidden text}More info and examples on thecreating cardsdocumentation
page.Adding Cards to Ankiinkawill create custom note types forFront/BackandClozenotes. If you want to use different ones, you
can change note types in theconfig.Add cards from the file:inka collect path/to/cards.mdOr from allMarkdownfiles in a directory:inka collect path/to/directoryYou can also pass multiple paths at once:inka collect path/to/cards.md path/to/folderYou can find more information on thedocumentation page.
Package: inka2
inka2Automatically extract flashcards from Markdown toAnki.too useful to let it be unsupported :-)InstallationRequirementsWhyFeaturesUsageCreating CardsAdding Cards to AnkiInstallationInstallinka2:python3-mpipinstallinka2--upgradeRequirementsAnki>= 2.1.54Python>= 3.10WhyI've been using Anki for a long time, and at some point my notes turned into just lists of question/answer pairs, from
which I then created Anki cards. The process of creating flashcards in Anki took a long time, so I decided to write a
Python script to automate it. With more and more features added, the script has evolved into the command-line tool you
can see now.inka2allows you to use full power of Markdown when creating flashcards. The program is also extensively tested.FeaturesCards are automatically added to your Anki deckBasic and Cloze note types supportSynchronization of changes with AnkiConfiguration via config fileImages supportMathJax supportCode highlightHashing (for better performance)UsageCreating CardsIn order for the program to be able to separate cards from all the rest of the text in the file, you need to enclose
them between two---:---

Deck: Life Questions

Tags: learning life-questions1.What is the answer to the Ultimate Question of Life, the Universe, and Everything?>422.If it {{c1::looks like a duck, swims like a duck, and quacks like a duck}}, then it is a {{c2::duck}}.

---You can create any number of such sections in the file.:warning: This means that you should avoid using the---syntax anywhere else in the file forinka2to work correctly.
There are exceptions, and you can read about them indocumentation.Inside the section, you can specify the name of the deck to which the cards will be added, and tags for the cards. If
deck name isn't specified, then the one from theconfigis
used (Defaultby default). The deck name is written afterDeck:, and tags for all cards afterTags:with spaces
between each tag.Two types of notes are supported:Front/Back: every question starts with number followed by period (e.g.1.,2.- Markdown ordered list syntax)
and every line of the answer starts with>(Markdown quote syntax). Question and answer can span multiple lines.Cloze: same as Front/Back notes, Cloze notes start with number followed by period (Markdown ordered list syntax).inka2supports three versions of syntax for cloze deletions:Anki syntax:{{c1::hidden text}}Short explicit syntax:{1::hidden text}or{c1::hidden text}Short implicit syntax:{hidden text}More info and examples on thecreating cardsdocumentation
page.Adding Cards to Ankiinka2will create custom note types forFront/BackandClozenotes. If you want to use different ones, you
can change note types in theconfig.Add cards from the file:inka2 collect path/to/cards.mdOr from allMarkdownfiles in a directory:inka2 collect path/to/directoryYou can also pass multiple paths at once:inka2 collect path/to/cards.md path/to/folderYou can find more information on thedocumentation page.
Package: inkamusic
Overviewinkamusic creates instrumental music, based on rules. This includes structure, rhythm, melody, harmonization and instrumentation. A simple web interface (with CherryPy) offers the possibility to choose from several options. The output format is a MIDI file that can be played with many applications, e.g. Garageband or VLC on MacOS or Windows Media Player on Windows. Or tryhttps://musescore.org/en, which not only plays the midi files, but also displays the score.InstallationYou can download and install the latest version of this software from the Python package index (PyPI) as follows:pip install --upgrade inkamusicUsageTo use the stand alone version runinkamusicThis will start a local CherryPy web server. Now open a browser window and enterhttp://127.0.0.1:8080Select options and use the Create button to create a MIDI file. Depending on your browser settings this file will be downloaded or opened. See Overview for additional hints.inkamusic can also be used as an imported module, but this feature is in a preliminary state. More information will be added later.Creditsuses the CherryPy Web Frameworkhttps://cherrypy.org/History0.2.1 (2019-10-29)First release on PyPI.
Package: inkbird-ble
INKBIRD BLEParser for INKBIRD BLE devicesInstallationInstall this via pip (or your favourite package manager):pip install inkbird-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: inkblock
Inkblock is a simpler way to create and publish writing on the web.It's true, there are a million static site generators out there.  The best five or six are better at their jobs than Inkblock is, to be honest.  But not one of them is slightly involved in the most important part of publishing online - *getting it in front of human beings*.Inkblock handles your pages, blog posts, and scheduled social posts and just makes everything work. Simply.**Notes::** I'm using this in production, but it's still pretty tuned to my needs, and needs some abstraction.  Also, the social stuff isn't in yet.  If you need something today, use Cactus.# Installation1. `pip install inkblock`2. `npm install -g firebase-tools`  Optional, to use the [firebase deploy]()3. `pip install picopt; brew install optipng jpeg gifsicle mozjpeg; ln -s /usr/local/Cellar/mozjpeg/2.1/bin/jpegtran /usr/local/bin/mozjpeg` Optional, to use image optimization (Mac OS X shown.)Me: npm install -g blaze_compiler# Usage```bash$ ink new pieceTitle: The Mexican Secret of HappinessURL: the-mexican-secret-of-happiness [Y/n]> Piece #24 created.  Opening editor.$# Editing happens$ ink publishPublishing Inkblock and Feet.Pages:- /home... published- /letter... publishedPosts:- /the-mexican-secret-to-happiness... published```This is the first install of an Inkblock site.# Footprints: A complimentary serverhttp://click.pocoo.org/5/Specs:ink serveink buildink newink publish# ink list# ink help# ink (alias for ink help)pages are built with:name stripped of html, or "url" override.put up as text/html, no extension, pretty URLs.User data/users/:uid/profile/piece_url/hearted: true/read: true/events{uidtimestampurlactiontype}
Package: inkbunny
InkbunnyA Python wrapper for theInkbunnyAPI.DISCLAIMERI have no idea what I'm doing!I'm not a programmer.I have next to no experience with Python (or any other language for that matter).I have no affiliation with Inkbunny.This project exists because I couldn't find a Python wrapper anywhere else.This is still very much a work in progress.I'm trying my best, but my best isn't very good.Use this wrapper at your own riskInstallationpip install inkbunnyRequirementsPython ≥ 3.10.2Requestsplatformdirs(for now, at least)UsageTODOfrominkbunnyimportInkbunnyib=Inkbunny()details=ib.submission_details(submission_ids=['14576','14579'])print(details)ib=Inkbunny('myusername')submission_results=ib.search('fox')# first time loginib=Inkbunny('myusername',password='mypassword')print(ib.unread_submissions())withInkbunny()asib:bunnies=ib.search('bunny',results_count=1000)print(bunnies)ib=Inkbunny('myusername')ib.new_submission(files=['path/to/my/file/dog1.png','path/to/my/file/dog2.png'],title='Good dog',desc='A drawing I made',keywords=['male','dog','good'],type_='picture')
Package: inkcut
InkcutAn application for controlling 2D plotters, cutters, engravers, and CNC machines.Project homepageYou can download the release versions fromhere.FeaturesGraphic manipulation (Rotation, scaling, mirroring)Copy generation and layoutWeedlinesInkscape integrationDevice control panelJob history listLive plot statusPause, resume, and abort jobs mid wayPython 2 and 3 support (Qt5 on python 3)Docs and tutorialsSee theproject docs site:InstallingTutorialDevice SetupSupported DevicesDeveloperSupportGet help by posting anissueor asking on theforum.If you use Inkcut and want to help continue the development open source cutting software
please considerdonating.ThanksThank you toall who have contributedto Inkcut and toInkscapefor making this possible!
Package: inkex
inkex & Inkscape extensionsThis package supports Inkscape extensions.It providesa simplification layer for SVG manipulation through lxmlbase classes for common types of Inkscape extensionssimplified testing of those extensionsa user interface library based on GTK3At its core, Inkscape extensions take in a file, and output a file.For effect extensions, those two files are SVG files.For input extensions, the input file may be any arbitrary file and the output is an SVG.For output extensions, the input is an SVG file while the output is an arbitrary file.Some extensions (e.g. the extensions manager) don't manipulate files.This folder also contains the stock Inkscape extensions, i.e. the scripts that
implement some commands that you can use from within Inkscape. Most of
these commands are in the Extensions menu, or in the Open / Save dialogs.DocumentationThe latest documentation for how to develop Inkscape extensions can be found athttps://inkscape.gitlab.io/extensions/documentation/.Installationpip install inkexInkex releases are currently synchronous with Inkscape releases and share the same version number.Publishing an extension on the Inkscape websiteFollow the guide onhttps://inkscape.gitlab.io/extensions/documentation/authors/submit.html#i-want-to-submit-my-extension.
Package: ink-extensions
ink_extensionsPython dependencies for runningInkscapeextensions outside of InkscapeUse pip to install:
pip install ink_extensionshttps://pypi.org/project/ink-extensions/Files in theink_extensionsdir were initially forked from Inkscape 0.91,
and modified slightly to allow operation under both python 2.x and 3.x.Files inink_extensions_utilsare written for this package.License: GPL v2.
Package: inklevel
Python wrapper forlibinklevel.PrerequisitesInstalllibinklevel, e.g. on
Debian:apt-get install libinklevelInstallationpip install inklevelUsageimport inklevel

# libinklevel version
print(inklevel.get_version_string())

# Get data from /dev/usb/lp0:
data = inklevel.get_usb_ink_level(0)

for cartridge, value in data.levels:
    print('{}: {}'.format(cartridge.description, value))

# Get data from /dev/parport2
data = inklevel.get_parport_ink_level(2)The functionsget_usb_ink_levelandget_parport_ink_levelare
convenience functions using the original libinklevel interface. You can
also use that:data = inklevel.get_ink_level(inklevel.Port.USB, None, 0)
data = inklevel.get_ink_level(inklevel.Port.CUSTOM_USB, '/dev/usb/lp0', None)Seelibinklevelandinkfor details.LicenseThis software is licensed under GPLv2.
Package: inko-py
Inko.pyOpen Source Library, Converting Misspelled English characters into Korean letters (& vice versa)Python implementation ofInko.jsGetting StartedRequirementsPython >= 3.6Installationpython-mpipinstallinko-pyUsageimportinkomyInko=inko.Inko()orfrominkoimportInkomyInko=Inko()영어(en) -> 한글(ko)print(myInko.ko2en('ㅗ디ㅣㅐ 재깅!'))# output: hello world!한글(ko) -> 영어(en)print(myInko.en2ko('dkssudgktpdy tptkd!'))# output: 안녕하세요 세상!Optional parameterKeyTypeValueDescriptionallowDoubleConsonantBooleanTrue or False복자음 설정여부설정을 부여하는 방법은 아래의 세 가지 방법으로 지원합니다.인스턴스 생성할 때 생성자의 인자로 설정 부여frominkoimportInkomyInko=Inko(allowDoubleConsonant=True)config함수로 설정 부여myInko.config(allowDoubleConsonant=True)en2ko함수의 인자로 설정 부여myInko.en2ko('rtrt',allowDoubleConsonant=True);# output: ㄳㄳmyInko.en2ko('rtrt',{allowDoubleConsonant=False);# output: ㄱㅅㄱㅅRelatedinko-js- Inko javascript libraryinko-cli- Use inko on the command lineinko-web- Inko official websiteinko-chrome-extension- Inko chrome extensionalfred-inko- Alfred 3 workflow to convert misspelled English characters into Korean letters (& vice versa)Contributing이 오픈소스 프로젝트에 누구나 기여할 수 있습니다. 기여하고 싶은 분들은 이 레포지토리를 포크한 후 풀리퀘스트 요청해주세요!LicenseInko.py is released under the MIT License. SeeLICENSEfile for details.CreditsThanks toJon Jee(738), the original author of Inko.js
Package: inkpot
inkpotA small simple library for generating documentation from docstringsinkpot is available onpip.Please give it a star if you like it!To know more about way this project was stated, checkout thisblog post.InstallationpipinstallinkpotUsagesingle filepython3-minkpotmyfile.pyor directorypython3-minkpotmyproject/output to a file (also works with directories)python3-minkpotmyfile.py>doc.md
python3-minkpotmyproject/>doc.mdMore functionality and better formatting might be added.ExampleOn thewikiyou can se the result of running inkpot on the inkpot source code.Here is a small example from the test files.Python filetests/.ex/add.pydefadd(a,b):""" add to objects """returna+bpython3-minkpottests/.ex/add.pyreturns markdown# tests/.ex/add.py
## tests/.ex/add.py
**def add(a, b)** \
`add to objects `LicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: inkpy
Django app provide interface to fill Django style template in odt file, and
additionally convert odt to pdf file. Can be run synchronously or asynchronously mode.ConfigurationsThis tool provide interface to fill Django style template in odt file.
Your task is to provide a python script which takes 2 arguments:
odt file path, and the path to save the file pdf.The recommended way is to use the services LibreOffice / OpenOffice.org,
which provides conversion from odt file to pdf from the console or Python script.We recommend to use the library PyODConverter:https://github.com/dieselpoweredkitten/pyodconverterWe need also to define the value in the configuration file, and add the application to INSTALLED_APPS:INKPY = {
    'script_path': '/path/to/your/convert/script.py',
    'tmp_dir': '/tmp/inkpy'
}
INSTALLED_APPS = INSTALLED_APPS + ['inkpy',]To install LibreOffice in Ubuntu use:$ sudo apt-get install libreoffice libreoffice-common openjdk-7-jre unoconvTo run LibreOffice service use:$ soffice --nologo --headless --nofirststartwizard --accept='socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.Service'Change Log0.1.0-alphaReleased on June 3, 2014This is the feature relese.expanded generate_pdf function with locale param,travis-ci support,0.0.2-alphaReleased on May 14, 2014This is the bugfix release.bugfix installation error,0.0.1-alphaReleased on March 14, 2014This is the alpha release of Inkpy.alpha release
Package: inkrement
InkrementInkrement provides tools for incremental data analysis. You might find it most useful when the questions you have can be answered from a subset of your data. The tools may also be useful in determining if a partial view of your data can be used to draw conclusions, ie are differences in your data by orders of magnitude or is your data fairly homogeneous.Typical usage often looks like this:#!usr/bin/env python

import inkrement

import numpy as np

x = np.random.normal(0, 1, 1000)
y = np.random.normal(0, 1, 1000)

inkrement.plot_lag(x, y, 10, 53, 8)Output looks like this:SummaryMatplotlib wrapper for incremental data visualization in pythonRequirementsMatplotlib
Package: inkscape_figure_manager
AboutProvide an "api" for managing Inkscape figures. Built for Neovim integration.Create, edit, and watch figures. Auto-exports figures when saved. This applies
to figures in directories specified withcreate(implicit),edit(implicit), andwatch(explicit) for the current session. When the watcher
background process (daemon) is stopped, the list of watched directories is lost;
therefore, one should edit their figures using the manager to ensure figures are
always being watched.This project was forked from the deceased, Gille Castel's, project. He wrote ablog postexplaining his workflow which
should be mostly applicable. The following changes have been made:rework the watcheruse markdown instead of LaTex.RequirementsPython >= 3.7Supported OS:LinuxMacuntested (supported at fork from Castel's project)Picker:rofifor Linuxchoosefor MacOS