Saravanan666/pypi-org huggingface dataset:
Package: isotoma.recipe.portmap
Portmap buildout recipeThis package provides abuildoutrecipe to calculate TCP port offsets.  This
is useful when you are installing a stack of software, with multiple parts
needing TCP port numbers.The calculated values are provided as buildout parameters in the section for
which this is the recipe.For example:[ports]
recipe = isotoma.recipe.portmap
base = 8080
offsets =
    foo 0
    bar 1

[baz]
recipe = build.me.a.foo
port = ${ports:foo}

[qux]
recipe = a.bar.if.you.please
listen = tcp:${ports:bar}This recipe will also produce an “INI file” called portmap.txt in the parts
directory, which is useful for reference if nothing else.Mandatory parametersbaseThe base port to calculate offsets fromoffsetsThe map of names to offsetsLicenseCopyright 2010 Isotoma LimitedLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.0.0.2Corrects silly typo0.0.1Adds check for blank lines in offset’s config stanza
Package: isotoma.recipe.squid
This package providesbuildoutrecipes for the configuration of squid.We use the system squid, this recipe will not install squid for you.  If
you wish to install squid, usezc.recipe.cmmiperhaps.Mandatory ParametersportThe port this squid should listen onOptional ParameterslocalnetA list of addresses that are allowed to access this proxysafe-portsA list of ports that can be proxiedconnect-safe-portsA list of ports that CONNECT is allowed forrefresh-patternsA list of refresh_patterns (as they are in the squid config)default-refreshRules that govern how long an object is confisdered fresh when it doesn’t have a refresh-pattern.RepositoryThis software is available from ourrecipe repositoryon github.LicenseCopyright 2010 Isotoma LimitedLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: isotoma.recipe.template
This recipe providesbuildoutwith a generic way to fill in a template from
buildout parameters. Lists and dictionaries are supported using JSON syntax.Mandatory ParametersinputPath to a template (in Cheetah format)outputWhere to write the templateExampleIn your template:${hello_world}
#for $bar in $foo
$bar
#end forAnd in your buildout.cfg:[buildout]
parts = template

[template]
recipe = isotoma.recipe.template
input = template.cfg
output = myfile.cfg
hello_world = Hello World
foo = ['foo', 'bar', 'baz']RepositoryThis software is available from ourrecipe repositoryon github.LicenseCopyright 2011 Isotoma LimitedLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: isotoma.recipe.zeopack
The built-in zeopack component of the various plone server recipes is great,
but we’ve got a couple of gaps:Before we started using zeopack we are a custom packer that would rotate the
backups made, allowing us to keep a few days of backups of our Data.fs.  We
missed it.There isn’t a zeopack-all to pack all your storages.You can’t control pack-days from the command line so you can’t have
different packing preferences per storage.This recipe can pack all storages configured using yourzeoserverandfilestoragerecipes.The recipeThis recipe is meant to co-operate with the following zeoserver recipes:https://github.com/plone/plone.recipe.zeoserverhttp://pypi.python.org/pypi/plone.recipe.zope2zeoserverhttps://github.com/isotoma/isotoma.recipe.zeoIt will use the zeopack settings set in these recipes (for example, pack credentials andpack-days).It will also configure itself to pack any storages specified through the following recipes:* http://pypi.python.org/pypi/collective.recipe.filestorage
* https://github.com/isotoma/isotoma.recipe.zope2instance/ (isotoma.recipe.zope2instance:filestorage)An example of its use would be something like this:[zeo]
recipe = isotoma.recipe.zeo
pack-rotate-days = 7

[filestorage_portal_catalog]
location = var/filestorage/catalog.fs
zodb-mountpoint = /portal/portal_catalog
zodb-cache-size = 100000
zeo-client-cache-size = 512MB
pack-rotate-days = 0
pack-days = 0

[filestorage]
recipe = isotoma.recipe.zope2instance:filestorage
zeo = zeo
parts = portal_catalog

