Saravanan666/pypi-org huggingface dataset:
Package: nobinobi-stats
Package Stats for nobinobiDocumentationThe full documentation is athttps://nobinobi-stats.readthedocs.io.QuickstartInstall Nobinobi Stats:pip install nobinobi-statsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'phonenumber_field','crispy_forms','django_extensions','rest_framework','rest_framework.authtoken','rest_framework_datatables','menu','bootstrap_modal_forms','widget_tweaks','django_select2','bootstrap_datepicker_plus','nobinobi_core','nobinobi_staff','nobinobi_child.apps.NobinobiChildConfig','nobinobi_daily_follow_up.apps.NobinobiDailyFollowUpConfig','nobinobi_stats.apps.NobinobiStatsConfig',...)Add Nobinobi Stats’s URL patterns:fromnobinobi_coreimporturlsasnobinobi_core_urlsfromnobinobi_staffimporturlsasnobinobi_staff_urlsfromnobinobi_childimporturlsasnobinobi_child_urlsfromnobinobi_daily_follow_upimporturlsasnobinobi_daily_follow_up_urlsfromnobinobi_statsimporturlsasnobinobi_stats_urlsurlpatterns=[...path('',include(nobinobi_core_urls)),path('',include(nobinobi_staff_urls)),path('',include(nobinobi_child_urls)),path('',include(nobinobi_daily_follow_up_urls)),path('',include(nobinobi_stats_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxDevelopment commandspip install -r requirements_dev.txt
invoke -lCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.5 (2023-09-13)75783f3 - Update stats occupancy to use ocs and dayoff0.1.4 (2023-09-12)cde21fa - Fix stats occupancy remove Organisation Closure from stats0.1.3 (2022-02-24)5e7d804 - fix in stats attendance when 3 periods is between us0.1.2 (2021-12-14)2292069 - fix error in new version of bootstrap datetimepicker02cac33 - Add FR translation to git0.1.1 (2021-09-24)359beea - Fix for bumpversionc937c74 - Update Copyright0.1.0 (2021-09-24)First release on PyPI.
Package: nobi-tronpy
How to usefromtronpyimportTronclient=Tron(network='nile')# Private key of TJzXt1sZautjqXnpjQT4xSCBHNSYgBkDr3priv_key=PrivateKey(bytes.fromhex("8888888888888888888888888888888888888888888888888888888888888888"))txn=(client.trx.transfer("TJzXt1sZautjqXnpjQT4xSCBHNSYgBkDr3","TVjsyZ7fYF3qLF6BQgPmTEZy1xrNNyVAAA",1_000).memo("test memo").fee_limit(100_000_000).build().inspect().sign(priv_key).broadcast())print(txn)# > {'result': True, 'txid': '5182b96bc0d74f416d6ba8e22380e5920d8627f8fb5ef5a6a11d4df030459132'}print(txn.wait())# > {'id': '5182b96bc0d74f416d6ba8e22380e5920d8627f8fb5ef5a6a11d4df030459132', 'blockNumber': 6415370, 'blockTimeStamp': 1591951155000, 'contractResult': [''], 'receipt': {'net_usage': 283}}
Package: noblklog
noblklogKeep using theloggingyou're accustomed to, without having to fear it blocking yourasyncioevent loop.importasyncioimportloggingimportnoblkloglogging.basicConfig(level=logging.INFO,handlers=[noblklog.AsyncStreamHandler(),],)log=logging.getLogger(None)log.info('It is logging synchronously outside an event loop! Magic!')asyncdefmain():log.info('And asynchronously inside an event loop! Even more magic!')asyncio.run(main())For more details see thedocumentation.
Package: nobot
Django reCAPTCHA form field/widget integration app.InstallationInstall or addnobotto your Python path.Addnobotto yourINSTALLED_APPSsetting.Add aNOBOT_RECAPTCHA_PUBLIC_KEYsetting to the project’ssettings.pyfile. This is your public API key as provided by reCAPTCHA, i.e.:NOBOT_RECAPTCHA_PUBLIC_KEY = '76wtgdfsjhsydt7r5FFGFhgsdfytd656sad75fgh'This can be seperately specified at runtime by passing apublic_keyparameter when constructing theReCaptchaField, see field usage below.Add aNOBOT_RECAPTCHA_PRIVATE_KEYsetting to the project’ssettings.pyfile. This is your private API key as provided by reCAPTCHA, i.e.:NOBOT_RECAPTCHA_PRIVATE_KEY = '98dfg6df7g56df6gdfgdfg65JHJH656565GFGFGs'This can be seperately specified at runtime by passing aprivate_keyparameter when constructing theReCaptchaField, see field usage below.UsageFieldThe quickest way to add reCAPTHCA to a form is to use the includedReCaptchaFieldfield type. AReCaptchawidget will be rendered with the field validating itself without any further action required from you. For example:from django import forms
from nobot.fields import ReCaptchaField

