Saravanan666/pypi-org huggingface dataset:
Package: iniget
A command-line tool to extract, normalize, and JSONify values from aniniherit-enabled “INI”
file.Installation$pipinstallinigetUsageGiven the following two files,base.ini:[sect1]foo=barandconfig.ini:[DEFAULT]%inherit=base.iniThe following will extract the inheritedfoovalue:$inigetconfig.inisect1foobarMuch more is possible, including:listing sectionslisting optionsJSON-encoding the configurationJSON-interpreting option valuesControl case-sensitivity, interpolation, and default valuesOptions-sSECTION,--sectionSECTIONSpecify additional sections to extract from; can be specified
multiple times to add multiple sections.-C,--no-caseHandle option names case insensitively.-I,--no-inheritDisable processing of “%inherit” directives.-E,--no-expansionDisable ConfigParser option expansion (“interpolation”).-F,--no-fallbackDisables falling back to the raw option value when an option value
cannot be interpolated (this generally happens when it is
incorrectly formatted or it references undefined substitutions),
and causes an exception to be thrown.-K,--list-optionsList the option names only, not the values.-S,--list-sectionsList the section names only.-J,--json-parseIf option values are JSON-parseable, parse as such; additionally,
the following are interpreted as boolean values: ‘yes’, ‘true’,
‘on’, ‘off’, ‘no’, ‘false’.-j,--json-outputRender the output using JSON syntax.-dJSON,--defaultsJSONSet the ConfigParser default values from this JSON-parsed
dictionary.-r,--rawDon’t do anything fancy: show exactly what ConfigParser interprets
(requires exactly one section and one option); note that options
“–no-case”, “–no-inherit”, “–no-expansion” and “–defaults” are
still honored, but “–json-parse” is not.
Package: inigo
“Let me explain. No, there is too much. Let me sum up.” ~ Inigo MontoyaInigos are simple sequences which experience loss of information with time.
They are append-only and grow logarithmically in size with their input,
instead of linearly, discarding information as they grow.LicenseInigo is available under the MIT/X11 license; seeLICENSEfor details.CreditsThe name of the library and data structure goes to Allen Short, who also
provided the classic movie quote.David Barbour’s explanation of the possible uses of inigos inspired me to
provide a Python implementation. His article is athttp://awelonblue.wordpress.com/2013/01/24/exponential-decay-of-history-improved/and is worth reading.
Package: inigo.ploneanalyticswrapper
ContentsIntroductionContributorsChangelogIntroductionThis product adds a wrapper div around plone.analytics viewlet so that
it is easy to select it through diazo theme. The div is set with id
#plone-analyticsContributorsNote:  place names and roles of the people who contribute to this packagein this file, one to a line, like so:Joe Schmoe, Original AuthorBob Slob, contributed monkey patchesJane Main, wrote flibberty moduleChangelog1.0 (2012-11-12)Package created using templer
[]
Package: inigo-py
GraphQL MiddlewareExplore the docs »Homepage·View an example·Report BugDocumentationThis package is the Inigo plugin for Flask and Django python servers.Documentation is available here:docs.inigo.ioContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.LicenseDistributed under the MIT License.
Package: inigrep
inigrep is designed to read a particular simplistic dialect of
INI configuration files.  In a sense, it can be considered as
a “grep for INIs”, in that rather than parsing the file into
a typed memory structure for later access, it passes file each
time a query is done, and spits out relevant parts; treating
everything as text.  Hence, it’s not intended as replacement
for a full-blown configuration system but rather a quick __VDK_PYLIB_DESCRIPTION__ dirty
“swiss axe” for quick __VDK_PYLIB_DESCRIPTION__ dirty scripts.
Package: ini-klass
ini klassThe ini file parser.InstallTo install a wheel from PyPI,pipinstall--upgradeini-klassUsageExample ini file,[example]id=12name=Johnstatus=truesalary=100.50group=car, book, phoneTo parse ini file above,frominiimportIniConfig# read from `CONFIG` environmentconfig=IniConfig.read()# read from fileconfig=IniConfig.read('/tmp/file.ini')# access configuration valuename=config.example.name
Package: ini-parser
ini-parserAn ini format parser and serializer for Python.Sections are treated as nested dictionaries. Items before the first heading are saved on the object directly.UsageConsider an ini-fileconfig.inithat looks like this:; this comment is being ignoredscope=global[database]user=dbuserpassword=dbpassworddatabase=use_this_database[paths.default]datadir=/var/lib/dataarray[]=first valuearray[]=second valuearray[]=third valueYou can read, manipulate and write the ini-file like so:importiniconfig=ini.parse(open('config.ini').read())config['scope']='local'config['database']['database']='use_another_database'config['paths']['default']['tmpdir']='/tmp'delconfig['paths']['default']['datadir']config['paths']['default']['array'].append('fourth value')withopen('config_modified.ini','w+')asf:f.write(ini.stringify(config,{'section':'section'}))This will result in a file calledconfig_modified.inibeing written to the filesystem with the following content:[section]scope=local[section.database]user=dbuserpassword=dbpassworddatabase=use_another_database[section.paths.default]array[]=first valuearray[]=second valuearray[]=third valuearray[]=fourth valuetmpdir=/tmpAPIdecode(inistring)Decode the ini-style formattedinistringinto a nested object.parse(inistring)Alias fordecode(inistring)encode(object, [options])Encode the objectobjectinto an ini-style formatted string. If the
optional parametersectionis given, then all top-level properties
of the object are put into this section and thesection-string is
prepended to all sub-sections, see the usage example above.Theoptionsobject may contain the following:sectionA string which will be the firstsectionin the encoded
ini data. Defaults to none.whitespaceBoolean to specify whether to put whitespace around the=character. By default, whitespace is omitted, to be friendly to
some persnickety old parsers that don't tolerate it well. But some
find that it's more human-readable and pretty with the whitespace.If astringoptions is passed in, then it is assumed to be thesectionvalue.stringify(object, [options])Alias forencode(object, [options])safe(val)Escapes the stringvalsuch that it is safe to be used as a key or
value in an ini-file. Basically escapes quotes. For exampleini.safe('"unsafe string"')would result in"\"unsafe string\""unsafe(val)Unescapes the stringval
Package: iniparser2
iniparser2iniparser2is An INI parser or a Config parser.this package is the improved version ofiniparserwith more features.Installationusing pipfrom pypipip install iniparser2pip install iniparser2 --upgradefrom github repositorypip install git+https://github.com/HugeBrain16/iniparser2.gitfrom sourcepip install .from sourcepython setup.py installExamplesread stringimportiniparser2string="""[me]name = joshage = 0"""parser=iniparser2.INI()parser.read(string)print(parser)using parser methodsimportiniparser2parser=iniparser2.INI()parser.set_section("me")parser.set("name","josh",section="me")parser.set("age",0,section="me")print(parser)orimportiniparser2parser=iniparser2.INI()parser.set_section("me")parser["me"]["name"]="josh"parser["me"]["age"]=0print(parser)read from fileimportiniparser2parser=iniparser2.INI()parser.read_file("filename.ini")print(parser)read-write filefile.inicar=1bike=1main.pyimportiniparser2parser=iniparser2.INI(convert_property=True)parser.read_file("file.ini")parser.set("car",parser.get("car")+1)parser.remove_property("bike")parser.write("file.ini")parser.read_file("file.ini")print(parser)orimportiniparser2parser=iniparser2.INI(convert_property=True)parser.read_file("file.ini")parser["car"]+=1delparser["bike"]parser.write("file.ini")parser.read_file("file.ini")print(parser)Exceptionsexceptions because why notbase exceptionParsingErrorParseSectionErrorParsePropertyErrorParseDuplicateErrorsomething elseDuplicateErrorPropertyErrorSectionError
Package: inipgdump
Installation:pip install inipgdumpCreates a dump of the PostgreSQL database. The naming format of dump:$host_$dbname_$datetime.dumpStores the specified number of dumps, deletes the old dumps.Options to create a dump taken from the configuration file in the
following format:[database]
DATABASE_NAME = your_value
DATABASE_USER = your_value
DATABASE_PASSWORD = your_value
DATABASE_HOST = your_value
DATABASE_PORT = your valueUsage:(without rotation): inipgdump config_file.ini /dump/dir
(with rotation): inipgdump config_file.ini /dump/dir keep_countExamples of usage in the cron:# Daily backup
0 4 2-31 * 0-5 inipgdump /path/to/config_file.ini /dumps/daily 7
# Weekly backup
0 4 2-31 * 6 inipgdump /path/to/config_file.ini /dumps/weekly 8
# Monthly backup
0 4 1 2-12 * inipgdump /path/to/config_file.ini /dumps/monthly 12
# Yearly backup
0 4 1 1 * inipgdump /path/to/config_file.ini /dumps/yearly 10
Package: ini.py
a lightweight ini parserhow to installpipinstallini.pyconverts an ini file to a python dictionaryexample ini file; main section[section]key=valuekey2="value2"key3='value3'reading it using ini.pyimportinitext=open('config.ini','r').read()config=ini.parse(text)section=config['section']print(section['key'],section['key2'],section['key3'])outputvalue value2 value3converting python dict to iniimportiniconfig=ini.convert({"section":{"key":"value"},"section2":{"key2":"value2"}})print(config)output[section]key=value[section2]key2=value2
Package: ini-reader
Installationpip install ini-readerDocumentationFirst Import The Module:importini_readerAfter Lets Create File With Extension ".ini" And Name "Very Important".[GITHUB]username="hacker228"password=12345After Creating Lets Read INI.importini_readerini_reader.INIReader.IniRead("Very Important.ini")ini_reader.INIReader.Read("GITHUB","username",PRINT=1)Result:>>>"hacker228"Print=0 - Read Files Without Print It
Print=1 - Read Files And Print ItAnd Let Get Help Offline:ini_reader.INIReader.Help()This Is Full Documentation.
Package: iniscrapec
iniscrapeciniscrapec is a simple scraper project that take a TAX Code of a company and return the PEC address
of itTechiniscrapec uses a number of open source projects to work properly:[pip]==20.2.2[beautifulsoup4]~=4.9.1[mechanize]~=0.4.5[pymongo]~=3.11.0[dnspython]~=2.0.0[python_dotenv]~=0.14.0[setuptools]~=50.3.0And iniscrapec itself is open source with apublic repositoryon GitHub.Also it uses a third part service to solve the reCaptcha "I am not a robot"[2captcha]Installationiniscrapec requirespython 3.7to run.How to get it from git$gitclonehttps://github.com/riccardopaltrinieri/iniscrapec.gitHow to get it from pip$pipinstalliniscrapecAfter installationYou need to fill the environment variables in the .env file:CAP_KEY = "" # The API key given from the site 2capthca.com
DB_USER = "" # The user of the Mongo DB 
DB_PWD = "" # The password of the Mongo DB
DATA_SITEKEY = "" # The captcha code as written in the step 2 of the link below
URL = "https://www.inipec.gov.it/cerca-pec/-/pecs/companies" #the gov website where to search the pec
TAX_EXAMPLE = "" # Variable used for testing and debugginglink on how to use 2captchaHow to run it with a simple [tkinter] gui$cd.\path\of\repo\iniscrapec
$python3iniscrapec.pyYou can also use only the scraper code with$cd.\iniscrapec\modules
$python3scraper.pyLicenseMIT
Package: init
Init is a program to init a package folder structure.InstallationIt is easy to install with pip:$ sudo pip install initIf you don’t have pip, you can install it with easy_install:$ sudo easy_install initHow to UseTake an example of a python package, let’s call it afool:$ mkdir fool
$ init pythonAnd answer the questions, you will everything you need for a python package.TemplatesYou can find all offical templates oninit-template@github.You can also use your own templates:$ init {github username}/{github repo}
Package: initable
InitableInitableis a Python package that helps createDRY-er classes.InstallationInitableis available throughpip.pipinstallinitableUsageDefine an instance method you would like to be able to initialize the class with as well.frominitableimportinitializableclassFoo(object):@initializabledefbar(self,arg):self.baz=do_something(arg)You can now call that method on the class and receive an initialized instance upon completion:foo=Foo.bar(arg)Or call the method on an existing instance:foo=Foo()# do stuff...foo.bar(arg)# `bar()` is called on instance `foo`TestingTo run tests, execute the following from the root of the project:poetryrunpytesttests/ContributingPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.Code of ConductBy participating in this project, you agree to abide by the terms of theCode of Conduct.LicenseInitableis licensed under theHippocratic License.
Package: init-args-serializer
Python init-args based SerializerThis package provides improved pickling support. Instead of storing the entire state dict__dict__, the parameters passed to the initializer__init__()are captured.
During unpickling, the captured parameters are used to create a new object instance.This behaviour is implemented using the__reduce__()hook.
Thus, it is strongly discouraged to override the__reduce__()method.
If you need to pickle variables beyond the constructor parameters, you should use the regular__getstate__()and__setstate__()methods.Usage:class MyCustomClass(OptionalBaseClass, Serializable):
    
    def __init__(self, *args, **kwargs):
        # Recommended to call this first
        Serializable._init(self, locals())