[zeopack]
recipe = isotoma.recipe.zeopack
zeoserver = zeo
filestorage = filestorageThe scriptIf you use the recipe with a part calledzeopack(as above) then you will
have abin/zeopack. If this is invoked with no arguments it will run with
little output on stdout - only high severity events will be output.Runningbin/zeopackwith-vwill but it into verbose mode. Adding a 2nd-vwill make it even more verbose.You can use-dto turn on more debug output. Right now this just means you
see log output from the zeo code as well as the zeopack code.Changelog0.0.1 (2013-05-31)Ensure that storages param is set correctly.0.0.0 (2012-11-27)Initial release.
Package: isotoma.recipe.zope2install
isotoma.recipe.zope2installTHIS IS A FORK OFplone.recipe.zope2installTO MAKE IT USE THE BUILDOUT
DOWNLOAD API.OptionsTo specify which Zope 2 to use, use one of the following options:urlThe URL to a tarball to use for the Zope 2 installation.svnThe URL for an subversion checkout to use for the Zope 2 installation.locationThe path to a local, existing Zope 2 installation. Note: For this to work
Zope must have been built with the same Python used to run buildout.fake-zope-eggsIf set to true, add fake egg links to Zope 3 libraries, so that setuptools
can see and use them for dependencies lookup. Enabled by default since
version 3.0 of this recipe.additional-fake-eggsSpecify an optional list of additional fake eggs. Only include packages
which are available on the Python path.You can also specify an explicit version to fake for an egg. For example:additional-fake-eggs =
    ZODB3 = 3.7.1
    zope.annotation = 3.3.2Otherwise the faked eggs will always have version 0.0.The default value includes Acquisition, ClientForm, DateTime, docutils,
ExtensionClass, mechanize, Persistence, pytz, RestrictedPython,
tempstorage, ZConfig, zLOG, zodbcode, ZODB3, zdaemon and Zope2.skip-fake-eggsSpecify an optional list of packages, for whom no fake egg is created.
This allows to pull in new versions of some of the Zope packages via
normal version requirements.smart-recompileWill not recompile Zope if it finds .so or .pyd files. This means
you can move your buildout around and speed up builds.pythonSpecify a section that configures another executable than the one used bybin/buildout.  For example:[zope2]
recipe = isotoma.recipe.zope2install
...
python = python2.4

[python2.4]
executable = ${buildout:directory}/parts/python/bin/pythonIf you use many buildouts with the same Zope 2 version, then you can add
“zope-directory” in the “buildout” section in your ~/.buildout/default.cfg
file like this:[buildout]
zope-directory = /home/me/buildout/zopeFor installations from a tarball that directory will be used instead of the
parts directory in your buildout. Each version of Zope will get it’s own
directory but if it’s already installed the existing one will be reused.Exported variablesThe following variables are set by this recipe and can be used in other parts.locationThe path to the Zope installation root.Reporting bugs or asking questionsPlease report bugs on GitHub.Change History0.0 (2012-07-27)Initial version (fork of plone.recipe.zope2install 3.3).Download now uses zc.buildout.download.Download() api
Package: isotoma.zope.groupreadableblobstorage
This is a packaged version of a monkey patch to allow group-readable
blobstorage as found here:http://stackoverflow.com/questions/6168566/collective-xsendfile-zodb-blobs-and-unix-file-permissionsIt is modified from the original posting by Martijn Pieters as initial testing
sugested the patch was happening too late.Using with zopeAdding this egg to your zope instance is enough to apply the monkey patch - it
advertises it’s self using the z3c.autoinclude plugin mechanism and will be
loaded as the ZCML is loaded:[instance]
eggs =
    isotoma.zope.groupreadableblobstorageUsing with zeoTo use this with a zeoserver, you need to add an%import isotoma.zope.groupreadableblobstorageto your zeo.conf.If you are using plone.recipe.zeoserver you can do this:[zeoserver]
eggs = isotoma.zope.groupreadableblobstorage
zeo-conf-additional =
    %import isotoma.zope.groupreadableblobstorageNote that this form hasn’t beed tested.If you are using isotoma.recipe.zeo you can do this:[zeoserver]