class FormWithCaptcha(forms.Form):
    captcha = ReCaptchaField()The reCAPTCHA widget supports severalJavascript options variablescustomizing the behaviour of the widget, such asthemeandlang. You can forward these options to the widget by passing anattrparameter containing a dictionary of options toReCaptchaField, i.e.:captcha = ReCaptchaField(attrs={'theme' : 'clean'})The captcha client takes the key/value pairs and writes out the RecaptchaOptions value in JavaScript.TestingTo obtain a valid form containing a reCAPTCHA fieldofflineone can mock the verify method of ReCaptchaClient or HumanCaptchaClient, i.e.:import mock
from nobot.client import RecaptchaResponse

class MyTestClass:

    @mock.patch('nobot.client.HumanCaptchaClient.verify')
    def test_with_valid_form(self, nobot_mock):
        nobot_mock.return_value = RecaptchaResponse(is_valid=True, error_code=None)

        # ...
        # Test your form or view
        # recaptcha won't 'spoil' test validation offline nowCreditsOriginally developed under the namedjango-recaptchaby Praekelt Consulting. Forked for better testability and extensibility.
Authors
=======nobotwas previously developed under the namedjango-recaptchaand under the
Copyright of Praekelt Foundation. The following copyright notice holds true for
releases before the renaming: “Copyright (c) by Praekelt FoundationPackage MaintainerChristopher GrebsPraekelt ConsultingShaun SephtonPeter PistoriusHedley RoosbTaylor DesignBrandon TaylorOtherBrooks TravisDenis MishchishinJoshua PeperRodrigo PrimosnnwolfAdriano Oriolicdvv7788
Package: nobu
## Raspberry Pi as an AccessPoint (AP) and Server**Nobu** is a minimum library to use the Raspberry Pi as an AccessPoint and a Web Server. It's important to note that depending on the Wireless Network card you maybe using (Realtek for example) the appropriate `hostapd` will need to be downloaded. For example the Raspbian hostapd doesn't workon some Realtek chips (Realtek-RTL8188 for ex), as a result I've used the driver from Realtek.# EXAMPLE```pythonimport nobun = nobu.Nobu("ssid", "passwd_must_>_8_chars")```There are three components to create a Linux Accesspoint: hostapd (host access point daemon), interfaces configuration, dhcpd (dynamic host configuration protocol)# HOSTAPDThe hostapd mainly broadcasts the RPi as an Access Point. in its configuration file is where you set up the connection details (SSID/Password etc.,)Bear in mind that this process and guide uses a Realtek WiFi chip, which REQUIRES its own Driver. So the hostapd that comes default with Raspbian WILL NOT WORK!I've included the correct default hostapd but it can be found online as well.Reference: https://jenssegers.com/43/Realtek-RTL8188-based-access-point-on-Raspberry-Pi`sudo service hostapd start``sudo hostapd /etc/hostapd/hostapd.conf `# Interfaces (/etc/network/interfaces)This is where all the networking interfaces configuration go: ethernet (eth01), wireless (wlan0 for ex)This is where you set up the static IP Address for the RPi which other devices will use when the send data to the Pi using sockets`sudo ifconfig wlan0 192.168.42.1``sudo ifdown wlan0``sudo ifup wlan0`# dhcpdSince the Pi is acting as a server it needs to communicate with the clients connected. To do so it needs to assign each client an IP address. Dynamic Host Configuration Protocol allows `hosts` that connect to be dynanimically configured for communication with the server (by receiving IP addresses).Neeed to also edit `/etc/default/isc-dhcp-server` and set INTERFACES="wlan0" letting know the dhcp server will assign IP addresses to clients connecting on to the access point.`sudo dhcpd -cf /etc/dhcp/dhcpd.conf``sudo service isc-dhcp-server status`# ReferencesFor more advanced setup like having the Pi connect with ethernet for an AP that can forward requests check out AdafruitMonitor the logs as the AP connection/handshake takes place: `tail -f /var/log/syslog`
Package: nobus
nobus"Nobody But Us" modules for PythonWhat is nobusNOBUS（Nobody But Us）は「我々（United States）だけが利用できる脆弱性」を意味するアメリカ国家安全保証局（NSA）の標語です。nobusモジュールはごく一部の変人しか使わないであろう、Python の特殊メソッドをフル活用したクラスハッキングを詰め込んだモジュールです。現在は Python のクラスアトリビュートに対して型チェックと immutable / protected 属性を追加するsafeattrモジュールが実装されています。そのうち関数型プログラミングモジュールのketteを統合する予定です。本当に暇なときしか整備できないのでドキュメントはそのうち整備します。基本的に Zenn の記事をドキュメント代わりにしてください。Zenn:Josh Nobus (@wsuzume)Twitter:@wsuzumeUsageinstall$ pip install nobussafeattr.pyいまのところはこの Zenn の記事をドキュメント代わりにしてください。
Package: nobvisual
NOB VISUALVisualization of nested objects.
The main output is a circular packing in Tkinter with an "hover interaction".
By hovering over the circles, the user can peek at the content.Example of nobvisual on a folder structure. Three subfolders show a similar content. Yellow circles are binary files, blue are ASCII files.This last example is for a nested object build on a folder structure, but nob visual output can be run on various nested objects, particularly or JSON or YAML contents.See the fullonline documentationon ReadTheDocs.InstallationInstallation using Pypi:>pipinstallnobvisualUsageUse the CLI for a basic terminal usage.---------------NOBVISUAL--------------------YouarenowusingtheCommandlineinterfaceofNobVisualaPython3helpertoexploreNestedObjects,createdatCERFACS(https://cerfacs.fr).Thispackageismeantobeusedasadependencyofotherpackages,toprovideatkinkercanvasrenderingthenestedstructureofnestedsobjects.Thisisapythonpackagecurrentlyinstalledinyourpythonenvironement.

Options:--helpShowthismessageandexit.

Commands:cmpfileComparethecontentoftwoserializationfiles.treeShowcurrentwkdirvisually.treefileShowthecontentofaserializationfile.AcknowledgementNobvisual is a service created in theEXCELLERAT Center Of Excellence, funded by the European community.
Package: no-cap
No CAP: Typing to ConfigArgParseWrite once with inspection of type hinted python objects from Python's standard librarytypingto generate a ConfigArgParser.ConfigArgParseris a drop in replacement for python's argparse that adds support for parsing configuration files and environment variables in addition to argparse's command line interface.
Type hinting your python objects should be enough to generate a hierarchical ConfigArgParser automtically through inspection.If you want to generate a ConfigArgParser from your docstrings, seedocstr, which will depend upon this project.Considering usingtyping_inspect.
Package: nocaptcha
No bots with no captcha. Easy and fast way to secure your django forms with no using of damned, hated by everyone captcha.INITIAL ACCTIONSInclude nocaptcha in your settings’ installed appsINSTALLED_APPS = (…
‘nocaptcha’,
…
)TYPICAL USAGEInclude nocaptcha in your form. Add secret password, that would be used in md5 hash and min_time value - the shortest time, that could be possible to fill your form.from nocaptcha.forms import NoCaptchaFormclass ContactForm(NoCaptchaForm, forms.Form):secret_password = “NoCaptcha rocks!”
min_time = 5
name = forms.CharField(label=”Name”)
message = forms.CharField(label=”Message”, widget=forms.Textarea)BENEFITSFrom now on all the fieldnames in your form will be encoded into a md5(timestamp + fieldname + secret_password).
The timestamp field will be created with the timestamp of the page initial get. If the form will be posted in less then min_time, the error will be raised.
There will be added a few honeypots with tempting names like “name” or “password” hidden with “display: none” style. If any of them will be filled, the error will be raised. The honeypots are taken as sample from list of honeypots and their order is shuffled.With these changes, the chance that any bot would automatically pass through your form is minimaised to zero. So stop using tha damn, hated by everyone captcha. Use nocaptcha.REQUIREMENTSDjango >= 1.1.1
Package: nocasedict
OverviewClassNocaseDictis a case-insensitive ordered dictionary that preserves
the original lexical case of its keys.Example:$python>>>fromnocasedictimportNocaseDict>>>dict1=NocaseDict({'Alpha':1,'Beta':2})>>>dict1['ALPHA']# Lookup by key is case-insensitive1>>>print(dict1)# Keys are returned with the original lexical caseNocaseDict({'Alpha':1,'Beta':2})TheNocaseDictclass supports the functionality of the built-indict class of Python 3.8on all Python versions it supports with
the following exceptions (and the case-insensitivity of course):Theiter..(),view..()andhas_key()methods are only present
on Python 2, consistent with the built-indictclass.Thekeys(),values()anditems()methods return a list on Python 2
and a dictionary view on Python 3, consistent with the built-indictclass.The case-insensitivity is achieved by matching any key values as their
casefolded values. By default, the casefolding is performed withstr.casefold()for unicode string keys and withbytes.lower()for byte
string keys.
The default casefolding can be overridden with a user-defined casefold method.Functionality can be added using mixin classes:HashableMixinmixin class: Adds case-insensitive hashability.KeyableByMixinmixin generator function: Adds ability to get the key from
an attribute of the value object.Why yet another case-insensitive dictionary: We found that all previously
existing case-insensitive dictionary packages on Pypi either had flaws, were
not well maintained, or did not support the Python versions we needed.InstallationTo install the latest released version of the nocasedict package into your
active Python environment:$pipinstallnocasedictThis will also install any prerequisite Python packages.For more details and alternative ways to install, seeInstallation.DocumentationDocumentationChange HistoryChange historyContributingFor information on how to contribute to the nocasedict project, seeContributing.LicenseThe nocasedict project is provided under theGNU Lesser General Public License (LGPL) version 2.1,
or (at your option) any later version.
Package: nocaselist
OverviewClassNocaseListis a case-insensitive list that preserves the lexical case
of its items.Example:$python>>>fromnocaselistimportNocaseList>>>list1=NocaseList(['Alpha','Beta'])>>>print(list1)# Any access is case-preserving['Alpha','Beta']>>>'ALPHA'inlist1# Any lookup or comparison is case-insensitiveTrueTheNocaseListclass supports the functionality of the built-inlist class of Python 3.8on all Python versions it supports (except for being
case-insensitive, of course).The case-insensitivity is achieved by matching any key values as their
casefolded values. By default, the casefolding is performed withstr.casefold()for unicode string keys and withbytes.lower()for byte
string keys.
The default casefolding can be overridden with a user-defined casefold method.InstallationTo install the latest released version of the nocaselist package into your
active Python environment:$pipinstallnocaselistThe nocaselist package has no prerequisite Python packages.For more details and alternative ways to install, seeInstallation.DocumentationDocumentationChange HistoryChange historyContributingFor information on how to contribute to the nocaselist project, seeContributing.LicenseThe nocaselist project is provided under theApache Software License 2.0.
Package: noCheck
#How to install:pip install noCheck==0.5 // where 0.5 is package version, if the version is different available on pypi.org, please use that as it updated.#How to use1: This package will help you to find highest number between two numbers.2: To get the highest number from two numbers provided.3: Provide valid details, then use checkNum() to check which is highest number4: When number is checked, get detailed summary about the number by using conc() function#Examplepip install noCheck==0.5import noCheck as ncobj= nc.Number(num1,num2) //supply any two interger numbers
obj.checkNum() //this will check which number from num1 and num2 is greatestobj.conc() //this will make conclusion based on greatest number
Package: noclouddotnet
Cloud-init is theindustry standardmulti-distribution method for
cross-platform cloud instance initialization. It is supported across all
major public cloud providers, provisioning systems for private cloud
infrastructure, and bare-metal installations.Cloud instances are initialized from a disk image and instance data:Cloud metadataUser data (optional)Vendor data (optional)NoCloud.Net is a back-end for the nocloud/net datasource.NoCloud.Net also supports cloud-init’s phone-home feature.
Package: nocode-autonn
AutoNN : A No-Code Automated Machine Learning Framework For Deep Learning enthusiast.OfficialWebsiteInstallationInstall it using pip package manager:pipinstallnocode-autonnUpgrade the package using the following command:pipinstall--upgradenocode-autonnInstall all the dependenciespip install -r requirements.txtHow to run the file:Open terminal and write the following command:autonnThe user interface:
Package: nocode-utils
封装常用函数和类不会预先安装所有依赖包，需要时推荐安装版本：DBUtils==1.3pymysql==1.0.2psycopg2-binary==2.9.1requests==2.26.0nlpcda==2.5.8结构nocode_utilshttp_utilsdef http_postdef http_getdatabase_utilsclass DBProcessorthreading_utilsclass Threadsnlp_utilsdata_augmentationdef ramdom_worddef similar_worddef homophonedef char_position_exchangedef equivalent_chardef SimGeneratordata_preprocessdef is_all_chinesedef is_contains_chinesedef is_contains_englishdef only_keep_chinesedef get_sentence_numcommondef get_embeddingdef get_similaritydef get_entity
Package: nocomentariosN2T
NoComentariosN2TElimina comentarios de archivos de Nand2Tetris, en esta versión en especifico los .vmFree software: MIT licenseDocumentation:https://nocomentariosN2T.readthedocs.io.FeaturesCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-10)First release on PyPI.
Package: no-comment
NoCommentComment any resource on the web!InstallNoComment is available on PyPI under the nameno-comment.
To install, just runpython -m pip install no-comment.ConfigureNoComment is configured using environment variables.
Seethesettingsmodulefor
a comprehensive list of configuration variables.All the variable names must be prefixed withNO_COMMENT_. For instance :#Thesecretcanbegeneratedusingthe`secrets.token_hex()`function.$exportNO_COMMENT_SECRET_KEY="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"#AdditionalPythondatabasedriversmightberequireddependingontheDSN.$exportNO_COMMENT_DSN="sqlite:///data.sqlite"AuthenticationTOTP authentication is provided to be able to login on servers that do not (yet) support
thecryptographymodule. You must install extra dependencies (no-comment[totp])
and enable it explicitly by setting a base32 random secret:#Thesecretcanbegeneratedusingthe`pyotp.random_base32()`function.$exportNO_COMMENT_TOTP_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXNote that it is a highly insecure way of authenticating, as anyone gaining access to your
OTP generator would be able to login.InitialiseOnce configured, you must initialise NoComment's database with the dedicated command:$no-commentinit-dbRunNoComment being a Flask application, it can be run using any WSGI server,
for instance, withGunicorn:$gunicorn--access-logfile="-"-w4-b127.0.0.1:3000"no_comment.configuration.wsgi:app()"You can now access the service athttp://127.0.0.1:3000/MY_STREAM_NAME.ContributingSeeCONTRIBUTING.mdto set up a development environment.
Package: no_comments
Easy way to strip comments from various file types.Description:Comment stripping utility. Handles both inline comments and block comments.
Strips C/C++ comments by default (both inline and block).Usage:cat source_code_file | no_comments > outFeatures:strip only inline comments / block commentsconfigurable delimitersstrip only comments at the beggining of the linepreserve empty lines which contained comments beforeInstallation:easy_install no_commentsorpip install no_commentsrunno_comments –helpNotes:This utility is DUMB - as it’s not language specific it doesn’t understand the syntax (It
will remove comments in strings, ignore nested comments or so).
Package: noconf
Key featuresFlexible configuration: noconf allows you to configure your
Python applications using configuration files that use Python
syntax.Multiple configuration files: noconf allows you to split your
configuration across multiple files, making it easier to manage and
update your configuration as your application grows.Configuration referencing: noconf allows you to reference other
parts of your configuration from within your configuration,
avoiding duplication and keeping your configuration DRY (Don’t
Repeat Yourself).Component-based programming: noconf enables you to initialize
classes using your configuration, making it easy to compose complex
systems out of smaller, reusable components. This promotes code
reuse and maintainability.UsageAt a minimum, noconf allows us to read configuration that’s stored in
files with Python syntax, where the file contains exactly one top
level dictionary.Let’s first write a very simple config file:>>> config1_fname = folder / "config1.py"
>>> config1_fname.write_text("""
... {'key1': 'value1', 'key2': ['value2']}
... """)
40>>> from noconf import load
>>> load(config1_fname)
{'key1': 'value1', 'key2': ['value2']}We can also chain configuration files, that is, load multiple
configuration files and merge them, where contents of the files later
in the list of files to load will take precedence:>>> config2_fname = folder / "config2.py"
>>> config2_fname.write_text("""
... {'key1': 'new', 'key3': {'__copy__': 'key2'}}
... """)
47
>>> load((config1_fname, config2_fname))  # a tuple of config files
{'key1': 'new', 'key2': ['value2'], 'key3': ['value2']}Notice that in the above example, we also used a‘__copy__’feature,
which allows us to refer to other parts in the configuration, and to
avoid duplication.We can also instantiate classes directly from the configuration.
Let’s create a configuration file that instantiates a Python logging
FileHandler class.  We’re also going to configure the FileHandler with
a filename that’s passed as an environment variable.  We use the
specialenvironvariable in noconf to access environment variables:>>> setenv("LOGFILE", str(folder / "mylogfile.txt"))>>> config3_fname = folder / "config3.py"
>>> config3_fname.write_text("""
... {
...     'handlers': [
...         {
...             '!': 'logging.FileHandler',
...             'filename': environ['LOGFILE'],
...         },
...     ],
... }
... """)
135
>>> config = load(config3_fname)
>>> filehandler = config['handlers'][0]>>> from pathlib import Path
>>> Path(filehandler.baseFilename).parts[-1]
'mylogfile.txt'
Package: no-config
no_config把yaml、json和toml等配置文件映射为类，需要很多冗余代码或者魔术字符串。这对代码的维护工作提出了更高的要求，no_config能简化这种映射，仅仅需要两行代码即可完成映射。更多文档信息请参考https://ncdhz.github.io/no_config。安装pip安装pipinstallno_config源码安装gitclonehttps://github.com/ncdhz/no_config.git# 进入no_config目录执行下面语句pipinstall.快速开始下面将用一个简短的例子介绍本库该怎么使用，例子中使用的源码在examples/start/start.py。把配置文件中的信息，映射到实体类User中。配置文件# 创建配置文件start.yamluser:username:ncdhzpassword:ncdhz源码文件fromosimportpathfromno_configimportConfig# 配置注入@ConfigclassUser:password=Noneusername=Noneif__name__=='__main__':# 配置初始化# 全局只需一次初始化# 在更改配置之后可以通过此函数刷新配置Config.init(path.join(path.dirname(__file__),'start.yaml'))print(User.password)print(User.username)
Package: noconfusion
WelcomeWhy do we need this python module?This library will make you not confused in python. for examle if you want to print only part of string,Installationpip install noConfusionExamplestr = '"hello world'print(str[firstindex:lastindex])the meaning of the confusion in this code is that you sometimes don't
remember if the first index is included or not or last index is excluded or not.
Package: noct
NOCTNOCTは、メッセンジャーへの通知を容易に実現するためのコマンドラインツールです。
サポートしているメッセンジャー: SLACKドキュメント以下のページから利用方法について確認を行う事が可能です。https://tuntunkun-org.github.io/noct/