Package: init-attrs-with-kwargs
init_attrs_with_kwargsA helper for type-checked command-line argument store.Please refer to thehome page on the githubfor installation and usage.Samplefrominit_attrs_with_kwargsimportcast_set_attrsclassMyArgs:count:intname:strmax_length:int# Initialize from docopt's return value, with casting str to intargs=cast_set_attrs(MyArgs(),**{'<count>':'1','--name':"Joe",'--max-length':'100'})print("args.count=%s"%repr(args.count))print("args.name=%s"%repr(args.name))print("args.max_length=%s"%repr(args.max_length))
Package: init-equation
init-equationInstall using pippipinstallinit-equationUsageinit-equation-hUsage:init-equation[OPTIONS]Createsproblemformattexfile

Options:-c,--chapter[kinematics|projectile|laws-of-motion|work-energy-power|circular-motion|rotation|center-of-mass|gravitation|simple-harmonic-motion|elasticity|fluid-mechanics|electrostatics|current-electricity|capacitors|magnetics|electromagnetic-induction|alternating-current|electromagnetic-waves|atomic-structure|photoelectric-effect|x-rays|nuclear-physics|semiconductors|communiation-system|ray-optics|wave-optics|vector-analysis]Chaptername-s,--size[square|h-rectangle|v-rectangle]Sizeofthecanvas[default:1]-n,--equation_numberINTEGER-a,--append_to_databaseflag(-aturns-on)appendstheequationtodatabase-c,--copyIftruecopiesthepreviousmain.texfile-h,--helpShowthismessageandexit.
Package: init-file-checker
__init__file checkerTool that ensures that__init__.pyfiles are not missing. Various Python tools needs these files, most notably pylint.Installationpipinstallinit-file-checkerInstallation requires Python 3.8.5 or higher.UsageA sample command that checks presence of__init__.pyfiles is:init-file-checkermy_project/If you want to create missing__init__.pyfiles, use--add-missingcommand line option:init-file-checker--add-missingmy_project/The created files will have zero size.LicenseMITDevelopment setupMake sure you havebrewpackage manager installed.Installpyenv,pyenv-virtualenvandpoetry:brewinstallpyenv
brewinstallpyenv-virtualenv
brewinstallpoetryAdd the following lines to.zshrcor.bash_profileand restart the terminal:# Pyenv settingsexportPYENV_ROOT="$HOME/.pyenv"exportPATH="$PYENV_ROOT/bin:$PATH"eval"$(pyenvinit--path)"eval"$(pyenvvirtualenv-init-)"Create Python virtual environment with the correct Python version:makeinstall-python
makecreate-environmentInstall all dependenciesmakeinstall-dependenciesIf you need to delete the Python virtual environment, you can do so with the
commandmake delete-environment.Running unit tests and code checksIf you make code change, run unit tests and code checks with the command:makecleanwhitespace-format-checkisort-checkblack-checkflake8pydocstylepylintruffmypytestcoverageor, equivalently, with the command:makecleanlinttestcoverageEach make target runs different checks:cleandeletes temporary fileswhitespace-format-checkrunswhitespace-formatchecker on all filesisort-checkrunsisortchecker of imports in*.pyfilesblack-checkrunsblackcode format checker on*.pyfilesflake8runsflake8code style checker on*.pyfilespydocstylerunspydocstyledocstring checker on*.pyfilespylintrunspylintcode checker on*.pyfilesruffrunsruffcode checker on*.pyfilesmypyrunsmypytype checker on*.pyfilestestruns unit testscoveragegenerates code coverage reportlintruns all code checksYou can automatically format code with the command:makeisort-formatblack-formatwhitespace-formatModifying dependenciesThe list of Python packages that this project depends on is specified inpyproject.tomland inpoetry.lockfiles. The filepyproject.tomlcan be
edited by humans. The filepoetry.lockis automatically generated bypoetry.Install a development dependency with the command:poetryadd--dev<some_new_python_tool>Install a new production dependency with the command:poetryadd<some_python_library>Manual modification ofpyproject.tomlInstead of usingpoetry addcommand, you can editpyproject.tomlfile. Then,
regeneratepoetry.lockfile with the command:poetrylockor the command:poetrylock--no-updateThe latter command does not update already locked packages.Fixing broken Python environmentIf your Python virtual environment becomes broken or polluted with unnecessary
packages, delete it, recreate it from scratch and install dependencies a fresh
with the following commands:makedelete-environment
makecreate-environment
makeinstall-dependencies
Package: initgroups
OverviewWarningThis package is deprecated.os.initgroupsis part of the standard
library as of Python 2.7.initgroups provides a convenience function to deal with user / group ids on
Unix-style systems.Changelog4.0 (2017-10-13)Deprecate entire package:os.initgroupsis part of the standard
library as of Python 2.7.3.0 (2016-07-19)This package is now a shim aroundos.initgroups, which got
added in Python 2.7.2.13.0 (2010-03-30)Released as separate package.
Package: initial
initialFor testing ws python package.Installation$pipinstallinitialUsageinitialcan be used to count words in a text file and plot results as follows:frominitial.initialimportcount_wordsfrominitial.plottingimportplot_wordsimportmatplotlib.pyplotaspltfile_path="text"# path to your filecounts=count_words(file_path)fig=plot_words(counts,n=10)plt.shoq()ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licenseinitialwas created by Ming. It is licensed under the terms of the MIT license.Creditsinitialwas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: initialize
.. raw:: html<h1 style="text-align:center; text-decoration:underline;color:green"> Initialize </h1>A Template Project Creator for python, html, css, Javascript, Wordpress Plugin, Wordpress ThemeBenifits--------* Auto Creation Of Standard Document Structure* Pre Initialised Git Repository* Addition of Remote Repository After initialization* Additon Of Tags From 0.1.0* A Hour StartInstallation============The `Python Packaging Guide`_ contains general information about how to manageyour project and dependencies... _Python Packaging Guide: https://packaging.python.org/current/Released version----------------Install or upgrade using pip. ::pip install -U initializeDevelopment-----------The latest code is available from `GitHub`_. Clone the repository then installusing pip. ::git clone https://github.com/AngrySoilder/initializepip install -e ./initializeOr install the latest build from an `archive`_. ::pip install -U https://github.com/AngrySoilder/initialize/tarball/master.. _GitHub: https://github.com/AngrySoilder/initialize.. _archive: https://github.com/AngrySoilder/initialize/archive/master.tar.gzUsage=====.. code-block:: bashinitialize javascript # initialize javascript library File Structureinitialize python  # initial standard python package structureinitialize html # Html Library Structureinitialize shtml # Simple Html Css Javascript Website Structureinitialize wp_theme # Simple Wordpress Theme Development Structureinitialize wp_plugin # Simple Wordpress Plugin Development StructureContributing=============One Can Contribute to this project by **creating a issue at issue** at `https://github.com/AngrySoilder/initialize` Or **creating a pull request**Pull Request Process--------------------1. Ensure any install or build dependencies are removed before the end of the layer when doing abuild.2. Checkout pull requests list at `https://github.com/AngrySoilder/initialize/pulls` to ensure that you are not dublicating anybody's work3. Update the README.md with details of changes to the interface, this includes new environmentvariables, exposed ports, useful file locations and container parameters.4. Increase the version numbers in any examples files and the README.md to the new version that thisPull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).5. You may merge the Pull Request in once you have the sign-off of by other developers, or if youdo not have permission to do that, you may request the one of maintainers of project to merge it for you.Development Process-------------------* Create a local copy of repository in our machiene* Install dependencies which are currently used by project* Make Changes To your Project* Write atleast Basic Test which covers your changes* Improve docs with your changes* Create a coverage report* Pull...How To issue------------While registering a issue it will be beneficial if creator of issue desribe following things about issue* operating system he used* steps to generte error or bug* if not know steps in what function or method bug generated
Package: initial-report
Initial ReportsThis Python package generates high-level overviews of spatial adjacency graphs.
The goal is to give the user visibility into any possible anamolies in their
spatial data.InstallationYou can install this package from PyPI usingpip:pip install initial-reportUsageIf you have the shapefile you're interested in saved at./my_shapefile.shp,
you can runinitial_report ./my_shapefile.shpto generate a report, which will be saved asoutput.html.