eggs = isotoma.zope.groupreadableblobstorage
import = isotoma.zope.groupreadableblobstorage
Package: isotoma.zope.testpythonscript
Provides simple classes to be used for unit testing PythonScript and
FSPythonScripts from Zope / Plone.Uses the bare minimum of setup code and does not require Zope or
Plone to run.Example usage>>> from isotoma.zope.testpythonscript import PythonScript
>>> my_script = """## Script to output stuff given to it
... ##bind container=container
... ##bind context=context
... ##bind namespace=namespace
... ##bind script=script
... ##bind state=state
... ##bind traverse_subpath=traverse_subpath
... ##parameters=name=None
... ##title=
... ##
... return 'Hello world! Hello %s!' % name
... """
>>> py_script = PythonScript(my_script, 'my_script')
>>> py_script(name='Foo')
'Hello world! Hello Foo'
>>>See the documentation of isotoma.zope.testpythonscript.script for full
details of the class and of FSPythonScript.See isotoma.zope.testpythonscript.tests.test_script for more examples.
Package: isotonic-estimator-lib
This package implements the isotonic estimator for Wicksell's problem given in the paperAdaptive and Efficient Isotonic Estimation in Wicksell's Problem.How to use the package? After installing the package via the usual command line pip install, the user user can import the package using the lines of code:fromisotonic_estimator_libimportisotonic_estimatorthen, having a vector of observed samples Z, the user can obtain the isotonic estimator together with its plot by running:max_xs=max(Z)res=isotonic_estimator.estimator(max_xs,Z)where max_xs is needed for plotting purposes only. The resulting estimated cdf F of the hidden radii distribution is now stored into res. The resulting plot should look as follows:We have also designed a test application in tkinter which is included in the package and where the user can visualize the performance of the isotonic estimator. After running the following code:fromisotonic_estimator_libimporttester_qualitytester_quality.tester()a pop-up window will open asking to input a test hidden cdf F which can be chosen between the following set of distributions: "gamma, chi, betaprime, pareto, lognormal, truncnorm, arcsine, fatiguelife, weibull". The input is case sensitive. If the user gives non acceptable inputs, the tester will automatically produce an error. The suggested number of samples is 200, and it is not recommended to choose a value higher than 1000. The tester will produce some plots that illustrate the performance of the isotonic estimator. The resulting plot should look like this:
Package: isotools
IsoToolsIsoTools is a python module for Long Read Transcriptome Sequencing (LRTS) analysis.Key features:Import of LRTS bam files (aligned full length transcripts).Import of reference annotation in gff3/gtf format.Computation of quality control metrics.Annotation and classification of novel transcripts with biologically motivated classification scheme.Definition of alternative splicing events based on segment graphs.Detection of differential alternative splicing between samples and groups of samples.Data visualization.documentation:The documentation, including tutorials with real-world case studies and the complete API reference is available atreadthedocsinstallation:Isotools is available from PyPI, and can be installed with the pip command:python3 -m pip install isotoolsAlternatively, to install from github, use the following command:git clone https://github.com/MatthiasLienhard/isotools.git
cd isotools
python3 -m pip install .usage:This code block demonstrates the basic file import with IsoTools.
It uses a small test data set contained in this repository, and should run within seconds. The paths are relative to the root of the repository.
For more comprehensive real world examples see thetutorials.fromisotoolsimportTranscriptomeimportlogginglogging.basicConfig(format='%(levelname)s:%(message)s',level=logging.INFO)# import the reference annotationisoseq=Transcriptome.from_reference('tests/data/example.gff.gz')# import the isoseq dataforsain('CTL','VPA'):isoseq.add_sample_from_bam(f'../tests/data/example_1_{sa}.bam',sample_name=sa,group=sa,platform='SequelII')# save the imported file as pkl file (for faster import)isoseq.add_qc_metrics('../tests/data/example.fa')isoseq.save('../tests/data/example_1_isotools.pkl')Citation and feedback:If you run into any issues, please use thegithub issues report feature.For general feedback, please write me an email tolienhard@molgen.mpg.de.If you use isotools in your publication, please cite the followingpaper: Lienhard et al, Bioinformatics, 2023: IsoTools: a flexible workflow for long-read transcriptome sequencing analysis
Package: isotp-with-measurement
isotp-with-measurementThis project is a Python package meant to provide support for IsoTP (ISO-15765) protocol written in Python 3.This package contains a Python implementation of the protocol that works in the user space that may or may not be coupled withpython-can. It also contains a wrapper for a simplified usage of theLinux SocketCAN IsoTP kernel moduleDocumentationThe documentation is available here :http://can-isotp.readthedocs.ioRequirementsPython 3+Installationusing pip:pip install isotp-with-measurement
Package: isover10
check whether two lines (x1,x2) and (x3,x4) on the x-axis do overlap or notIt returns True if they DO overlap, otherwise FalseAs an example, (1,5) and (2,6) overlaps but not (1,5) and (6,8).The solution was based on the following schema:A0------------------A1
  B0------B1                          B0------B1

      if B1<A0 OR B0>A1 then
         Line B does NOT overlap Line A
      else
         Line B DOES ovelap Line ATherefore, we need to make sure the A and B are ordered:def swap(X):
    '''
    this function does make sure the pair is 
    ordered (a,b) where a<b
    (10, -5) would become (-5, 10)
    '''
    if X[0]>X[1]:
        return (X[1],X[0])
    return X

