Saravanan666/pypi-org huggingface dataset:
Package: nosetp
=================================================================nosetp=================================================================.. # POST TITLE.. # BEGIN BADGES|pypi-version-badge| |license-badge| |pypi-downloads-badge|.. |pypi-version-badge| image:: http://img.shields.io/pypi/v/nosetp.svg:alt: [latest version on pypi]:target: https://pypi.python.org/pypi/nosetp.. |pypi-downloads-badge| image:: http://img.shields.io/pypi/dm/nosetp.svg:alt: [downloads on pypi]:target: https://pypi.python.org/pypi/nosetp.. |license-badge| image:: http://img.shields.io/badge/license-GPLv3+-brightgreen.svg:alt: [GPLv3+]:target: https://www.gnu.org/licenses/gpl.html.. # END BADGES**nosetp** is a band-aid for some missing features in nose_.**nosetp** provides the `nosetp <nosetp.commands.nosetp>` command forsetuptools_, which is just a wrapper around the :program:`nosetests` command providedby default nose_, with some extra options. Specifically, the :opt:`--nosetp-chain`option supresses the normal exit behavior of :program:`nosetests` so that it exitsif and only if tests are unsuccessful, otherwise it continues to execute anyother commands specified for :program:`setup.py`... contents:: **Page Contents**:local::depth: 2:backlinks: toptl;dr---------------What?~~~~~~~~~~~~~~Some add-on functionlity for nose_.Install?~~~~~~~~~~~~~.. code:: bash$ pip install nosetpOr, from source:.. code:: bash$ python setup.py installDependencies?~~~~~~~~~~~~~~~~nosetp is developed against `python <https://www.python.org/>`_ version 2.7.nosetp also requires `docit <https://pypi.python.org/pypi/docit>`_and nose_. If you install with :program:`pip`, these will be handledautomatically.To build the sphinx docs from source (as is), you'll also need the `sphinx_rtd_theme`_:.. code:: bash$ pip install sphinx_rtd_themeDocs?~~~~~~~~* `Python Hosted (.org) <http://pythonhosted.org/nosetp/>`_Misc.---------------Contact Information~~~~~~~~~~~~~~~~~~~~~~~~This project is currently hosted on `bitbucket <https://bitbucket.org>`_,at `https://bitbucket.org/bmearns/nosetp <https://bitbucket.org/bmearns/nosetp/>`_.The primary author is Brian Mearns, whom you can contact through bitbucket at`https://bitbucket.org/bmearns <https://bitbucket.org/bmearns>`_.Copyright and License~~~~~~~~~~~~~~~~~~~~~~~~~~\ ``nosetp``\  is \ *free software*\ : you can redistribute it and/or modifyit under the terms of the \ **GNU General Public License**\  as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.\ ``nosetp``\  is distributed in the hope that it will be useful,but \ **without any warranty**\ ; without even the implied warranty of\ *merchantability*\  or \ *fitness for a particular purpose*\ .  See theGNU General Public License for more details.A copy of the GNU General Public License is available in the\ ``nosetp``\ distribution under the file LICENSE.txt. If you did notreceive a copy of this file, see`http://www.gnu.org/licenses/ <http://www.gnu.org/licenses/>`_... _sphinx_rtd_theme: https://github.com/snide/sphinx_rtd_theme.. _nose:   https://nose.readthedocs.org/.. _setuptools: https://pythonhosted.org/setuptools/
Package: nosetty
nosetty is a plugin for [http://somethingaboutorange.com/mrl/projects/nose/nose], a test runner for python.  It accepts various commands at the terminal, giving you some one-on-one quality time with your tracebacks.  Most importantly, editing a failure point is as easy as typing a number.  How about a screenshot?http://farmdev.com/projects/nosetty/nosetty-screenshot.png== Install =={{{
easy_install nosetty
}}}get the [http://peak.telecommunity.com/DevCenter/EasyInstalleasy_install command here].Development versions are available as:{{{
easy_install nosetty==dev
}}}…or via subversion at [http://nosetty.googlecode.com/svn/trunk/#egg=nosetty-devhttp://nosetty.googlecode.com/svn/trunk/]== Usage ==Activate the plugin like so:{{{
nosetests –tty
}}}But to get some useful results, you’ll have to tell it how to hook into your editor and other things.  All this is described in detail on the [Recipes] page.To give the plugin a whirl, you can [http://code.google.com/p/nosetty/sourcecheckout the source] and type…{{{
cd src/nosetty
easy_install .
nosetests -w examples –tty
}}}…to get what’s shown in the above screenshot.== Project Page ==If you’re not already there, the nosetty project lives on [http://code.google.com/p/nosetty/google code].  Please submit any bugs, patches, failing tests, et cetera using the [http://code.google.com/p/nosetty/issues/listIssue Tracker].
Package: nose_warnings_filters
Put the same arguments aswarnings.filterwarningsinsetup.cfgat the root of your project. Separated each argument by pipes|, one
filter per line. Whitespace are stripped.for example:[nosetests]
warningfilters=default         |.*            |DeprecationWarning |notebook.*
               ignore          |.*metadata.*  |DeprecationWarning |notebook.*
               once            |.*schema.*    |UserWarning        |nbfor.*
               error           |.*warn.*      |DeprecationWarning |notebook.services.contents.manager*If you prefer another name for the configuration file, you can tell nose
to load the configuration using the-cflag: run the tests withnosetests-cnose.cfg.details configuration.Each line of warning filter is separated in maximum 4 sections, that
match the first 4 sections offilterwarnings:filterwarnings(action,message="",category=Warning,module="",lineno=0,append=False)fields 2 to 4 can be omitted, ie to say 1 line can be of the following
form:action
action| message
action| message | category
action| message | category | modulethe value of each fields is treated the same as forfilterwarnignsexcept: - whitespace are trimmed. - if thecategoryhas dots, the
corresponding class try to be imported. If it does not have dots, the
name is looked up inbuiltinsor__builtins__test are failingFor some reasons in some systems tests are failing; it seem that this
package have difficulty to self-test. That’s likely due to the fact that
the tested package need to be in different namespaces, and by
self-testing we break this assumption.Home-page:https://github.com/Carreau/nose_warnings_filtersAuthor: Matthias Bussonnier
Author-email:bussonniermatthias@gmail.comLicense: MIT
Description: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=2.7
Package: nose-watch
A Nose plugin that allows to run tests continuously (useswatchdogfor
listening to filesystem events).InstallationUsual thing:pip install nose-watchHow to useIn order to use this plugin use the--with-watchswitch:nosetests --with-watchYou can pass any other options/arguments, tests should be run normally but
process would stay there and watch for changes on*.pyfiles. Every change
should re-run tests.DevelopmentWe usetoxfor tests. Repository is athttps://github.com/lukaszb/nose-watch/.
We prefer pull requests for sending patches.To test the package you can simply run:nosetestsNotePlease do not use the plugin itself (–with-watch) to test the plugin
as it would be picked by nose before the one from repository. If you want to
watch for changes please use providedwatch-tests.shscript.
Package: nose-watcher
A nose plugin to watch for changes within the local directory.Free software: BSD licenseDocumentation:http://nose-watcher.readthedocs.org.Inspired by thenose-watchnose
plugin.Note: nose-watcher will only run on linux, due to the depenency onpython-inotifyandinotify.FeaturesWatches for changes in the local directory, then runs nosetests with the
specified command line options.Doesn’t run the tests multiple times if you’re using vim, Unlike the similar
pluginnose-watch.Specify additional filetypes to watch using the command line argument–filetype.Installationpipinstallnose-watcherUsagenosetests--with-watchernosetests--with-watcher--filetype.txtAdditional ContributorsFelix Chapman (aelred)History0.1.2 (2014-06-09)Handle KeyboardInterrupts while watching for changes.0.1.1 (2014-06-08)Improve documentationImprove unit tests0.1.0 (2014-06-08)First release on PyPI.
Package: nosexcover
nose-xmlcoverA companion to the built-in nose.plugins.cover, this plugin will write out an XML coverage report to a file named coverage.xml.It will honor all the options you pass to theNose coverage plugin, especially –cover-package.UsageYou can not use both –with-xcoverage and –with-coverage.  Using –with-xcover implies –with-coverageIf you want to change the name of the output file you can use –xcoverage-file=FILE (–cover-xml-file from coverage won’t work)As of nose-xcover 1.0.6 –with-xcoverage provides all the functionality of the built-in coverage plugin in addition to Cobertura-style output:#nosetests --with-xcoverage {{ coverage options }}
nosetests --with-xcoverage --cover-package=myapp --cover-tests
Package: nose_xunitmp
SummaryNose plugin that makes xunit xml reports work when running tests on
more than one cpu.Installation$ pip install nose_xunitmpUsage$ nosetests --with-xunitmp
$ nosetests --xunitmp-file results.xml0.4.1
—Fix ‘xunit_prefix_class’ exception0.4Windows support added by Michael Killough0.3Updated to support nose 1.30.2Fixed depedency on nose0.1Initial release
Package: nospace
NoSpaceVideo Demo:https://www.youtube.com/watch?v=j8HY4FUUE9wDescription:Do you use the command line a lot? Are you tired of spaces and/or capitalization
in your files that you have to waste precious keystrokes to put quotes around or
hold the shift key?
NoSpace might be for you!I built this script as my final project for Harvard's CS50P, Introduction to
Programming With Python.InstallationpipinstallnospaceUsageexample usagenospace-ptest_directory-clower-d1-ofiles-s-usage:nospace[-h][-dDEPTH][-c{lower,title,upper}][-o{both,files,folders}][-sSEPERATOR][-pPATH]renamefilesinbulktoremovespacesoptions:-h,--helpshowthishelpmessageandexit-dDEPTH,--depthDEPTHmaximumdepthoffolderstotraverse-c{lower,title,upper},--case{lower,title,upper}caseoftherenamedfilesandfolders(lower,title,orupper)-o{both,files,folders},--objects{both,files,folders}objectstoprocess(files,folders,orboth)-sSEPERATOR,--seperatorSEPERATORseparatortoreplacespaceswith(defaultis_)-pPATH,--pathPATHoptionalfilepathtostartwithLICENSEThis repo is licensed under the permissive MIT license.  You can do whatever you want with it.
Package: nospamplus
NoSpam+An Python Wrapper For NoSpamPlus Api.SupportChannel : @NospamPlusGroup : @NospamPlusSupportBot : @NospamPlusBotWebsite : nospamplus.cfUsage Examplefromnospamplus.connectimportConnectmytoken='your_token_from_@nospamplusbot'token_connect=Connect(mytoken)user=token_connect.is_banned(12974624)print(user.ban_code)print(user.reason)Installingpipinstallnospamplusorpip3installnospamplus
Package: no-spark-in-my-home
Fake data generatorThis package generates fake sql-like format data from predefined schema.
Data schema is defined using dataclasses.Installationpython -m pip install no_spark_in_my_homeUsagefromdatetimeimportdatetimefromdataclassesimportdataclassfromno_spark_in_my_home.src.generatorimportFakeDataGenerator@dataclassclassDataclass:item_id:inttitle:strdate:datetimenumber:intgen=FakeDataGenerator(Dataclass,limit=5,)spark_dataframe=gen.load()spark_dataframe.show()FakeDataGeneratorparams:model- dataclasslimit- number of recordsmask_per_field- dict with masks per field.
Example:FakeDataGenerator(..., mask_per_field={"title": "A#### ###."})range_per_field- dict with ranges per field. Example:FakeDataGenerator(..., range_per_field={"number": {"range": range(1, 10)}})maxlength_per_field- dict with maxlengths for strings per field. Example:FakeDataGenerator(..., maxlength_per_field={"field_name": "title", "maxlength": 100, "fixed": True}).fixed=Truewill generate strings with fixed length.fixed=Falsewill generate strings with non-fixed, but limited lengths.config- path to config. Config should be yaml-formatted.lang- locale. Default - "en"foreign_keys- list of dicts that describes relations. Example:FakeDataGenerator(..., foreign_keys=[{"self_field": "item_id", "other_field": "another_item_id", "other_model": OtherDataclass, "other_data": other_dataclass_gen.load(as_dicts=True)}])loadparams:where_clause- string with where-clause for post-filtering. Example:load(..., where_clause="item_id > 5 and number = 10")as_json- if True returns generated data as jsonas_dicts- if True returns generated data as list of dictsBuilding your own package versionIn case you want to build your own package version you should follow
thisguide.And then just build a wheel and install it.Making and publishing a new releaseUpdate release version in pyproject.toml and setup.pyBuild package withpython -m buildPublish package withtwine upload dist/*
Package: nosplash
NosSplashSimple script utility that allows you to extract and set custom splash inside EWSF.EWSFeaturesEasy to install and useSupport multiple image inputs (auto conversion of various image types)Ability to resize the splash window for your splash to fitInstallationpython -m pip install nosplashUsageExtract all splashespython -m nosplash EWSF.EWS --extractMinimal importpython -m nosplash EWSF.EWS -in image.pngImport your splash as bitmappython -m nosplash EWSF.EWS -format bmp -in image.png -out OUT.EWSImport your splash as jpegpython -m nosplash EWSF.EWS -format jpeg -quality 95 -in image.png -out OUT.EWS
Package: nospy
NOSpy - Official Python client for N.O.S.A brief introduction to N.O.S.N.O.S. is a fast Network Object Store that stores objects as binary data.
The primary interface for NOS is HTTP/s.
N.O.S. is written in GO, and is designed for high performance.
This Python client aims to keep the objects as native as possible to python.
It provides a thin layer of abstraction just to keep things pythonic, but
the lower level HTTP api is always availble for you to use at your discretion.InstallationInstall NOSpy via pip:pip install nospySetup & UsageIn order to use NOSpy you'll need to have a working NOS server setup, running and accessible via HTTP.NOTE:NOS is not publicly available at the moment.Connect to the NOS server:fromnospyimportNOSClientnos=NOSClient("http://localhost:9900")
Package: nosql
Overview=========`nosql` is a schemaless ORM for relational db backed by SQLAlchemy.It's ultermately an implementation of the schemaless ORM introduced by Bret Taylor.http://backchannel.org/blog/friendfeed-schemaless-mysqlUsage=========No instruction is better than real code! Say you are building a `Flask` app.```pythonimport nosqlfrom app import dbclass User(nosql.SchemalessModel):engine = db.engineindexes = (('email',),('facebook_id',),('city',))User.create_all()user = User()user.email = 'yixi.zhang.max@gmail.com'user.name = 'Yixi Zhang'user.save()# find returns a generator>>> [user.name for user in User.find()]['Yixi Zhang']# find_one returns an instance, support any attribute>>> User.find_one(email='yixi.zhang.max@gmail.com').nameYixi Zhang# added_id & id is auto-generated>>> user.ide597bb954cf74d51937d5a5e9fd2f2b8>>> user.added_id1# retrieve non-exist attr returns None>>> user.idol>>> user.delete()>>> list(User.find())[]```Index=========Because `nosql` creates index tables, querying random attribute is fast.Some todo's for index* `index_updater` allows indexes to be added later on and schedule data pushing in the background.* `sharding` on index.Database Support=========So far only tested `SQLite` and `PostgreSQL`License=========Do whatever you want. Hope you enjoy using it.
Package: nosqldb
A Python driver for Oracle NoSQL Database.  This driver requires at least
version 4.2.x of Oracle NoSQL Database and makes use of a (bundled) Java
proxy server to communicate with the database.  Communication with the
proxy is done using a Thrift-based protocol.This driver supports Python 2.7.InstallationInstallation using pip is recommended (this requires installation of pip on
your system, and  may require administrator access):$ pip install nosqldbThe source code may be downloaded from this site and used for build and
test.  The source download includes example programs and unit tests.  It is
recommended that developers new to this driver read the examples and
documentation.DocumentationThe documentation for this driver can be found on theOracle NoSQL Documentation Page.
This is the entire documentation set for Oracle NoSQL Database.  Look for the
Python driver section.SupportIf there are questions and comments on this release please post them on theOracle NoSQL Page of the Oracle Technology Network.
Package: nosql-rest-preprocessor
NoSQL Rest Preprocessor=======================[![Build Status](https://travis-ci.org/felixbr/nosql-rest-preprocessor.svg?branch=master)](https://travis-ci.org/felixbr/nosql-rest-preprocessor)[![Coverage Status](https://img.shields.io/coveralls/felixbr/nosql-rest-preprocessor.svg)](https://coveralls.io/r/felixbr/nosql-rest-preprocessor)A middleware module which solves common problems when building rest-apis with nosql databases.### Installation```pip install nosql-rest-preprocessor```### Examples```pythonfrom nosql-rest-preprocessor.models import BaseModelclass AddressModel(BaseModel):required_attributes = {'street', 'city', 'plz'}# if you specify optional attributes explicitely, it will# not allow anything but these and the required onesoptional_attributes = {'location'}class UserModel(BaseModel):required_attributes = {'firstName', 'lastName', 'email'}immutable_attributes = {'id'}private_attributes = {'password', 'salt'}# will use AddressModel to validate, merge and prepare the content of the 'address' attributesub_models: {'address': AddressModel}``````pythonnew_user_from_request = {"firstName": "Sepp","lastName": "Huber","email": "sepp.huber@fancepants.com","address": {"street": "Bakerstreet 1","city": "London","plz": "12345"}}# checks required_attributes and raises ValidationError if something's amissUserModel.validate(new_user_from_request)``````pythonuser_obj_from_db = db.fetch_user_by_email("sepp.huber@fancepants.com")# strips out any non-public attributesresponse_obj = UserModel.prepare_response(user_obj_from_db)return Response(response_obj)``````pythonfrom nosql-rest-preprocessor.models import BaseModelfrom nosql-rest-preprocessor.resolvers import resolve, ResolveWithclass AddressModel(BaseModel):...class UserModel(BaseModel):...resolved_attributes = {'address' = ResolveWith(lookup_func=SomeDB.find_address_by_key, model=AddressModel)}...user = {"name": "cookie_m0nster","address": "foreign_key_for_address"}resolved_obj = resolve(UserModel, user)# resolved_obj['address'] is now replaced by the dict fetched by SomeDB.find_address_by_key('foreign_key_for_address')```### Running tests```pip install detoxdetox```
Package: nosql-storage-wrapper
NoSQL Storage WrapperA simple library for easy work with key-value storages and document databasesInstalationpipinstallnosql-storage-wrapperUpgradepipinstall--upgradenosql-storage-wrapperWork with MongoDBBy default work asynchrous versionfromnosql_storage_wrapper.mongoimportStorageFor synchrous version use this code:fromnosql_storage_wrapper.mongo.syncimportStorageConfiguringThis library requires the MagicConfig library to work.pipinstallmagic-configConfiguring with .env file:MONGO_HOST="127.0.0.1"
MONGO_USER="user"
MONGO_PWD="******"
MONGO_DB="basename"
MONGO_PORT=27017UsingFor example some code in aiogramfromnosql_storage_wrapper.mongoimportStorageasyncsome_foo():awaitStorage("aiogram_state").delete_one({"chat":Config.DEBUG_USER_ID})
Package: nosql-versioning
A Python library for NoSQL record versioning.InstallationTo install the latest release onPyPi,
simply run:pip install nosql_versioningOr to install the latest development version, run:git clone https://github.com/xinhuang/nosql_versioning.git
cd nosql_versioning
python setup.py installQuick Tutorial>>>fromnosql_versioningimportschema>>>importjson>>>>>>version,Record=schema(decode=json.loads)>>>>>>@version()>>>classRecordv0(object):>>>def__init__(self,data):>>>self.old_name=data['old_name']>>>>>>@version(1)>>>classRecordv1(object):>>>def__init__(self,value=None,*args,data=None):>>>ifdata:>>>self.new_name=data['new_name']>>>else:>>>self.new_name=value>>>>>>@staticmethod>>>defmigrate(data):>>>data['new_name']=data['old_name']>>>deldata['old_name']>>>>>>@staticmethod>>>defa_staticmethod(n):>>>print(n*2)>>>>>>rec=Record('{"_ver": 0, "old_name": 1}')>>>print(rec.new_name)1>>>rec=Record(value=42)# custom constructor can also be used>>>print(rec.new_name)42>>>Record.a_staticmethod(42)# static methods defined in the latest version can be used84API Referenceschema(decode=decode, version=get_version)Create a class descriptor to specify record classes of different version, and a Record initializer to instantiate the latest record from data, or to migrate data to the latest version.Args:decode: Deserialize objects retrieved from database. By default no decoding will be applied.version: Get version from record. By default it’sdata.get('_ver')Returns:version: A class descriptor to specify record version.Record: A initializer that to construct defined Record class. Migrate if data is not the latest version.version(n=0)A class descriptor to specify record class of version N.Args:n: Version. Must be a integer.Raises:VersionConflictionException: When a version is defined twice.Record(data=None, *args, **kwargs)The initializer to migrate record to latest and instantiate record class.Args:data: If only this argument is specified,decode(data)will be used to instantiate the latest record class. (Migrate if needed.)args,kwargs: If not onlydatais specified, all arguments will be passed to instantiate the latest record class. No migration.Migration from Version N-1 to N will use static methodmigratein record class version N.In case there is no version specified, migration from None to 0 will use static methodmigratein record class Version 0.LicensingThis project is released under the terms of the MIT Open Source License. ViewLICENSE.txtfor more information.
Package: nossl
NOSSLIt'a simple script that manipulates default behavior ofsslandrequests.It modifies following lines:ssl.py_create_default_https_context=create_default_contextto_create_default_https_context=_create_unverified_contextrequests/sessions.pyself.verify=Truetoself.verify=FalseUsageInstallnossl.pip install nosslAnd run the script.nossl offYon can recover SSL also.nossl on