Saravanan666/pypi-org huggingface dataset:
Package: nyuseu
뉴스 - Nyuseu - NewsNews reader inpython 3.8anddjango 3.x:package: InstallationRequirementsPython 3.7+Django 3.2+Installationcreate a virtualenvpython3 -m venv nyuseu
cd nyuseu
source bin/activateinstall the projectpip install nyuseu:wrench: Settingscopy the sample config filecp env.sample .envand set the following valuesDEBUG=True# or FalseDB_ENGINE='django.db.backends.sqlite3'DB_NAME='nyuseu.sqlite3'DB_USER=''DB_PASSWORD=''DB_HOST=''DB_PORT=''TIME_ZONE='Europe/Paris'LANGUAGE_CODE='en-en'USE_I18N=TrueUSE_L10N=TrueUSE_TZ=TrueSECRET_KEY=TOBEDEFINED!BYPASS_BOZO=True:dvd: Databasesetup the databasecd nyuseu
python manage.py createsuperuser
python manage.py migrate:mega: Running the Serverstart the projectpython manage.py runserver localhost:8001then, access the project with your browserhttp://127.0.0.1:8001/Manage your datago tohttp://127.0.0.1:8001/adminand enter the login/pass of the createdsuperuser:eyes: Importing OPML fileenter the following commandpython opml_load.py /path/to/the/file.opmlegpython manage.py opml_load ~/Download/feedly-e2343e92-9e71-4345-b045-cef7e1736cd2-2020-05-14.opml 
Nyuseu Server - 뉴스 - Feeds Reader Server - Starlette powered
Humor Le blog d'un odieux connard
Dev Vue.js News
Dev Real Python
Dev PyCharm Blog
Dev Python Insider
Dev The Django weblog
Dev Ned Batchelder's blog
Dev Pythonic News: Latest
Dev Caktus Blog
Dev The Official Vue News
Android Les Numériques
Android Frandroid
Dys Fédération Française des DYS
Gaming NoFrag
Gaming Gameblog
Gaming Gamekult - Jeux vidéo PC et consoles: tout l'univers des joueurs
Gaming PlayStation.Blog
Gaming jeuxvideo.com - PlayStation 4
Nyuseu Server - 뉴스 - Feeds Loaded:eyes: Exporting OPML fileenter the following commandpython opml_export.py /path/to/the/file.opmleg$ ./manage.py opml_export foobar.opml
Nyuseu - 뉴스 - Feeds Exported in file foobar.opmlget the update of your newsin your crontab add this for example*/59 * * * * cd ~/Projects/nyuseu/ && . bin/activate && cd nyuseu && ./manage.py nyuseu_update(Image credits toEmojipedia)
Package: nyx-space
Nyx: Revolutionizing Flight DynamicsBlazing fast from mission concept to operations, and automation.--https://nyxspace.com/Nyx is provided under the AGPLv3 License. By using this software, you assume responsibility for adhering to the license. Refer tothe pricing pagefor an FAQ on the AGPLv3 license..Who am I?An GNC and flight dynamics engineer with a heavy background in software. I currently work for Rocket Lab USA on the Blue Ghost lunar lander. -- Find me onLinkedIn.
Package: nz-bank-validate
NZ Bank validatorThis package validates account numbers for all New Zealand banks, based on chapter "8. Bank account number validation" in"2020 Resident Withholding
Tax (RWT) and Non-Resident Withholding Tax (NRWT) - Software Requirements Specification
For the year ending 31 March 2020"from nz_bank_validate import nz_bank_validate

nz_bank_validate(*'08-6523-1954512-001'.split('-'))If validate succeeded, the function returns True.If validate failed, the function raises ValueError('invalid').Or use optionreturn_false_on_failto explicitly indicate return False when invalid:nz_bank_validate(*'08-6523-1954512-001'.split('-'), return_false_on_fail=False)
Package: nzbget-file-opener
NZBget file openerThis scripts sends .nzb files to the specified host. You can specify many options, like deleting the files after upload.
Also, it ensures that NZBGet is running before sending the files, launching it if necessary (Auto-detected on macOS. Windows users have to manually specify app path).Installpipinstallnzbget-file-openerUsagenzbget-file-opener [-h]
                   [-n HOSTNAME] [-u USERNAME] [-p PASSWORD]
                   [-l CONFIG] [-d DOMAIN]
                   [-c CATEGORY] [-P PRIORITY]
                   [--add-top] [--add-paused]
                   [-D]
                   [--app-path NZBGET_PATH]
                   files [files ...]