A, B = swap(A), swap(B)Proposed solution:def isbovera(A,B):# Return True if A Line overlaps B Line; False otherwise

A, B = swap(A), swap(B)

return not (B[1]<A[0] or B[0]>A[1])In order to call this function, please take a look at the testOverlapV0.py(venv) C:\work\vanhack\venv\Quiz\test_A>python testOverlapV0.pyThis program that accepts two lines (x1,x2) and (x3,x4) on the x-axis and returns
whether they overlap (True) or not overlap (False)Enter total number of lines to check, default=1 pair to checkplease add  1 lines to be checked - use comma(1,2),(3,4) should be typed as 1,2,3,41,5,2,6(1.0, 5.0) (2.0, 6.0) TrueTrue means (1,2) and (5,6) do overlapLet's check the following pair (1,5) and (6,8)(1,5) and (6,8) should be entered as below:1,5,6,8(1.0, 5.0) (6.0, 8.0) FalseFalse means (1,2) and (6,8) do NOT overlapNote:
We are using float although has no mention about it - set/intersection could also handle it but only for int figuresin order to run it as a batch module, a text file should be created with n pairs (comma separeted) as follow:first line, number of pair to check
second line next pair to check
and so onex:413 , -6 , -8 , 3-15 , -6 , 4 , -11-4 , -2 , 0 , -20-18 , 9 , 10 , 12** please check testsample.txt **python testOverlapV0.py <testsample.txtThis program that accepts two lines (x1,x2) and (x3,x4) on the x-axis and returns whether they overlap
Enter total number of lines to check, default=1 pair to check
please add  100 lines to be checked - use comma
(1,2),(3,4) should be typed as 1,2,3,4(13.0, -6.0) (-8.0, 3.0) True(-15.0, -6.0) (4.0, -11.0) True(-4.0, -2.0) (0.0, -20.0) True(-18.0, 9.0) (10.0, 12.0) False
Package: isoweek
The isoweek module provide the classWeek.  Instances represent specific weeks
spanning Monday to Sunday.  There are 52 or 53 numbered weeks in a year.  Week
1 is defined to be the first week with 4 or more days in January.It’s called isoweek because this is the week definition of ISO 8601.  This
standard also define a notation for identifying weeks; yyyyWww (where the “W”
is a literal).  An example is “2011W08” which denotes the 8th week of year
2011.Weekinstances stringify to this form.See alsohttp://en.wikipedia.org/wiki/ISO_week_dateTheWeekinstances are light weight and immutable with an interface similar
to the datetime.date objects.  Example code:from isoweek import Week
w = Week(2011, 20)
print "Week %s starts on %s" % (w, w.monday())

print "Current week number is", Week.thisweek().week
print "Next week is", Week.thisweek() + 1ReferenceConstructor:classisoweek.Week(year,week)All arguments are required.  Arguments should be ints.If the week number isn’t within the range of the given year,
the year is adjusted to make week number within range.  The
final year must be within range 1 to 9999.  If not ValueError
is raised.Other constructors, all class methods:classmethodWeek.thisweek()Return the current week (local time).classmethodWeek.fromordinal(ordinal)Return the week corresponding to the proleptic Gregorian ordinal,
where January 1 of year 1 starts the week with ordinal 1.classmethodWeek.fromstring(isostring)Return a week initialized from an ISO formatted string like “2011W08”
or “2011-W08”.  Note that weeks always stringify back in the former
and more compact format.classmethodWeek.withdate(date)Return the week that contains the given datetime.date.classmethodWeek.weeks_of_year(year)Return an iterator over the weeks of the given year.classmethodWeek.last_week_of_year(year)Return the last week of the given year.Instance attributes (read-only):Week.yearBetween 1 and 9999 inclusive.Week.weekBetween 1 and 53 inclusive (52 for most years).Supported operations:OperationResultweek1 = week2 + intweek2 is int weeks removed from week1.week1 = week2 - intComputes week2 such that week2 + int == week1int = week1 - week2Computes int such that week2 + int == week1week1 < week2week1 is considered less than week2 when week1 precedes week2 in time.Instance methods:Week.replace(year,week)Return a Week with the same value, except for those parameters
given new values by whichever keyword arguments are specified.Week.toordinal()Return the proleptic Gregorian ordinal the week, where January 1 of year 1
starts the first week.Week.day(num)Return the given day of week as a datetime.date object.
Day 0 is Monday.Week.monday(), Week.tuesday(),.. Week.sunday()Return the given day of week as a datetime.date object.Week.days()Return the 7 days of the week as a list.Week.contains(day)Check if the given datetime.date falls within the week.Week.isoformat()Return a string representing the week in ISO 8601 format; “yyyyWww”.
For example Week(2011, 8).isoformat() == ‘2011W08’.Week.__str__()For a Week w, str(w) is equivalent to w.isoformat()Week.__repr__()Return a string like “isoweek.Week(2011, 2)”.
Package: is-palindrome
is_palindromeIt is a simple python module for checking thepalindromeproperty in a string.InstallationYou can install is_palindrome fromPyPIpipinstallis_palindromeHow to useIt is a command line application just enter is_palindrome followed by a word in command prompt.$ is_palindrome aba
True

