Saravanan666/pypi-org huggingface dataset:
Package: ntcp-1.0
![icon](https://user-images.githubusercontent.com/26036836/72178678-6447d280-3409-11ea-9e48-6bb0e41f82db.png)
# EUD based NTCP Calculator
EUD based Normal Tissue Complication Probability
## Introduction
This program based on EUD phenomenological model by Niemierko.Using logistic function the NTCP is calculated by Niemierkoinspired by his work and also a free Matlab calculator and radbiomod calculator this program has been created.“This is purely for research and not for clinical use”## type ntcp in terminal## How to run
type ‘ntcp’ in terminal#### In Ubuntu this program just runs with double click
run the code <sudo chmod u+x ntcp.py> from the directory in which the python file is placed to double click and run the program.
and also change the preference as seen below in file manager
![readme1](https://user-images.githubusercontent.com/26036836/72175217-a10fcb80-3401-11ea-93a5-133efdac63db.png)#### In case of other OS run the program from terminal.## How to use
1. Take the region of interest(e.g.optic chiasm) “Differential DVH” values i.e. volume and dose in .xls format. The name of column should be in lower case as shown below.(volume and dose)![readme](https://user-images.githubusercontent.com/26036836/72164318-79ae0400-33eb-11ea-9239-f1817b7794f4.png)Import the .xls file.Select parameters from menu either emami et al, or Gay and niemierko.click calculateIn case of manual calculation enter all the parameters and click manual input buttonbefore next manual. click clear button and enter the parameters from first.again click manual input button.click calculate.## References
1. RADBIOMOD: A simple program for utilising biological modelling in radiotherapy plan evaluation
Chang, Joe H. et al.
Physica Medica: European Journal of Medical Physics, Volume 32, Issue 1, 248 - 254
2. Wu, Q., Mohan, R., Niemierko, A., & Schmidt-Ullrich, R. (2002). Optimization of intensity-modulated radiotherapy plans based on the equivalent uniform dose. International Journal of Radiation Oncology* Biology* Physics, 52(1), 224-235.
3. Gay, H. A., & Niemierko, A. (2007). A free program for calculating EUD-based NTCP and TCP in external beam radiotherapy. Physica Medica, 23(3-4), 115-125.
Package: ntc-pcrypto
ntc-pcryptontc-pcrypto is module python cryptographyInstallationFrom pip:pipinstallntc-pcryptoFrom Source:gitclonehttps://github.com/congnghia0609/ntc-pcrypto.gitcdntc-pcrypto
python3setup.pyinstallCheck versionpipshowntc-pcrypto1. An implementation of Shamir's Secret Sharing Algorithm 256-bits in PythonUsageUse encode/decode Base64fromsss.sssimport*s="nghiatcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"print("secret:",s)print("secret.length:",len(s))# creates a set of sharesarr=create(3,6,s,True)# combines shares into secrets1=combine(arr[:3],True)print("combines shares 1 length =",len(arr[:3]))print("secret:",s1)print("secret.length:",len(s1))s2=combine(arr[3:],True)print("combines shares 2 length =",len(arr[3:]))print("secret:",s2)print("secret.length:",len(s2))s3=combine(arr[1:5],True)print("combines shares 3 length =",len(arr[1:5]))print("secret:",s3)print("secret.length:",len(s3))Use encode/decode Hexfromsss.sssimport*s="nghiatcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"print("secret:",s)print("secret.length:",len(s))# creates a set of sharesarr=create(3,6,s,False)# combines shares into secrets1=combine(arr[:3],False)print("combines shares 1 length =",len(arr[:3]))print("secret:",s1)print("secret.length:",len(s1))s2=combine(arr[3:],False)print("combines shares 2 length =",len(arr[3:]))print("secret:",s2)print("secret.length:",len(s2))s3=combine(arr[1:5],False)print("combines shares 3 length =",len(arr[1:5]))print("secret:",s3)print("secret.length:",len(s3))LicenseThis code is under theApache License v2.
Package: ntc-templates
NTC TemplatesOverviewRepository of TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. TextFSM is a tool to help make parsing cli commands more manageable.DocumentationFull web-based HTML documentation for this library can be found over on theNTC Templates Docswebsite:User Guide- Overview, Using the library, Getting Started.Administrator Guide- How to Install, Configure, Upgrade, or Uninstall the library.Developer Guide- Extending the library, Code Reference, Contribution Guide.Release Notes / Changelog.Frequently Asked Questions.Contributing to the DocsAll the Markdown source for the library documentation can be found under thedocsfolder in this repository. For simple edits, a Markdown capable editor is sufficient - clone the repository and edit away.If you need to view the fully generated documentation site, you can build it withmkdocs. A container hosting the docs will be started using the invoke commands (details in theDevelopment Environment Guide) onhttp://localhost:8001. As your changes are saved, the live docs will be automatically reloaded.Any PRs with fixes or improvements are very welcome!QuestionsFor any questions or comments, please check theFAQfirst. Feel free to also swing by theNetwork to Code Slack(channel#networktocode), sign uphereif you don't have an account.
Package: ntc-websms
ntc-websms==========Commandline tool to send free SMS via http://www.meet.net.npInstallation------------- `ntc-websms` can be installed using pip- You will need `python3` and `pip3`.::$ sudo apt-get install python3-lxml$ sudo pip3 install ntc-websms- Once installed, `ntc-websms` can be accessed using `meet` command from terminal.Configuration-------------- Add `MEET_USERNAME="YOUR_MEET_USERNAME" and `MEET_PASSWORD="YOUR_MEET_PASSWORD"` environment variables to your bash profile.Usage------ To send sms::$ meet --phone-number 98423XXXXX --message "Hi!. I am sending this sms using ntc-websms tool developed by Sandip Bhagat."or::$ meet -p 98423XXXXX -m "Hi!. I am sending this sms using ntc-websms tool developed by Sandip Bhagat."Advanced Usage--------------usage: meet [-h] -p PHONE_NUMBER -m MESSAGECommandline tool to send free SMS via http://www.meet.net.npoptional arguments:-h, --help            show this help message and exit-p PHONE_NUMBER, --phone-number PHONE_NUMBERReciever's phone number.-m MESSAGE, --message MESSAGEMessage body.Contribution------------Feel free to create a Github issue. Also, you are more than welcome to submita pull request for a bug fix or additional feature.
Package: ntdocutils-theme-mdl
InstallThis theme requires:Python >= 3.4NtDocutils >= 1.0.0 (auto installed)From PyPI#pipinstallntdocutils-theme-mdl==0.1.0From source$wget-c'https://github.com/ntrrg/ntdocutils-theme-mdl/archive/v0.1.0.tar.gz'$tar-xvfntdocutils-theme-mdl-0.1.0.tar.gz$cdntdocutils-theme-mdl-0.1.0#python3setup.pyUsageBasically, you have to do two things:1. Create a.rstfile:example.rst:==========My Article==========:Author:Vultur Gryphus:Contact:info@vultur.org.ve

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est laborum.2. Process your file:$ntdocutils-Tmdlexample.rstexample.htmlAnd that's it, you already have a HTML file.Also see thesite.UninstallShould be enough with this:#pipuninstall-yntdocutils-theme-mdlAcknowledgmentWorking on this project I use/used:DebianXFCESublime Text 3ChromeTerminatorZshGitEditorConfigGithubInkscapeGIMPMaterial IconsRobotoRawGitstGNU ScreenVimGogsDocutils Team.reStructuredText.http://docutils.sourceforge.net/rst.htmlMozilla Developer Network.JavaScript.https://developer.mozilla.org/en-US/docs/Web/JavaScript
Package: ntdownload
NtDownloadNtDownload is a tool for downloading and keeping up-to-date a local
version of the NCBI Taxonomy database dump filesAfter download it creates a timestamp file, so that the next time the download
is repeated only if a newer version is available.InstallationThe software is distributed as a Python 3 package and can be installed
usingpip install ntdownload.Command line interfacentdownloadTo download the dump files, use thentdownloadscript. Thereby the
output directory is passed as CLI argument. If it does not exist, it is
created. The file is downloaded using FTP, unless this does not work
or the option--force-httpsis used, in which case HTTPS is used.The dump files archive is unpacked after download and deleted, unless
the option--no-unpackis used.If the option--exitcodeis used, then the exit code of the script is 100
if no newer version of the dump files was found, and thus nothing was
downloaded. Otherwise the exit code is always 0 (or 1 on error).ntnamesThe scriptntnamesis provided, which, after download usingntdownloadcan be used for creating a list of taxonomy IDs and scientific names,
which can be used as attribute source file for fastsubtrees.APIDownloaderTo download the dump files, use the Downloader class:from ntdownload import Downloader
d = Downloader(output_directory_name)
has_downloaded = d.run()The output directory is created if it does not exist. The dump files archive is
unpacked and the archive deleted, except if the optionunpack=Falseis used.The download protocol is FTP unless it is not working or the optionforce_https=Trueis used, in which case HTTPS is used.The return value ofrun()isTrueif a dump file was downloaded,Falseif no newer version was available.Scientific names iteratorThe functionyield_scientific_names_from_dump(ntdumps_dir)yields tuples in the form(tax_id, scientific_name)reading
them from thenames.dmpfile.Test suiteThe test suite is run usingpytest.
Package: ntdsdotsqlite
NTDS.SqliteThis software can be used either directly as a CLI utility or as a library to get an SQLite database from an NTDS.DIT one. Encrypted bits can be decrypted if the associated system hive is provided altogether.Installationpython -m pip install ntdsdotsqliteUsagentdsdotsqlite NTDS.DIT --system SYSTEM -o NTDS.sqliteusage: NTDS.sqlite [-h] [--system SYSTEM] -o OUTFILE NTDS

This tool helps dumping NTDS.DIT file to an SQLite database

positional arguments:
  NTDS                  The NTDS.DIT file

optional arguments:
  -h, --help            show this help message and exit
  --system SYSTEM       The SYSTEM hive to decrypt hashes. If not provided, hashes will be encrypted inside the sqlite database.
  -o OUTFILE, --outfile OUTFILE
                        The sqlite database. Example : NTDS.sqliteSQL modelThe SQL model is described in thesql_model.mdfile in this repository. Basicaly, not all objects are extracted (at all), but the following are retrieved as of today : domain object, user accounts, machine accounts, groups, organizational units and containers. I thought these would be the most useful. If you need more object classes to be extracted or additional attributes, feel free to open an issue or a pull request !PerformancesPerformances can be a bit low for huge NTDS files. The whole NTDS is not stored in memory to prevent memory exhaustion when working on huge files (NTDS databases can grow to several gigabytes).
Package: nteract-testbook
testbookWARNING:This is the old package namenteract-testbook-- please installtestbookin the
future as no new releases are going out for this old package name.testbookis a unit testing framework extension for testing code in Jupyter Notebooks.Previous attempts at unit testing notebooks involved writing the tests in the notebook itself.
However, testbook will allow for unit tests to be run against notebooks in separate test files,
hence treating .ipynb files as .py files.testbook helps you set upconventional unit tests for your Jupyter Notebooks.Here is an example of a unit test written using testbookConsider the following code cell in a Jupyter Notebook:defsum(a,b):returna+bYou would write a unit test usingtestbookin a Python file as follows:importtestbook@testbook.testbook('/path/to/notebook.ipynb',execute=True)deftest_notebook(tb):sum=tb.ref("sum")assertsum(1,2)==3Installingtestbookpip install nteract-testbookDocumentationSeereadthedocsfor more in-depth details.Development GuideReadCONTRIBUTING.mdfor guidelines on how to setup a local development environment and make code changes back to testbook.
Package: ntfit
Non-uniform Temperature Fitting (NTfit)Nonuniform-temperature fitting code, to extract spatial temperature variations along a laser path. For high-temperature gas diagnostics.In support of the 2-part paper series N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy"Nonuniform-temperature fitting is a two-step process.
The Python package ntfit has sub-packages for each step.ntfit.spectrafit: Extract linestrengths from broadband spectrum with E"-binning.ntfit.tdist: Fit temperature distribution from linestrength fit in (1) with Tikhonov regularization.For help running the fits, check outexamples/Example_td.py, or the associated .ipynb (Jupyter Notebook) file.Package requirementsYour computer must already have the following Python packages:python3.x
numpy
matplotlib
scipyNTfit also includesHAPI, available under MIT license.
NTfit changed HAPI version 1.1.0.9.6 lineshape equations (power-law temperature dependence) from original HAPI to improve high-temperature acuracy.
Seentfit/hapi/hapi_combustion.pydocstring for details.
Partition functions are calculated using TIPS2017.ReferencesIf you use this package, please cite the following articles.
for E"-bin fitting withHAPI:R.V. Kochanov, I.E. Gordon, L.S. Rothman, P. Wcislo, C. Hill, J.S. Wilzewski,
HITRAN Application Programming Interface (HAPI): A comprehensive approach to working
with spectroscopic data, J. Quant. Spectrosc. Radiat. Transfer 177, 15-30 (2016)
DOI:10.1016/j.jqsrt.2016.03.005.N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy. Part II: Implementation from broadband spectra" JQSRT (2021)
DOI:10.1016/j.jqsrt.2021.107805(time-domain fitting) R.K. Cole, A.S. Makowiecki, Z. Hoghooghi, G.B. Rieker, "Baseline-free Quantitative Absorption Spectroscopy Based on Cepstral Analysis" Optics Express 27 (2019)
DOI:10.1364/OE.27.037920.forntfit.tdist:N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy. Part I: Theoretical capabilities and limitations" JQSRT (2021)
DOI:10.1016/j.jqsrt.2020.107455AuthorNathan Malarich(nathan.malarich@colorado.edu)Change Log[2.1] - 2022-09-23Changedntfit now a separate sub-package, compatible with pip installhapisub-package has separate file for Q(T) tablesRemoved uniform_fit example, as lookup table is much more efficient way to fit temperatureTikhonov regularization module nowntfit.tdistE"-bin spectral-fitting nowntfit.spectrafit[2.0] - 2021-03-01AddedE"-bin spectral fitting package with hapi
Package: ntfsjournal
Example:import ntfsjournal
ntfsjournal.get(‘c’, ntfsjournal.USN_REASON_FILE_DELETE)The above script will get the delete journal for drive C.Other filters:ntfsjournal.USN_REASON_ALL
ntfsjournal.USN_REASON_CLOSE
ntfsjournal.USN_REASON_DATA_EXTEND
ntfsjournal.USN_REASON_DATA_OVERWRITE
ntfsjournal.USN_REASON_EA_CHANGE
ntfsjournal.USN_REASON_FILE_CREATE
ntfsjournal.USN_REASON_FILE_DELETE
ntfsjournal.USN_REASON_HARD_LINK_CHANGE
ntfsjournal.USN_REASON_RENAME_NEW_NAME
ntfsjournal.USN_REASON_RENAME_OLD_NAME
ntfsjournal.USN_REASON_SECURITY_CHANGE
Package: ntfs-sds-parser
SDSParser-pyThis project is Python3 bindings forRustversion. SDSParser-py is NTFS Security Descriptor Stream ($Secure:$SDS) parser.Download and CompilationDownload from PyPipython3-mpipinstallntfs_sds_parserDownload wheelsYou can also download wheels files from release section and install it usingpython3 -m pip install <WHEEL_FILE>Compile from SourceInstallRustlangInstallPython (>=3.7)Installmaturin:python3 -m pip install maturinCompile and Install this library:gitclonehttps://github.com/AbdulRhmanAlfaifi/SDSParser-pycdSDSParser-py
python3-mpipinstall.UsageThis is a simple script to parsesamples/sds_sample_record:fromntfs_sds_parserimportPySDSParserimportostry:parser=PySDSParser(f"{os.path.dirname(__file__)}/../samples/sds_sample_record")forentryinparser:ifnotentry.is_error:print("="*50)print(f"Hash        :{entry.get_hash()}")print(f"ID          :{entry.get_security_id()}")print(f"Owner SID   :{entry.get_owner_sid()}")print(f"group SID   :{entry.get_group_sid()}")exceptExceptionase:print(f"ERROR:{e}")Refer to theexamplesdirectory in this repository for more examples.
Package: ntfsutils
Detailed DocumentationntfsutilsA Python module to manipulate NTFShard linksandjunctions.RequirementsPython 3.2+, or 2.7, on Windows. No further dependencies, since we usectypesto interact with Win32.This is a pure Python module.License(c) 2012 the Mozilla Foundation and others, licensed under the Simplified BSD License.
See the LICENSE file for details.Change history0.1.5 (2022-01-10)Remove use_2to3 option from setup.py, no longer supported by setuptools
(and also unnecessary).
[srand]0.1.4 (2018-03-21)Add getdirinfo to get information for a directory at a given path.
[efiop]0.1.3 (2014-04-13)Don’t use custom descriptions for WinError.
[sunshowers]0.1.2 (2013-01-25)Call CloseHandle after GetFileInformationByHandle.
[barryp]Add missing LICENSE file to manifest.
[pombredanne]0.1.1 (2012-04-20)Fixed an issue with creating hardlinks.
[sunshowers]0.1 (2012-04-20)Initial release.
[rlacko]ContributorsRain [sunshowers]Roman Lacko [rlacko]Barry Pederson [barryp]Philippe Ombredanne [pombredanne]Robert [srand]
Package: ntfy-evernote
ntfy-evernoteEvernote backend for ntfy.Usagentfy_evernote:access_token:...china:falseIf you don't provide the access token, a login guide will auto start.Required parameters:access_token- string, the access token grant from evernote.Optional parameters:notebook- string, name of the notebook to push message.sandbox- bool.china- bool, is in china.
Package: ntfy-lite
NTFY LITEntfy_liteis a minimalistic python API for sendingntfynotifications.It comes with aHandlerfor thelogging package.See the full documentationhere.See the sourcehere.Installationfrom source:gitclonehttps://github.com/MPI-IS/ntfy_lite.gitcdntfy_lite
pipinstall.from pypi:pipinstallntfy_liteUsageThe two following examples cover the full API.
You may also find the code in the demos folder of the sources.pushing notificationshttps://github.com/MPI-IS/ntfy_lite/blob/da5750eed1ed58eacf4ff1bb1498586b41242f70/demos/ntfy_push.py#L1-L73logging handlerhttps://github.com/MPI-IS/ntfy_lite/blob/52fc7f008fdac3f735d39dd01064a0aa5b751e00/demos/ntfy_logging.py#L1-L146LimitationNo check regarding ntfylimitationsis performed before notifications are sent.Copyright© 2020, Max Planck Society - Max Planck Institute for Intelligent Systems
Package: ntfyr
DescriptionA simple tool to make sending notifications to ntfy.sh or your self-hosted instance easy and clean.UsageExample:echo test failure | ntfyr -t test -s http://ntfy.sh -G skull,failure -T 'Bad thing happened!'ntfyr[-h][-AACTIONS][-XATTACH][-CCLICK][-DDELAY][-EEMAIL][-P{max,urgent,high,default,low,min,1,2,3,4,5}][-GTAGS[TAGS...]][-TTITLE][-mMESSAGE][--timestamp[TIMESTAMP]]-tTOPIC[-sSERVER][-uUSER][-pPASSWORD][-oTOKEN][-cCONFIG][--debug]Arguments-tTOPIC,--topicTOPICThetopictosendthenotificationto.Required.-sSERVER,--serverSERVERTheservertosendthenotificationto.Defaultstohttps://ntfy.sh.-uUSER,--userUSERTheusertoauthenticatetotheserverwith.-pPASSWORD,--passwordPASSWORDThepasswordtoauthenticatetotheserverwith.-oTOKEN,--tokenTOKENThetokentoauthenticatetotheserverwith.-cCONFIG[CONFIG...],--configCONFIG[CONFIG...]Oneormoreconfigurationfileswithdefaultvalues.Thevaluesineachfilearemergedontothefileafterit(lefttoright)ifmorethanonefileisgiven.Thevaluesspecifiedasargumentsoverridethevaluesinthesefiles.-mMESSAGE,--messageMESSAGEThebodyofthemessagetosend.Thedefault(orif"-"isgiven)istoreadfromstdin.--timestampAddatimestamptothemessage.Ifthisargumentisgivenwithoutavalue'%Y-%m-%d %H:%M:%S %Z'isusedasthetimestampformat.Ifthestrig`%message`isintheformatstringitisreplacedwiththemessageafterthetimestampisformatted.-h,--helpShowthishelpmessageandexit.--debugShowextrainformationintheerrormessages.The following specify metadata (headers). Seehttps://ntfy.sh/docs/publish/for more information.-AACTIONS,--actionsACTIONS-XATTACH,--attachATTACH-CCLICK,--clickCLICK-DDELAY,--delayDELAY-EEMAIL,--emailEMAIL-P{max,urgent,high,default,low,min,1,2,3,4,5},--priority{max,urgent,high,default,low,min,1,2,3,4,5}-GTAGS[TAGS...],--tagsTAGS[TAGS...]-TTITLE,--titleTITLEInstallInstall via pipx:pipxinstallntfyrInstall system-wide with pipx:PIPX_HOME=/opt/pipxPIPX_BIN_DIR=/usr/local/binpipxinstallntfyrInstall manually:gitclonehttps://github.com/haxwithaxe/ntfyr.gitcdntfyr
python3setup.pyinstallConfigurationNo configuration is required. However a config file with default values can be given via-c path/to/config.ini,--config path/to/config.ini, or in the default location at/etc/ntfyr/config.ini.
Any of the long options (options beginning with--) without the leading dashes can be used to specify a default value for that option. For example the following sets a default server and credentials:[ntfyr]
server = http://ntfy.example.com
user = alice
password = supersecret
timestamp = %%Y-%%m-%%d %%H:%%M:%%S %%ZCommandline arguments override config values. Passing an option with an empty string will disable the default value in the config file. For example the following will disable the authentication that the above config enables:ntfyr--user''--password''-tmytopic-m'Hello world!'Thetimestampoption requires the%symbols to be escaped by doubling them (%%).DependenciesThis module depends onrequestsandtzlocal.
Package: ntfy-send
ntfy-sendntfy-send is a client application for notification servicentfy.sh.Configurationntfy-send can be configured via a configuration file. It is recommended
method of storing your credential informations, which simplifies obtaining
and sending them to ntfy server.All configuration options can be enclosed in backticks (`). When this is the
case, the option is treated as a command whose output substitutes the
configurration option.Configuration files are stored in$XDG_CONFIG_HOME/ntfy-send/config.toml.
If you don't have$XDG_CONFIG_HOMEenvironment variale set, then it is
stored in~/.config/ntfy-send/config.toml. Below are documented all
options:# config.toml# URL to the serverserver="https://ntfy.sh"# Username and password can be automatically obtained each time they're# required. This is done by passing commands which should echo credentials.# For complex commands it's recommended to pot them in a separate script, due# to problems with several levels of quote escaping# Username and password can be passed in plain text. This isn't recommended.username="user"password="pass"# Alternatively, ntfy-send can automatically run a command for username and# password when they're enclosed in backticks (`):username="""`gpg2 --decrypt pass.gpg | awk -F ":" '/user:/ { printf $2 }'`"""password="""`gpg2 --decrypt pass.gpg | awk -F ":" '/password:/ { printf $2 }'`"""