positional arguments:

  files                 the files to send


optional arguments:

  -h, --help            show this help message and exit

  -n HOSTNAME, --hostname HOSTNAME
                        the nzbget hostname to reach
  -u USERNAME, --username USERNAME
                        your nzbget username
  -p PASSWORD, --password PASSWORD
                        your nzbget password

  -l CONFIG, --load-config CONFIG
                        your nzbget config
  -d DOMAIN, --domain DOMAIN
                        the domain target defined in your nzbget config

  -c CATEGORY, --category CATEGORY
                        the category to use for the nzb files download
  -P PRIORITY, --priority PRIORITY
                        the category to use for the nzb files download

  --add-top             add the files to the top of queue
  --add-paused          add the files in pause state

  --app-path NZBGET_PATH
                        specify the nzbget app path to launch it if not
                        already running

  -D, --delete-files    to delete the files sent to NZBgetScriptsAvailablepipenv runscripts :install- installs the package in pipenvapp- runs the applicationtest- runs the tests withpytestbuild- build the app artifactsclean- clean the artifacts created with thebuildscriptdeploy-test- deploy totest.pypideploy- deploy topypiIn order to properly run the deploy scripts, you should :havetwineinstalled.have a~/.pypircfile filled according to the template belowConfigurations templates~/.nzbgetrcconfiguration (recommended) :[localhost]username=local-usernamepassword=local-password[remote.domain.tld]port=6790username=remote-usernamepassword=remote-passwordyou can use defaut by not mentioning the field.envconfiguration :NZBGET_URL='[http|https]://hostname:port'NZBGET_USERNAME='username'NZBGET_PASSWORD='password'url scheme and port are optionalyou can also set these variables in your environment.pypirc[distutils]index-servers=pypitestpypi[pypi]username:your_usernamepassword:your_password[testpypi]repository:https://test.pypi.org/legacy/username:your_usernamepassword:your_passwordNote:pypi.organdtest.pypi.orguses two distinct databases for user accounts. You need to create an account for both domains
