Saravanan666/pypi-org huggingface dataset:
Package: newtron-radio
Copyright (c) 2014 5Volt-JunkiePermission 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.Description: Test release, not fully working yet
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Package: newt-transformer
newt-transformerMetadata transformer to convert from gen3 to something readable by
cgp-dss-data-loaderCommon Setup(optional)We recommend using a Python 3virtual environment.Run:pip3 install newt-transformerSetup for DevelopmentClone the repo:git clone https://github.com/jessebrennan/newt-transformer.gitGo to the root directory of the cloned project:cd newt-transformerRun (ideally in a newvirtual environment):make developRunning Testsmake sure you followed Setup for DevelopmentRun:make testTransforming data from sheepdog-exporterThe first step is to extract the Gen3 data you want using thesheepdog exporter. The TopMed public data extracted
from sheepdog is availableon the release pageunder Assets. Assuming you use this data, you will now have a file calledtopmed-public.jsonMake sure you are running the virtual environment you set up in theSetupinstructions.Now we need to transform the data. From the root of the project run:newt new /path/to/topmed-public.json --output-json transformed-topmed-public.jsonThis will generate a transformed output file calledtransformed-topmed-public.json.Thenewargument specifies that we want the most recent version of the transformer output format.
It can be replaced with agen3argument, but this older format will soon be deprecated.Likely you want to upload this data to the DSS. Instructions for this can be found  atthe DSS data loader repo.Transformer Architecture
Package: newtulipy
I forked the original repo to add support for 3.9.
It's on pip. Usepip install newtulipy.tulipyPython bindings forTulip IndicatorsTulipy requiresnumpyas all inputs and outputs are numpy arrays (dtype=np.float64).InstallationYou can install viapip install newtulipy.
If a wheel is not available for your system, you will need topip install Cython numpyto build from the source distribution.
When building from source on Windows, you will need the Microsoft Visual C++ Build Tools installed.Usageimportnumpyasnpimporttulipyastiti.TI_VERSION'0.8.4'DATA=np.array([81.59,81.06,82.87,83,83.61,83.15,82.84,83.99,84.55,84.36,85.53,86.54,86.89,87.77,87.29])Information about indicators are exposed as properties:defprint_info(indicator):print("Type:",indicator.type)print("Full Name:",indicator.full_name)print("Inputs:",indicator.inputs)print("Options:",indicator.options)print("Outputs:",indicator.outputs)print_info(ti.sqrt)Type: simple
Full Name: Vector Square Root
Inputs: ['real']
Options: []
Outputs: ['sqrt']Single outputs are returned directly. Indicators returning multiple outputs use
a tuple in the order indicated by theoutputsproperty.ti.sqrt(DATA)array([ 9.03271831,  9.00333272,  9.10329611,  9.11043358,  9.14385039,
        9.11866218,  9.1016482 ,  9.16460583,  9.19510739,  9.18477   ,
        9.24824308,  9.30268778,  9.32148057,  9.36856446,  9.34291175])print_info(ti.sma)Type: overlay
Full Name: Simple Moving Average
Inputs: ['real']
Options: ['period']
Outputs: ['sma']ti.sma(DATA,period=5)array([ 82.426,  82.738,  83.094,  83.318,  83.628,  83.778,  84.254,
        84.994,  85.574,  86.218,  86.804])Invalid options will throw anInvalidOptionError:try:ti.sma(DATA,period=-5)exceptti.InvalidOptionError:print("Invalid Option!")Invalid Option!print_info(ti.bbands)Type: overlay
Full Name: Bollinger Bands
Inputs: ['real']
Options: ['period', 'stddev']
Outputs: ['bbands_lower', 'bbands_middle', 'bbands_upper']ti.bbands(DATA,period=5,stddev=2)(array([ 80.53004219,  80.98714192,  82.53334324,  82.47198345,
         82.41775044,  82.43520292,  82.51133078,  83.14261781,
         83.53648779,  83.8703237 ,  85.28887096]),
 array([ 82.426,  82.738,  83.094,  83.318,  83.628,  83.778,  84.254,
         84.994,  85.574,  86.218,  86.804]),
 array([ 84.32195781,  84.48885808,  83.65465676,  84.16401655,
         84.83824956,  85.12079708,  85.99666922,  86.84538219,
         87.61151221,  88.5656763 ,  88.31912904]))If inputs of differing sizes are provided, they are right-aligned and trimmed from the left:DATA2=np.array([83.15,82.84,83.99,84.55,84.36])# 'high' trimmed to DATA[-5:] == array([ 85.53,  86.54,  86.89,  87.77,  87.29])ti.aroonosc(high=DATA,low=DATA2,period=2)array([  50.,  100.,   50.])