$ is_palindrome pavan
False

$ is_palindrome 
Empty StringThank you.
Package: is-palindrome-pavanchikkanna
is_palindromeIt is a simple python module for checking thepalindromeproperty in a string.InstallationYou can install is_palindrome fromPyPIpipinstallis_palindromeHow to useIt is a command line application just enter is_palindrome followed by a word in command prompt.$ is_palindrome aba
True

$ is_palindrome pavan
False

$ is_palindrome 
Empty StringThank you.
Package: ispammer
Introducing iSpammer Created by Mr. SparX
It's a SMS Bomber only For Indian Numbers
Full Tutorial VideoTutorial of iSpammerSteps:apt install python3 curl git -y
git clone https://github.com/MrSp4rX/iSpammer.git
cd iSpammer
pip3 install -r requirements.txt
python3 iSpammer.py -m Number_of_messages -t target's_mobile_numberFor Example:python3 iSpammer.py -m 100 -t 9797979797Using Our Creation in Wrong way is not permitted.If you do then You will responsible for yourself.
Package: ispapi
This is a clone of Hexonet ispapi 2.2.Install ispapipipinstallispapi# Import the ispapi libraryimportispapi# Create a connection with the URL, entity, login and password# Use "1234" as entity for the OT&E, and "54cd" for productive use# Don't have a HEXONET Account yet? Get one here: www.hexonet.net/sign-upapi=ispapi.connect(url='https://coreapi.1api.net/api/call.cgi',entity='1234',login='test.user',password='test.passw0rd')# Call a commandresponse=api.call({'Command':"QueryDomainList",'limit':5})# Display the result in the format you wantres=response.as_list()res=response.as_list_hash()res=response.as_hash()# Get the response code and the response descriptioncode=response.code()description=response.description()
Package: isparkcache
Defines a%%sparkcachecell magic in the IPython notebook to cache
DataFrame and outputs of long-lasting computations in a persistent
Parquet file in Hadoop. Useful when some computations in a notebook are
long and you want to easily save the results in a file.Based onipycachemodule.Installationpip install isparkcacheUsageIn IPython/Jupyter:%load_extisparkcacheThen, create a cell with:%%sparkcachedf1df2df=...df1=sql.createDataFrame(df)df2=sql.createDataFrame(df)When you execute this cell the first time, the code is executed, and
the dataframesdf1anddf2are saved in/user/$USER/sparkcache/mysparkapplication/df1and/user/$USER/sparkcache/mysparkapplication/df2. When you execute
this cell again, the code is skipped, the dataframes are loaded from
the Parquet and injected into the namespace, and the outputs are
restored in the notebook.Use the--forceor-foption to force the cell’s execution
and overwrite the file.Use the--reador-roption to prevent the cell’s execution
and always load the variables from the cache. An exception is raised
if the file does not exist.Use the--cachediror-doption to specify the cache
directory. Default directory:/user/$USER/sparkcache. You can
specify a default directory in the IPython configuration file in your
profile (typically in~\.ipython\profile_default\ipython_config.py) by adding the
following line:c.SparkCacheMagics.cachedir = “/path/to/mycache”If both a default cache directory and the--cachediroption are
given, the latter is used.