Package: nzbn
New Zealand Business Number Python LibraryA Python library for interacting with New Zealand Business Number (NZBN)
services provided by the New Zealand Ministry of Business, Innovation, and
Employment (MBIE).Installation$ pip install nzbnNomenclatureThe MBIE NZBN API has two main "Entity" types, where "Entity" is used to refer
to a legal person recorded in the New Zealand Business Register (NZBR). The
firs is included in vector results from search queries, and is calledSearchEntity. The second is returned in response to requests for a specific
NBZN, and is calledFullEntity.The authors of this library find referring to these asAbbreviatedEntityandEntityto be more natural, and therefore those names are used. You can
also useSearchEntityandFullEntityin your Python code, as those names
are effectively type-aliases forAbbreviatedEntityandEntity.Example UsageGet a list of abbreviated entitiesfromnzbnimportAbbreviatedEntityentities:List[AbbreviatedEntity]=AbbreviatedEntity.retrieve_many(api_key="your nzbn API access token",search_text="some entity name",page=0,# defaults to 0limit=20# per page count, defaults to 20)Get detailed data about an entityfromnzbnimportEntityentity:Optional[Entity]=Entity.retrieve(api_key="your nzbn API access token",nzbn="9429049541410",sandbox=False# defaults to False)
Package: nzilbb-labbcat
nzilbb-labbcatClient library for communicating withLaBB-CATservers using Python.e.g.importlabbcat# Connect to the LaBB-CAT corpuscorpus=labbcat.LabbcatView("https://labbcat.canterbury.ac.nz/demo","demo","demo")# Find all tokens of a wordmatches=corpus.getMatches({"orthography":"quake"})# Get the recording of that utteranceaudio=corpus.getSoundFragments(matches)# Get Praat TextGrids for the utterancestextgrids=corpus.getFragments(matches,["utterance","word","segment"],"text/praat-textgrid")LaBB-CAT is a web-based linguistic annotation store that stores audio or video
recordings, text transcripts, and other annotations.Annotations of various types can be automatically generated or manually added.LaBB-CAT servers are usually password-protected linguistic corpora, and can be
accessed manually via a web browser, or programmatically using a client library like
this one.The current version of this library requires LaBB-CAT version 20220307.1126.DocumentationDetailed documentation is availablehereBasic usagenzilbb-labbcatis available in the Python Package IndexhereTo install the module:pip install nzilbb-labbcatThe following example shows how to:upload a transcript to LaBB-CAT,wait for the automatic annotation tasks to finish,extract the annotation labels, anddelete the transcript from LaBB-CAT.importlabbcat# Connect to the LaBB-CAT corpuscorpus=labbcat.LabbcatEdit("http://localhost:8080/labbcat","labbcat","labbcat")# List the corpora on the servercorpora=corpus.getCorpusIds()# List the transcript typestranscript_type_layer=corpus.getLayer("transcript_type")transcript_types=transcript_type_layer["validLabels"]# Upload a transcriptcorpus_id=corpora[0]transcript_type=next(iter(transcript_types))taskId=corpus.newTranscript("test/labbcat-py.test.txt",None,None,transcript_type,corpus_id,"test")# wait for the annotation generation to finishcorpus.waitForTask(taskId)corpus.releaseTask(taskId)# get the "POS" layer annotationsannotations=corpus.getAnnotations("labbcat-py.test.txt","pos")labels=list(map(lambdaannotation:annotation["label"],annotations))# delete tha transcript from the corpuscorpus.deleteTranscript("labbcat-py.test.txt")For batch uploading and other example code, see theexamplessubdirectory.DevelopersTo build, test, release, and document the module, the following prerequisites are required:pip3 install twinepip3 install pathlibapt install python3-sphinxUnit testspython3 -m unittest...or for specific tests:python3 -m unittest test.TestLabbcatAdminDocumentation generationcd docs
make clean
makePublishingrm dist/*
python3 setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*
Package: nz-labyrinth
# p3-labyrinthe
### Goal of this mini gameCollect objectsEscape from the labyrinthWatch out for the guard!Keyboard controls :Arrow keys to moveEsc to quit game### Easy installation`bash pip installnz-labyrinth`<br>
<p align=”center”>
<img alt=”Demo” src=”https://i.imgur.com/08bXvcq.gif” width=”50%”>
</p>
Package: nzmath
IntroductionNZMATH is a Python based number theory oriented calculation system.
Its development started at Nakamula laboratory, Tokyo Metropolitan
University.  Today it is developed at SourceForge.net .This version 3.0.0 is based on Python 3, while former versions are all
based on Python 2.  Most features are equal to those of version 1.2.0.
The API can still be changed with versions.InstallationTo install NZMATH on your computer, you must have Python 3.8 or later.
If you don’t have a copy of Python, please install it first.
Python is available fromhttps://www.python.org/.The next step is to expand the NZMATH-3.0.0.tar.gz.  The way to do it
depends on your operating system.  On the systems with recent GNU tar,
you can do it with a single command:% tar xf NZMATH-3.0.0.tar.gzwhere, % is the command line prompt.  Or with standard tar, you can do
it as:% gzip -cd NZMATH-3.0.0.tar.gz | tar xf -Then, you have a child directory named NZMATH-3.0.0.The third step is the last step, to install NZMATH to the standard
python path.  Usually, this means to write files to somewhere under
/usr/lib or /usr/local/lib, and thus you have to have appropriate
write permission.  Typically, do as the following:% cd NZMATH-3.0.0
% su
# python setup.py installUsageNZMATH is provided as a Python library package named ‘nzmath’, so
please use it as a usual package.  For more information please referTutorial.FeedbackYour feedbacks are always welcomed.  Please consider to join the
mailing listnzmath-user@lists.sourceforge.net.  You can join the list
by visiting the web pagehttps://lists.sourceforge.net/lists/listinfo/nzmath-user.CopyrightNZMATH is distributed under the BSD license.  Please readLICENSE.txtin the distribution tar ball for detail.AddressObject
Package: nzmetservice
The nzmetservice package contains various functions for downloading, processing, and handling of New Zealand MetService forecast data.
This package is not associated with the MetService.Installationnzmetservice can be installed via pip or conda:pip install nzmetserviceor:conda install -c mullenkamp nzmetserviceThe core dependencies arePandasandxarray.Usageftp_transferThe ftp_transfer functions does as the name implies. It looks at the output_path on your local drive then compares it to the MetService ftp site and downloads what is on the ftp site that isn’t in the output_path.
It can be loaded in from the basic module:fromnzmetserviceimportftp_transferAnd feed it with the necessary parameters:ftp_transfer(ftp_path,username,password,output_path)You will likely want to create a scheduled task to run a script containing this function once an hour.Selection and processingThe other two functions are simple selection and conversion tools.importpandasaspdfromnzmetserviceimportselect_bounds,to_df,datasetspd.options.display.max_columns=10######################################## Parametersmin_lat=-47max_lat=-40min_lon=166max_lon=175nc1_path=datasets.get_path('wrf_hourly_precip_nz8km_test')####################################### Examplesms1=select_bounds(nc1_path,min_lat,max_lat,min_lon,max_lon)ms_df=to_df(ms1,to_rate=True)
Package: nz-seqtech
NZ-SeQTechBringing DNA sequencing data into the quantum computing era.AboutNZ-SeQTech is a Python library designed to facilitate DNA sequence encoding in quantum machine learning applications. With NZ-SeQTech, you can effortlessly encode DNA sequences using various data encoding techniques we have developed and discussed in our articleClassical-to-Quantum Sequence Encoding in Genomics. This library is distributed under the Apache license.InstallationYou can install NZ-SeQTech using pip:pipinstallnz-seqtechFeaturesAdvanced encoding techniques for DNA sequences.Smooth integration of encoded sequences into quantum machine learning workflows.Additional functions, including DNA analysis and classical machine learning support.Usageimport nz_seqtech
from nz_seqtech.quantum_dna_encoding import cosine_encoding

# Encode DNA sequence using a specific technique
encoded_sequence = cosine_encoding('sequence')Make sure to replacesequencewith the actual DNA sequence you want to encode.For more details, you can check thedocumentation.ContributingWe welcome contributions to NZ-SeQTech! Feel free to submit a pull request if you find any issues or would like to add enhancements. For significant changes, please open an issue first to discuss the proposed changes.LicenseNZ-SeQTech is distributed under the Apache License. Read more about it in theLICENSEfile.ContactIf you have any questions or suggestions, please get in touch with us athello@nz-seqtech.com.
Package: nzshm-common
nzshm-commonA pure python library of shared objects used in nzshm projectsDocumentation:https://GNS-Science.github.io/nzshm-common-pyGitHub:https://github.com/GNS-Science/nzshm-common-pyPyPI:https://pypi.org/project/nzshm-common/Free software: GPL-3.0-onlyInstallationpip install nzshm-commonUse>>> from nzshm_common.location import location
>>> dir(location)
['LOCATIONS', 'LOCATION_LISTS', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'location_by_id']
>>>
Package: nz-ua
nz-uaLibrary for working with the nz.ua serviceRequirementsPython 3.10+Aiohttpfor making requests to nz.ua api.Pydanticfor data validation.Installingpip install nz-uaOr use the version from github:pip install git+https://github.com/GoldMasterPro/nz-uaQuick usageimportnzimportasyncioUSER_NAME="your username"PASSWORD="your password"asyncdefmain():asyncwithnz.Client()asclient:awaitclient.login(USER_NAME,PASSWORD)schedule=awaitclient.get_schedule()print(schedule.dict())if__name__=="__main__":asyncio.run(main())LinksDocumentation
Package: nz-ua.py
Library InformationLibrary DocumentationGitHubMore infoTelegram ChannelYouTube channelDiscord Servernz-ua.pyLibrary for working with nz ua servers, below you will see code examples, for more examples see the documentation or the examples folderLogin exampleimportnzimportasyncioclient=nz.Client()asyncdefmain():info=awaitclient.login('user_name','password')print(info.json)if__name__=='__main__':loop=asyncio.get_event_loop()loop.run_until_complete(loop.create_task(main()))