Saravanan666/pypi-org huggingface dataset:
Package: cal-pro
CalPro - Calculator and Plotting LibraryCalPro is a Python library that provides a wide range of mathematical and plotting functionalities. With CalPro, you can perform various calculus operations, including integration, double integration, triple integration, and differentiation. You can also create 2D and 3D plots of functions, solve equations for unknown variables, and perform simple calculations.InstallationYou can easily install CalPro using pip:pip install cal_proorpip install cal_pro ==(version)Getting StartedOnce installed, you can import the cal module from cal_pro to access its functions.from cal_pro import calCalculationscal.integral_(): Calculate the integral of a function.cal.definite_integral_(): Calculate the definite integral of a function.cal.double_integral_(): Calculate the double integral of a function.cal.triple_integral_():>cal.triple_integral_(): Calculate the triple integral of a function.cal.deriviation(): Compute the derivative of a function.cal.simple_cal(): Perform simple arithmetic calculations.Equation Solvingcal.equation(): Solve equations for unknown variables.Plottingcal.plot_1(): Create 2D plots of a single function.cal.plot_2(): Create 2D plots of multiple functions.cal.plot_3(): Create 3D plots of functions.cal.plot_x_y(): Create 2D plots of functions in the x-y plane.cal.plot_x_z(): Create 2D plots of functions in the x-z plane.cal.plot_y_z(): Create 2D plots of functions in the y-z plane.
Package: calpython
CalculatorTable of ContentsGeneral InformationTechnologies UsedInstallationUsageFeaturesProject StatusAcknowledgementsContactLicenseGeneral InformationThis calculator can be used for simple arithmetic operations. Checkfeaturesof this calculator for details.Technologies UsedPython - version 3.8InstallationUse the package installerpipto install calculator.!pipinstallgit+https://github.com/fortune-uwha/tc_calculatorfromcalculator.calculatorimportCalculatorUsagecalculator=Calculator()calculator.add(12)calculator.subtract(3)calculator.divide(3)calculator.nroot(3)calculator.reset_memory()FeaturesAddition / SubtractionMultiplication / DivisionTake (n) root of numberReset memory: Stores results in memory until resetProject StatusProject is: completeAcknowledgementsThis project was based onTuring Collegelearning on Software testing, licensing and documentation.ContactCreated by@fortune_uwha- feel free to contact me!LicenseThis project is open source and available under the terms of theMITlicense.
Package: calqtator
CalQtatorA simple calculator widget built withPySide6.Installation$ pip install calqtatorUsageTerminal:$ calqtatorEmbed CalQtator in an existing app:importsysfromPySide6.QtWidgetsimportQApplication,QMainWindowfromcalqtatorimportCalQtatordefmain():app=QApplication(sys.argv)main_window=QMainWindow()main_window.setCentralWidget(CalQtator())main_window.show()app.exec_()if__name__=='__main__':main()Changelog0.2.0Added Changelog to README.md.Button reorganisation.More key bindings.Anticipate unexpected EOF exceptions when=is triggered.0.1.0Basic calculator functionality.
Package: calr
calrDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-ncalr--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallcalrnbdev# activate conda environment$condaactivatecalr# make sure the calr package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the calr package$nbdev_preparePublishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'$nbdev_conda--mambabuild--build_args'-c conda-forge -c dsm-72'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/calr.gitor fromconda$condainstall-cdsm-72calror frompypi$pipinstallcalrDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.
Package: calrissian
CalrissianCWL on KubernetesOverviewCalrissian is aCWLimplementation designed to run inside a Kubernetes cluster. Its goal is to be highly efficient and scalable, taking advantage of high capacity clusters to run many steps in parallel.Cluster RequirementsCalrissian requires aKubernetesorOpenshift/OKDcluster, configured to provisionPersistentVolumeswith theReadWriteManyaccess mode. Kubernetes installers and cloud providers don't usually include this type of storage, so it may require additional configuration.Calrissian has been tested with NFS using thenfs-client-provisionerand with GlusterFS usingOKD Containerized GlusterFS. Many cloud providers have an NFS offering, which integrates easily using the nfs-client-provisioner.Scalability / Resource RequirementsCalrissian is designed to issue tasks in parallel if they are independent, and thanks to Kubernetes, should be able to run very large parallel workloads.When runningcalrissian, you must provide a limit the the number of CPU cores (--max-cores) and RAM megabytes (--max-ram) to use concurrently. Calrissian will use CWLResourceRequirementsto track usage and stay within the limits provided. We highly recommend using accurate ResourceRequirements in your workloads, so that they can be scheduled efficiently and are less likely to be terminated or refused by the cluster.calrissianparameters can be provided via a JSON configuration file either stored under~/.calrissian/default.jsonor provided via the--confoption.Below an example of such a file:{"max_ram":"16G","max_cores":"10","outdir":"/calrissian","tmpdir_prefix":"/calrissian/tmp"}CWL ConformanceCalrissian leveragescwltoolheavily and most conformance tests for CWL v1.0. Please seeconformancefor further details and processes.To view open issues related to conformance, see theconformancelabel on the issue tracker.SetupPlease seeexamplesfor installation and setup instructions.Environment VariablesCalrissian's behaviors can be customized by setting the following environment variables in the container specification.Pod lifecycleBy default, pods for a job step will be deleted after terminationCALRISSIAN_DELETE_PODS: Defaulttrue. Iffalse, job step pods will not be deleted.Kubernetes API retriesWhen encountering a Kubernetes API exception, Calrissian uses a library to retry API calls with an exponential backoff. See thetenacity documentationfor details.RETRY_MULTIPLIER: Default5. Unit for multiplying the exponent interval.RETRY_MIN: Default5. Minimum interval between retries.RETRY_MAX: Default1200. Maximum interval between retries.RETRY_ATTEMPTS: Default10. Max number of retries before giving up.
Package: cals
Author:Behrouz SafariLicense:MITcalsA python package for calendrical calculationsInstallationInstall the latest version ofcalsfromPyPI:pip install calsRequirements arenumpy,scipy,pandasandrequests.ExamplesLet's read a file:>>>fromcalsimportGregorian,gregorian_from_jd>>>g=Gregorian(2023,2,1,2,36,15)>>>gGregorian(2023,2,1,2,36,15,0)>>>jd=g.to_jd()>>>jd2459976.6085069445>>>date=gregorian_from_jd(2459976.5)>>>dateGregorian(2023,2,1,0,0,0,0)>>>date.add_days(10)>>>dateGregorian(2023,2,11,0,0,0,0)>>>date.to_persian()Persian(1401,11,22,0,0,0,0)>>>>>>fromcalsimportPersian,persian_from_jd>>>p=Persian(1401,11,8,15)>>>pPersian(1401,11,8,15,0,0,0)>>>p.to_gregorian()Gregorian(2023,1,28,15,0,0,0)>>>p.to_jd()2459973.125>>>persian_from_jd(2459973.125)Persian(1401,11,8,15,0,0,0)>>>p.add_days(50)>>>pPersian(1401,12,28,15,0,0,0)See more atastrodatascience.net
Package: calsi
Contains long discription about software
MIT LicenseCopyright (c) 2021 xyzPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: calTADs
Introduction3C-based techniques(5C, Hi-C) have revealed the existence of topologically
associating domains(TADs), a pervasive sub-megabase scale structure of chromosome.
TADs are contiguous regions in which loci interact much more frequently with
each other than with loci out of the region. Visually, TADs appear as square
blocks along the diagonal on a heatmap.There are various methods for TAD identification[1],[2]. Most methods
apply a two-step scheme: First, transform TAD or boundary signal into 1d
profile using some statistic(e.g. Directionality Index, DI); Then, use the
1d profile to identify potential boundaries and produce a set of discrete
non-overlapping TADs. However, the organization of chromosome structure is
always intricate and hierarchical. Phillips-Cremins JE et al.[3]utilized
a modified DI of multiple scales subdivided TADs into smaller subtopologies (sub-TADs)
using 5C data. Here, I extend their algorithm to the whole genome and develop
this software.calTADsare tested on traditional[4]andin-situ[5]Hi-C data, both generating
reasonable results.InstallationPlease check the file “INSTALL.rst” in the distribution.LinksRepositoryPyPIUsageOpen a terminal, typecalTADs-hfor help information.calTADs contains a process management system, so you can submit the same
command repeatedly to utilize the parallel power as much as possible.Reference[1]Dixon JR, Selvaraj S, Yue F et al. Topological domains in
mammalian genomes identified by analysis of chromatin interactions.
Nature, 2012, 485: 376-380.[2]Sexton T, Yaffe E, Kenigsberg E et al. Three-dimensional folding
and functional organization principles of the Drosophila genome.
Cell, 2012, 148: 458-472.[3]Phillips-Cremins JE, Sauria ME, Sanyal A et al. Architectural protein
subclasses shape 3D organization of genomes during lineage commitment.
Cell, 2013, 153(6):1281-95.[4]Lieberman-Aiden E, van Berkum NL, Williams L et al. Comprehensive
mapping of long-range interactions reveals folding principles of the
human genome. Science, 2009, 326: 289-293.[5]Rao SS, Huntley MH, Durand NC. A 3D map of the human genome at
kilobase resolution reveals principles of chromatin looping.
Cell, 2014, 159(7):1665-80.
Package: caltechdata-api
caltechdata_apiPython library for using the CaltechDATA APIcaltechdata_write write files and a DataCite 4 standard json record to CaltechDATA repositorycaltechdata_edit edits records in CaltechDATAget_metadata gets metadata from CaltechDATA recordsRequires Python 3 (Recommended via Anacondahttps://www.anaconda.com/download) with reqests library.ExamplesThere are some example python scripts in the GitHub repository.Create a record:pythonwrite.pyexample.json-fnameslogo.gif
pbkn6-m9y63The response will be the unique identifier for the record. You can put this at
the end of a url to visit the record (e.g.https://data.caltechlibrary.dev/records/pbkn6-m9y63)Edit a record (make changes to the example.json file to see a change)python edit.py example.json -id pbkn6-m9y63
10.33569/pbkn6-m9y63The response is the DOI for the record, which includes the unique identifier
for the record in the default configuration.Some groups have worked with the library to create custom DOIs. These can be
passed in the metadata like:pythonwrite.pyexample_custom.json-fnameslogo.gif
m6zxz-p4j22And then you can edit withpython edit.py example_custom.json -id m6zxz-p4j22
10.5281/inveniordm.1234This returns the custom DOI of the record if it is successful.SetupInstall by typing 'pip install caltechdata_api'UsageYou need to acquire a personal access token from your CaltechDATA account
(find it at the top right of your screen under "Applications").
Then copy the token to token.bash.  Typesource token.bashin
the command line to load the token.Only test your application on the test repository (data.caltechlibrary.dev).  Testing the API on the public
repository will generate junk records that are annoying to delete.
Package: caltool
"""
This is a demo for cvisp, 开发板、相机等拍摄设备取到的RAW with metadata，可以直接用该工具包进行demosaic，得到RGB图像，以便于展示。
- pip install cvisp
- from cvisp.utils import Demosaic_RAW""""""
三种模式，分别为：预览raw图，推理GDIP，预览demosaic（自用）
run_demosaic(): return the demosaiced image, (HWC, u16, bmp)
run_isp_with_meta(): return the rgb image , (HWC, u8, bmp)
run_model(weight_path = './your.pt', model = GDIP(), device = 'cuda:0'): return the output of       your          model, (HWC, u8, bmp)完整传参说明：
- Demosaic_RAW(mode : str = None, input_data_path : str = None, show_meta_data : bool = True, 
show_image : bool = False, save_image : bool = True, result_output_dir : str = None):
    mode: defatult = 'simple_dm', choices = ['simple_dm', 'opencv_dm']
    input_data_path: raw图片路径，支持单张图片，如：'./test.dng'
    show_meta_data: show the meta data of the input data, default = True，你可以选择是否展示meta data
    show_image: show the output image, default = False，你可以选择是否展示输出图像
    save_image: save the output image, default = True，你可以选择是否保存输出图像，保存路径为result_output_dir
    result_output_dir: the output dir of the result image, default = './demosaic/'，你可以选择保存路径"""ifname== 'main':
for im in glob.glob(image_path_list + '*.dng'):
demosaicd_raw = Demosaic_RAW(input_data_path = im).run_model(weight_path = './your.pt', model = GDIP(), device = 'cuda:0')
# rgb = Demosaic_RAW(input_data_path = im).run_isp_with_meta()
# gdip_out = Demosaic_RAW(input_data_path = im).run_model(weight_path = './your.pt', model = GDIP(), device = 'cuda:0')
Package: caluma
Caluma is a collaborative form editing and workflow service.Website:caluma.ioDocumentation:caluma.gitbook.ioGetting startedRequirementsdockerdocker-composeAfter installing and configuring those, downloaddocker-compose.ymland run the following command:docker-composeup-dSchema introspection and documentation is available athttp://localhost:8000/graphqland can be accessed using a GraphQL client such asAltair. The API allows to query and mutate form and workflow entities which are described below.You can read more about running and configuring Caluma in thedocumentation.LicenseCode released under theGPL-3.0-or-later license.For further information on our license choice, you can read up on thecorresponding GitHub issue.Contributing guide:CONTRIBUTING.mdMaintainer's Handbook:MAINTAINING.md
Package: calusern
Calusern(French)Calusern est le programme qui génère le sitehttps://cedricvanrompay.gitlab.io/annales-brevet-et-bacà partir de la sourcehttps://gitlab.com/cedricvanrompay/annales-brevet-et-bac.
Le développement de Calusern a lieu principalement en anglais.Calusern is the software that generateshttps://cedricvanrompay.gitlab.io/annales-brevet-et-bacfrom the source located athttps://gitlab.com/cedricvanrompay/annales-brevet-et-bac.
Package: caluxPy-ext
CaluxPy Extraction ToolProject DescriptionPython package for Fixed Income Valuation and Analysis ranging from individual assets to multiple assets, Modern
Portfolio Theory and some basics of Issuance Risk Management. It is important to note that this covers both couponed
and zero-coupon bonds.Table of ContentsPayment Types CoveredMethodologies of Valuation CoveredMain Features and FunctionsDependenciesWhere to get itDocumentationPayment Types CoveredBullet Payment:this kind of repayment is a lump sum payment made for the entirety of an outstanding loan amount, usually at maturity.Amortized:in this kind of payment the issuer amortizes in previously scheduled dates x pertentage of the outstanding amount in t period of time with could have the same periodicity as the coupons, but should be paid with the coupons, i.e. the coupon peiodicity could be semi-anually and the amortization could be anually; both periodicities are not the same but an amortization will be made on a coupon payment date and that should hold true. For the amortizations it would be needed the starting date, the amount of amortizations, the percentage of the outstanding amount to be amortized and the periodicity.Payment in Kind (PiK):this is the use of a good or service as payment instead of cash. Also refers to the payment of interest ot dividends to investors of bonds, notes, or preferred stock with additional securities or equity instead of cash. In the scope of this project, for earlier versions, the coupons, would be held and their interest would compound. As the amortized payments this will assume the a star date for the PiK payments and start holdind the cashflows.Methodologies for the calculation of Cash Flows (Coupons) CoveredICMA:Actual/Actual:Actual/365:Actual/360:ISMA-360:Main Features and FunctionsSingle Asset Calculator:Multiple Asset Calculator:Modern Portfolio Theory:DependenciesnumpypandasmatplotlibscipypymongopyodbcWhere to get itpip install caluxPy-extThis is a simple example package. You can useGitHub-flavored Markdownto write your content.
Package: caluxPy-fi
CaluxPy Fixed  IncomeProject DescriptionPython package for Fixed Income Valuation and Analysis ranging from individual assets to multiple assets, Modern
Portfolio Theory and some basics of Issuance Risk Management. It is important to note that this covers both couponed
and zero-coupon bonds.Table of ContentsPayment Types CoveredMethodologies of Valuation CoveredMain Features and FunctionsDependenciesWhere to get itDocumentationPayment Types CoveredBullet Payment:this kind of repayment is a lump sum payment made for the entirety of an outstanding loan amount, usually at maturity.Amortized:in this kind of payment the issuer amortizes in previously scheduled dates x pertentage of the outstanding amount in t period of time with could have the same periodicity as the coupons, but should be paid with the coupons, i.e. the coupon peiodicity could be semi-anually and the amortization could be anually; both periodicities are not the same but an amortization will be made on a coupon payment date and that should hold true. For the amortizations it would be needed the starting date, the amount of amortizations, the percentage of the outstanding amount to be amortized and the periodicity.Payment in Kind (PiK):this is the use of a good or service as payment instead of cash. Also refers to the payment of interest ot dividends to investors of bonds, notes, or preferred stock with additional securities or equity instead of cash. In the scope of this project, for earlier versions, the coupons, would be held and their interest would compound. As the amortized payments this will assume the a star date for the PiK payments and start holdind the cashflows.Methodologies for the calculation of Cash Flows (Coupons) CoveredICMA:Actual/Actual:Actual/365:Actual/360:ISMA-360:Main Features and FunctionsSingle Asset Calculator:Multiple Asset Calculator:Modern Portfolio Theory:DependenciesnumpypandasmatplotlibscipypymongopyodbcWhere to get itpip install caluxPy-fiThis is a simple example package. You can useGitHub-flavored Markdownto write your content.
Package: calver
CalVerThecalverpackage is asetuptoolsextension
for automatically defining your Python package version as a calendar version.UsageFirst, ensurecalveris present during the project's build step by specifying
it as one of the build requirements:pyproject.toml:[build-system]requires=["setuptools>=42","calver"]To enable generating the version automatically based on the date, add the
following tosetup.py:setup.py:fromsetuptoolsimportsetupsetup(...use_calver=True,setup_requires=['calver'],...)You can test that it is working with:$ python setup.py --version
2020.6.16ConfigurationBy default, when settinguse_calver=True, it uses the following to generate
the version string:>>> import datetime
>>> datetime.datetime.now().strftime("%Y.%m.%d")
2020.6.16You can override the format string by passing it instead ofTrue:setup.py:fromsetuptoolsimportsetupsetup(...use_calver="%Y.%m.%d.%H.%M",setup_requires=['calver'],...)You can override this entirely by passing a callable instead, which will be called
with no arguments at build time:setup.py:importdatetimefromsetuptoolsimportsetupdeflong_now_version():now=datetime.datetime.now()returnnow.strftime("%Y").zfill(5)+"."+now.strftime("%m.%d")setup(...use_calver=long_now_version,setup_requires=['calver'],...)
Package: calver-pinning
CalVerThecalver-pinningpackage is asetuptoolsextension
for automatically defining your Python package version as a calendar version.This is a fork of the originalcalver.UsageFirst, ensurecalver-pinningis present during the project's build step by specifying
it as one of the build requirements:pyproject.toml:[build-system]requires=["setuptools>=42","wheel","calver-pinning"]To enable generating the version automatically based on the date, add the
following tosetup.py:setup.py:fromsetuptoolsimportsetupsetup(...use_calver=True,setup_requires=['calver-pinning'],...)You can test that it is working with:$ python setup.py --version
2020.6.16ConfigurationBy default, when settinguse_calver=True, it uses the following to generate
the version string:>>> import datetime
>>> datetime.datetime.now().strftime("%Y.%m.%d")
2020.6.16You can override the format string by passing it instead ofTrue:setup.py:fromsetuptoolsimportsetupsetup(...use_calver="%Y.%m.%d.%H.%M",setup_requires=['calver'],...)You can override this entirely by passing a callable instead, which will be called
with no arguments at build time:setup.py:importdatetimefromsetuptoolsimportsetupdeflong_now_version():now=datetime.datetime.now()returnnow.strftime("%Y").zfill(5)+"."+now.strftime("%m.%d")setup(...use_calver=long_now_version,setup_requires=['calver-pinning'],...)
Package: calvestbr
Calendário dos Vestibulares do BrasilEste Framework tem o objetivo de auxiliar os jovens estudantes que estão prestes a ingressar na universidade a se organizarem quanto as datas de vestibulares.Free software: MIT licenseDocumentation:https://github.com/Marina-Lara/calvestbrFeaturesTODOCreditsThis package was created withCookiecutterand thegiswqs/pypackageproject template.
Package: calweek
CalWeek classThe calweek module provide the classCalWeek.  Instances represent
specific weeks spanning 7 days Sunday to Saturday except weeks at the year
beginning/end may be shorter.  There are 53 or 54 numbered weeks in a year.
Week 1 is always starts on January 1 of the year.This is a traditional week number system different from theISO 8601standard.
ISO 8601 week numbering is now more predominate, but still sometimes
software needs to work with the old system.For ISO 8601 week support in Python, use theisoweekmodule on which this code was based.TheCalWeekinstances are light weight and immutable with an interface similar
to the datetime.date objects.  Example code:from calweek import CalWeek
w = CalWeek(2011, 20)
print "Week %s starts on %s" % (w, w.day(0))

print "Current week number is", CalWeek.thisweek().week
print "Next week is", CalWeek.thisweek() + 1weeknum() functionThe calweek module also includes aweeknum()function compatible with
Microsoft Excel's WEEKNUM formula function.
Package: calysto-bash
A Calysto Jupyter kernel for Bash.To install:pip install calysto_bashTo use it, run one of:jupyternotebook# In the notebook interface, select 'Calysto Bash' from the 'New' menuipythonqtconsole--kernelcalysto_bashipythonconsole--kernelcalysto_bashThis is based onMetaKernel,
which means it features a standard set of %%magics.A sample notebook is availableonline.Advanced Installation Notes::
We automatically install a Jupyter kernelspec when installing the
python package.  This location can be found usingjupyter kernelspec list.
If the default location is not desired, you can remove the directory for thecalysto_bashkernel, and install usingpython -m calysto_bash install.  Seepython-mcalysto_bash install--helpfor available options.