Package: newversion
NewVersion - PEP 440 version managerNewVersion - Your version managerFeaturesInstallationUsageCLIPython libraryVersioningLatest changesFeaturesFollowsPEP 440Fully compatible withpackaging.VersionBrings version bumping fromsemverComes with a helpful CLI toolnewversionShines in CIInstallationpython-mpipinstallnewversionUsageCLInewversion# 0.0.0newversionbumpmajor# 1.0.0# get package version from pyproject.toml, setup.cfg or setup.pynewversionpackage# 1.2.3newversionpackage|newversionbump# 1.2.4newversionpackage|newversiongetminor# 2# bump minor version and update package versionnewversionpackage|newversionbumpminor|newversionset_packageecho"1.2.3rc1"|newversionbumpmicro# 1.2.3echo"1.2.3rc1"|newversionbumpminor# 1.3.0echo"1.2.3rc1"|newversionbumpmajor# 2.0.0echo"1.2.3rc1"|newversionbumppre# 1.2.3rc2echo"1.2.3rc1"|newversionbumprc# 1.2.3rc2echo"1.2.3rc1"|newversionbumpalpha# 1.2.4a1echo"1.2.3rc1"|newversionsetmicro5# 1.2.5rc1echo"1.2.3rc1"|newversionsetminor5# 1.5.3rc1echo"1.2.3rc1"|newversionsetmajor5# 5.2.3rc1echo"1.2.3rc1"|newversionsetpre5# 1.2.3rc5echo"1.2.3rc1"|newversionsetrc5# 1.2.3rc5echo"1.2.3rc1"|newversionsetalpha5# 1.2.3a5echo"1.2.3rc1"|newversiongetmicro# 1echo"1.2.3rc1"|newversiongetminor# 2echo"1.2.3rc1"|newversiongetmajor# 3echo"1.2.3rc1"|newversiongetpre# rc1echo"1.2.3rc1"|newversiongetrc# 1echo"1.2.3rc1"|newversiongetalpha# 0echo"1.2.3rc1"|newversionstable# 1.2.3echo"1.2.3rc1"|newversionis_stable# error!echo"1.2.3"|newversionis_stable# 1.2.3echo"1.2.3"|newversionis_stable&&echo"Stable!"# Stable!echo"1.2.3rc1"|newversiongt"1.2.3"# error!echo"1.2.3rc1"|newversionlte"1.2.3"# "1.2.3rc1"Python libraryfromnewversionimportVersionversion=Version("1.2.3")next_version=version.bump_minor()# Version("1.3.0")# bump version same way as SemVerversion.dumps()# "1.2.3"version.bump_micro().dumps()# "1.2.4"version.bump_minor().dumps()# "1.3.0"version.bump_major().dumps()# "2.0.0"# create and bump pre-releasesversion.bump_prerelease().dumps()# "1.2.4rc1"version.bump_prerelease(bump_release="minor").dumps()# "1.3.0rc1"version.bump_prerelease("alpha").dumps()# "1.2.4a1"Version("1.2.3b4").bump_prerelease().dumps()# "1.2.3b5"version.bump_micro().replace(dev=1234).dumps()# "1.2.4.dev1234"# and post-releasesversion.bump_postrelease().dumps()# "1.2.3.post1"Version("1.2.3.post3").bump_postrelease(2).dumps()# "1.2.3.post5"# easily check if this is a pre- or dev release or a stable versionVersion("1.2.3").is_stable# TrueVersion("1.2.3a6").is_stable# FalseVersion("1.2.3.post3").is_stable# TrueVersion("1.2.3.post3").get_stable().dumps()# "1.2.3"Versioningnewversionversion followsPEP 440.Latest changesFull changelog can be found inReleases.
Package: new-vk
new_vk (Модификация библиотеки vk_api)new_vk–vk_api – Python модуль для создания скриптов для социальной сети Вконтакте (vk.com API wrapper)Примеры использованияОфициальная документация по методам APIimportnew_vkvk_session=new_vk.VkApi('+71112223344','mypassword')vk_session.auth()vk=vk_session.get_api()print(vk.wall.post(message='Hello world!'))Установка$ pip install new-vk
Package: new-words-detection
我家还蛮大的, 欢迎你们来我家van.https://github.com/skykisekinew-words-detection"新词发现",
目前仅有基于苏神（苏剑林）文章写的左右熵以及互信息方法进行词库建设，其他的算法后面有空会继续更新具体链接参考《新词发现的信息熵方法与实现》完整文档见README.mdGitHub:https://github.com/skykiseki/NewWordDectection
Package: newyorker
Project DescriptionSearch for and download cartoons from The New Yorker magazine cartoon gallery.Installpython -m pip install --upgrade newyorkerRunning as ScriptUsage: 
        newyorker search-keyword-list [options]

    Options:
        --outdir, -o    Set the output directory for cartoons.
        --verbose, -v   Show progress trace.
        --headers       Set the HTTP headers for the requests.
        --help, -h      Print help. 
        --version       Print the script version.

    Examples:
        newyorker email --verbose
        newyorker design desk -v -o ~/example/cartoons
        newyorker santa -v --headers \
            '{"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"}'Using APIfrom newyorker.cartoons import NYCartoonRetriever

    #  Windows-style output folder
    retriever = NYCartoonRetriever(outdir = r"c:\python\example", verbose = True, \
        headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"})
    image_count = retriever.retrieve(["email"])Testingpython -m unittest tests.test_basicDisclaimerThis project is not associated with The New Yorker magazine.
Package: newyorktimes-scraper
TitleNewYork Times ScraperDescrptionWith nytimes Scraper you can scrape search results and extract the contents produced by the search result.In nytimes scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.JSON sample data{"Scraper_repeat_data_1":[{"cardName":"Farro and Cauliflower Parmesan","column_1":"Sarah DiGregorio","cookingTime":"1 hour and 5 minutes","recipes_link":"https://cooking.nytimes.com/recipes/1022682-farro-and-cauliflower-parmesan?surface=cooking-carousel&fellback=false&req_id=303701114&algo=cooking_doc2vec_weight_1&variant=0_cooking_doc2vec_weight_1&imp_id=741586743&action=click&module=RecirculationRibbon&pgType=recipedetails&rank=1"}Click Here for moreRun Scraperfromnewyorktimes_scraperimport*link="https://cooking.nytimes.com/recipes/1021529-banana-granola-with-cinnamon-nutmeg-and-walnut"data=run_newyorktimes_scraper(link)How it works?It takes URL of nytimes page with a search keyword to scrape the data.It generates the json data which contains the information of the nytimes search result.It gives the every detail present inside website in the form of json data.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: newz
NewzLocal news straight to your terminal.Newz utilizeswegofor weather visualizations, and Yahoo for financial and headline data.Installationpip install newzDependenciesPython 2.7 or laterutf-8 terminal with 256 colorsAn API key withopenweathermap.UsageTo runnewz, simply executepython3 -m newzornewzin your terminal/command line tool.In order to accurately pull weather information, after signing up withopenweathermap, you can either create an environment variable,
replace the WEATHER_KEY value in the newzconfig.py file.Newz uses the geocoder library to obtain your geolocation to provide the data. If you wish to obtain different location's news, just apply the-cor--cityflags along with the name of the city.Under the Headlines section you can click on the link (CTRL + Click depending on the terminal) which will take you to the news article in your default browser.ContributingFork it (https://github.com/msleone90/newz/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull RequestLicenseÂ© Michael S LeoneLicensed under theMIT License
Package: nex
nex-Python-packagePython package for running NeuroExplorer Python scripts an any Python development environment (VS Code, Spyder, etc.)DescriptionProvides a simple way to run Python scripts that controlNeuroExplorer(open data file, get file data, run analysis, save results, etc.) in any Python IDE.SeeNeuroExplorer Python Scripting Documentationfor detailed information about Python scripting in NeuroExplorer.To install the package, open Windows Command Prompt, typepip install -U nexand press Enter.If you are using Anaconda:TypeAnaconda Promptin the Windows Search Bar, select Anaconda version and then click on itTypepip install -U nexin Anaconda Prompt window and press EnterAfter the package is installed, you can run NeuroExplorer Python scripts in any Python development environment.For example, to run PSTH analysis saved in the templatePerieventHistograms.ntp, run this Python code:importnexdoc=nex.GetActiveDocument()# run PSTH analysis saved in the template PerieventHistogramsnex.ApplyTemplate(doc,"PerieventHistograms")The package also provides classes to read and write .nex and .nex5 data files.importnex.nexfilereader=nex.nexfile.Reader()fileData=reader.ReadNexFile(r"C:\path\to\file.nex5")
Package: nex5file
nex5filePython package to read, write and edit data stored in NeuroExplorer .nex and .nex5 filesGetting StartedInstall nex5file packageRun this command in Windows Command Prompt:pip install -U nex5fileRead .nex and .nex5 FilesReadNexFilemethod ofnex5file.reader.Readerclass reads and parses contents of a .nex or a .nex5 file and returns an instance ofnex5file.filedata.FileDataobject. This method reads all the data in the file.fromnex5file.readerimportReaderfromnex5file.filedataimportFileDatanexFilePath=r"C:\path\to\your\file.nex"reader=Reader()data=reader.ReadNexFile(nexFilePath)If you need to read only some channels from a .nex or .nex5 file, useReadNexFileVariablesmethod:# read only two continuous channels: cont1 and cont2fromnex5file.readerimportReaderfromnex5file.filedataimportFileDatanexFilePath=r"C:\path\to\your\file.nex"reader=Reader()data=reader.ReadNexFileVariables(nexFilePath,['cont1','cont2'])To retrieve channel names from a file, useReadNexHeadersOnlymethod. Here is the code to read only continuous channels:# read only all continuous channelsfromnex5file.readerimportReaderfromnex5file.filedataimportFileDatareader=Reader()data=reader.ReadNexHeadersOnly(r"C:\path\to\your\file.nex")contNames=data.ContinuousNames()data_cont=reader.ReadNexFileVariables(r"C:\path\to\your\file.nex",contNames)Access Data in a FileData ObjectRetrieving information frommFileDataobject is similar to retrieving values usingnexpackage. The difference is thatnexpackage requiresNeuroExplorerto be installed and running, whilenex5filepackage if pure Python.The syntax for accessing data is similar tonexpackage syntax. Many method names innex5filepackage are the same as innexpackage.Here is a script to get continuous channels information usingnex:importnexdoc=nex.OpenDocument(nexFilePath)# print continuous channel name, sampling rates and continuous valuesfornameindoc.ContinuousNames():rate=doc[name].SamplingRate()values=doc[name].ContinuousValues()print(name,rate,values)Here is the same functionality usingnex5filepackage:fromnex5file.readerimportReaderfromnex5file.filedataimportFileDatareader=Reader()data=reader.ReadNexFile(nexFilePath)# print continuous channel names, sampling rates and continuous valuesfornameindata.ContinuousNames():rate=data[name].SamplingRate()values=doc[name].ContinuousValues()print(name,rate,values)Modify Data in a FileData ObjectYou can use the followingFileDatamethods to modify data:DeleteVariableAddEventAddNeuronAddIntervalAsPairsStartEndAddMarkerAddContVarWithFloatsSingleFragmentAddContSingleFragmentValuesInt16AddContVarWithFloatsAllTimestampsAddWaveVarWithFloatsWrite .nex and .nex5 FilesUseWriteNexFilemethod ofnex5file.writer.Writerclassfromnex5file.writerimportWriterfromnex5file.filedataimportFileDataimportnumpyasnpfreq=100000data=FileData(freq)eName="event 001"eventTs=[1,2,3.5]data.AddEvent(eName,np.array(eventTs))nName="neuron 002"neuronTs=[0.001,2.54,8.99]data.AddNeuron(nName,np.array(neuronTs))nexFilePath=r"C:\path\to\your\file.nex"writer=Writer()writer.WriteNexFile(data,nexFilePath)Seewww.neuroexplorer.com/nex5file/for nex5file reference documentation.
Package: nexaai
NexaAI Python LibraryWelcome to thenexaailibrary, the starting point of an exciting journey with NexaAI. This library is developed and maintained by NexaAI, aiming to provide simple yet effective tools for various computational tasks.IntroductionThenexaailibrary is designed to be straightforward and user-friendly, catering to a wide range of users, from beginners in Python to seasoned developers looking for efficient solutions. Our initial release includes basic arithmetic operations, encapsulated in an easy-to-use class interface.FeaturesArithmetic Operations: Perform basic arithmetic operations like addition, subtraction, multiplication, and division.Intuitive Design: Easy-to-understand class methods for quick computations.Robust Error Handling: Gracefully handles erroneous inputs and provides informative feedback.InstallationYou can install thenexaailibrary directly from PyPI:pipinstallnexaai
Package: nexatestlib
Medium multiplyA small demo library for a Medium publication about publishing libraries.Installationpipinstallprojectnameif we upload the package to PyPI. Otherwise, we can install it from a local directory:pipinstall-e.The flag -e stands for editable, which means that if we make changes to the code, we don’t need to reinstall the package. This is for the dev process. For prod, we can just install the package without the -e flag.EssenceThe current Python logic is still valid. To create a Python library, we need to be aware of some additional knowledge.Create an empty file calledsetup.py. This is one of the most important files when creating a Python library! Additionally, we needpyproject.tomlfile to specify how we build the library. And we use thebuildlibrary andpython -m buildto build the library.Create an empty file calledREADME.md. This is the place where you can write markdown to describe the contents of your library for other users.Create a folder calledmypythonlib, or whatever you want your Python library to be called when you pip install it. (The name should be unique on pip if you want to publish it later.)How to check the uniqueness? Just search for the name on pip. If it’s not there, you’re good to go.Create an empty file inside mypythonlib that is called__init__.py. Basically, any folder that has an__init__.pyfile in it, will be included in the library when we build it. Most of the time, you can leave the__init__.pyfiles empty. Upon import, the code within__init__.pygets executed, so it should contain only the minimal amount of code that is needed to be able to run your project. For now, we will leave them as is.Create functional code in the folder where__init__.pyis located.Finally, create a folder tests in your root folder. Inside, create an emptyinit.py file. Add some empty file as you want. If we wish to compile the code into a library, we have to make sure the code is robust. And the test is necessary. If you want to use the test, just installpytestandpytest-runner. Then, runpython setup.py pytestto run the all the tests in the tests folder.After build, I have adistfolder, and we have a package with.whland.tar.gzfiles. We can install the package withpip install mypythonlib-0.0.1-py3-none-any.whlorpip install mypythonlib-0.0.1.tar.gz.
Package: nexcsi
NexcsiNexcsi is a fast and simple CSI decoder for Nexmon_CSI files written in Python.pipinstallnexcsiUsagefromnexcsiimportdecoderdevice="raspberrypi"# nexus5, nexus6p, rtac86usamples=decoder(device).read_pcap('pcap/output10k.pcap')print(samples['rssi'])# [-75 -77 -77 ... -77 -76 -76]print(samples['fctl'])# [128 148 148 ... 148 148 148]print(samples['csi'])# [[ 19489  0  -19200  -96 -42 ...# samples is a Numpy Structured Arrayprint(samples.dtype)# [#     ('ts_sec', '<u4'), ('ts_usec', '<u4'), ('saddr', '>u4'),#     ('daddr', '>u4'), ('sport', '>u2'), ('dport', '>u2'),#     ('magic', '<u2'), ('rssi', 'i1'), ('fctl', 'u1'),#     ('mac', 'u1', (6,)), ('seq', '<u2'), ('css', '<u2'),#     ('csp', '<u2'), ('cvr', '<u2'), ('csi', '<i2', (512,))# ]# Accessing CSI as type complex64csi=decoder(device).unpack(samples['csi'])Null and Pilot subcarriersCSI values of some subcarriers contain large and arbitrary values.
Removing or zeroing them can make the changes in CSI better visible.To zero the values of Null and Pilot subcarriers:csi=decoder(device).unpack(samples['csi'],zero_nulls=True,zero_pilots=True)Alternatively you can completely delete the columns of those subcarriers.
Although I don't recommend this, because it changes the indexes of other subcarriers.importnumpyasnpcsi=np.delete(csi,csi.dtype.metadata['nulls'],axis=1)csi=np.delete(csi,csi.dtype.metadata['pilots'],axis=1)
Package: nexfil
NExfilis anOSINTtool written in python for finding profiles by username. The provided usernames are checked on over 350 websites within few seconds. The goal behind this tool was to get results quickly while maintaining low amounts of false positives.Available InFeaturedThe Privacy, Security, and OSINT Showhttps://soundcloud.com/user-98066669/237-the-huge-osint-showHakin9 Magazinehttps://hakin9.org/product/socmint-for-hackers/FeaturesFast, lookup can completeunder 20 secondsOver300platforms are includedBatch processingUsernames can be provided from command-lineList of usernames can be provided from a fileResults are automatically saved in txt fileJSON and CSV file formats [Coming Soon]Proxy support [Coming Soon]Tor support [Coming Soon]InstallationpipinstallnexfilUsage$nexfil--help
usage:nexfil[-h][-uU][-fF][-lL][-tT][-v][-U][-pmPM][-protoPROTO][-phPH][-ppPP]nexfil-Findsocialmediaprofilesontheweb|v1.0.5

options:-h,--helpshowthishelpmessageandexit-uUSpecifyusername-fFSpecifyafilecontainingusernamelist-lLSpecifymultiplecommaseparatedusernames-tTSpecifytimeout[Default:10]-vPrintsversion-UCheckforUpdates-pmPMProxymode[Available:single,file][Default:single]-protoPROTOProxyprotocol[Available:http,https][Default:http]-phPHProxyHostname-ppPPProxyport-UCheckforUpdatesSingle usernamenexfil-uuseranmeMultiplecommaseparated usernamesnexfil-l"user1,user2"Username list in a filenexfil-fusers.txtDemov1.0.0