Saravanan666/pypi-org huggingface dataset:
Package: nyantip
# It’s nyantip!## Getting started### Install__Note__: If the following doesn’t work, ensure you have pip installed:
<https://packaging.python.org/guides/installing-using-linux-tools/>`sh pip install nyantip `If you would like to make encrypted backups, then install via:`sh pip install nyantip[gpg] `### DatabaseCreate a new MySQL database instance and run included SQL filedatabase.sqlto create necessary tables. Create a MySQL user and grant it all privileges on
the database.`sh echo "create database nyantip" | mysql && mysql nyantip < database.sql `### NyanCoin DaemonsDownload nyancoin. Create a configuration file for it in~/.nyancoin/nyancoin.confspecifyingrpcuser,rpcpassword,rpcport, andserver=1, then start the daemon. It will take some time for the daemon to
download the blockchain, after which you should verify that it’s accepting
commands, e.g.,nyancoin getinfoandnyancoin listaccounts.### Reddit AccountCreate a dedicated Reddit account for your bot, and prepare an OAuth
script-type application as described here:
<https://github.com/reddit-archive/reddit/wiki/OAuth2-Quick-Start-Example#first-steps>The bot should be granted “Manage Users” and “Manage Wiki Pages” moderator
permissions on the target subreddit.### Configuration FilesCopy the sample configuration filenyantip-sample.ymlto~/.config/nyantip.yml. Make any necessary edits.### Run`sh nyantip `### Create Backup`sh nyantip backup `The backup will be saved in your current directory asbackup_nyantip_YYYYmmDDHHMM.zip, or with the added.gpgsuffix if a value
forbackup_passphrasewas set in your config file.## Historynyantipwas originally a fork of mohland’s
[dogetipbot](https://github.com/mohland/dogetipbot), which in turn is a fork of
vindimy’s [ALTcointip](https://github.com/vindimy/altcointip).
Package: ny-artsy-date
ny_artsy_dateThis is a Python package to help plan dates and outings by providing information about art-based events and restaurants within the NYC Metro area based on an initial meeting point. This package serves as a wrapper for theNYC ArtBeats APIand leverages various functionalities from theGoogle Maps API(as accessed throughgooglemaps packageas well asgmapspackage) to make planning artsy dates and gatherings simple and fun.The functions within return data tables and maps as needed based on a specified search radius of a starting address. There is also a function (for those who like spontanaeity) tochoose_my_art_date, which selects one art-based event and one restaurant nearby based on a starting point. Users can further adjust for a variety of needs, such as search radius from starting point, whether the event is free, and minimum Google Places Rating (for the restaurant).Note: this package is dependent on thegooglemapsandgmapspackages, which acces the Google Maps API. Users should obtain a Google Maps API key to use this package to its full capacity.Installation$pipinstallny_artsy_dateYou can also clonethis Github Repository.UsageFor more detailed usage cases, please refer toUsage Vignette.Official DocumentationThe official documentation is hosted on Read the Docs:https://ny-artsy-date.readthedocs.io/en/main/ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licenseny_artsy_datewas created by Connie (Ye) Xu . It is licensed under the terms of the MIT license.Creditsny_artsy_datewas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.Contact InfoIf you have any questions, concerns, or feedback about this package, please contact me atyx2625@columbia.edu.
Package: nyaruko
NyarukoThis repository is for someone to accomplish something.中文文档Buildxpipinstall--editable.Usage$ny
Usage:ny[OPTIONS]COMMAND[ARGS]...Thisisthemainentrypointfornyaruko.

Options:--debug/--no-debugPrintdebugmessages.--helpShowthismessageandexit.

Commands:asciiPrintstheASCIIartofnyaruko.botRunsthetelegrambot.listListsallarticlefromthesqlite.syncSyncstheobsidianarticletothesqlite.Config[default]article_dir='/path/to/your/obsidian/vault'block_dir_list=["block","block2"][telegram]token=********:************************************proxy=socks5://<ip>:<port>EtymologyNyaruko is a character fromNyaruko: Crawling with Love
Package: nyc-crime-map
Get data from theNYC Crime Map,
and save them as geojson and CSV files.Getting data I have already savedIf you just want to get the data in geojson or CSV format, go tohttp://dada.pink/nyc-crime-map-data/.Running the programIf you want to run the program, perhaps to get the most recent data,
you can run the program. I present a couple ways of doing this.Installing from PyPIYou can install the package like sosudo pip install nyc-crime-mapand then run it like so.nyc-crime-mapAdatadirectory will be created inside your working directory,
and you’ll find the results here.cat nyc-crime-map/data/02378420399528461352-17772055697785505571.geojson
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.csvRunning from the checked-out repositoryPerhaps you don’t have pip installed; in that case, you can do this.git clone git://github.com/tlevine/nyc-crime-map.git --recursive

# Delete the cached data.
rm nyc-crime-map/data/all_results/*

# Run the program.
cd nyc-crime-map
./nyc-crime-map

# View the results.
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.geojson
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.csvMore about the dataThe data are stored in two tables.02378420399528461352-1185366727313155034602378420399528461352-17772055697785505571The latter of these tables contains a “CR” field for the crime type;
the former does not.Read athttp://thomaslevine.com/!/nyc-crime-map/.
Package: nyc-intersection-geocoder
NYC Intersection GeocoderPackage to help finding latitude and longitude for NYC street intersections utilizingOSMPythonTools.Dependencies:OSMPythonToolsshapelyNote:GEOSrequiredInstallation:pip install nyc_intersection_geocoderUsage:fromnyc_intersection_geocoder.geocoderimportIntersectionGCencoder=IntersectionGC()result=encoder.get_intersection('Wythe Ave','N 4th Street','Brooklyn')print(type(result))# shapely.geometry.point.Pointprint(result.coords.xy)# (array('d', [-73.962206]), array('d', [40.717871]))Note: Geographic data for plot is ordered in (longitude, latitude) for to match (x, y) coordinates.
Package: nyckel
NyckelPython package forwww.nyckel.comDocsVisit ourDocs pagesQuickstartfromnyckelimportCredentials,TextClassificationFunction# Get credentials from https://www.nyckel.com/console/keyscredentials=Credentials(client_id=...,client_secret=...)# Create a new text classification function.func=TextClassificationFunction.create(credentials=credentials,name="IsToxic")# Provide a few examples.func.create_samples([("This is a nice comment","not toxic"),("Hello friend","not toxic"),("This is a bad comment","toxic"),("Who is this? Go away!","toxic"),])# Nyckel trains and deploys your model in a few seconds...# ...and you can start classifying text right away!# Classify a new piece of text.predictions=func.invoke(["New text"])ContributorsSetup dev environmentpipinstall-rrequirements.txtBuilding docs locallyInstall packagesmkdocs==1.5.3
mkdocs-material==9.4.5mkdocstrings==0.15.0RunmkdocsbuildNote that the actual docs uses anprivate repothat allows cross-references for types.
Package: nyckelmastaren-casahl
Nyckelmästaren(this means Keymaster in Swedish.)A text-based action-RPG game. Developed by Adam Winograd and I.Inspired by games like Zork, A Link To The Past, Dragon Warrior and Mother.PyPi link:https://pypi.org/project/nyckelmastaren-casahl/Dependencies:Simpleaudio:https://github.com/hamiltron/py-simple-audioViu:https://github.com/atanunq/viuPillow:https://github.com/python-pillow/PillowAn installation of Rust:https://www.rust-lang.org/learn/get-startedPython, 3.7 or above.All in-game graphics were made without any external libraries, which I'm really happy about. It looks like an Atari 2600 game!Commands:w / north / go northd / east / go easts / south / go southa / west / go westwords of encouragementuse / iteminventorylocationsettings / optionshelpTips:To start a new game:Select "reset game" from settings.If you installed the game from source, enter "python3 adventuregame.py new"There's a hidden weapon in the wizard Salazar's lair...Set the game to full screen, and zoom out your terminal window a bit, to see all of the graphics as intended.Installation:Enter the following commands in your terminal.pip install nyckelmastaren-casahl==1.1.2curl --proto '=https' --tlsv1.2 -sSfhttps://sh.rustup.rs| shcargo install viuRun:Enter these commands:python3import nyckelmastaren
Package: nyc-parking-ticket-checker
# NYC Parking Ticket CheckerI was interested in writing something to be able to see what tickets Ihave outstanding programmatically and saw that[drassi/nyc-parking-ticket-monitor](https://github.com/drassi/nyc-parking-ticket-monitor)existed. Unfortunately the end-point used there(`http://nycserv.nyc.gov/NYCServWeb/NYCSERVMain`) is now behind areCAPTCHA challenge making it infeasible to use.Instead I used the payments end-point(`http://www1.nyc.gov/assets/finance/jump/pay_parking_camera_violations.html`)to perform a similar query.## LibrariesRequires `mechanize` and `BeautifulSoup4` to be installed.## Installing`python setup.py install`Run `ticket_checker`### Dev dependencies`pip install twine``pip install wheel`## Usage```usage: ticket_checker.py [-h] [--violation VIOLATION] [--plate PLATE][--state STATE] [--plate_type PLATE_TYPE] [--debug]optional arguments:-h, --help            show this help message and exit--violation VIOLATIONViolation #--plate PLATE         License Plate #--state STATE         2-letter State of the license plate, defaults to "NY"--plate_type PLATE_TYPE3-character type of the license plate, defaults to"PAS" (passenger)--debug               Turns on debugging of HTTP calls.```## ExamplesCheck for a specfic violation number:`python ticket_checker.py --violation VIOLATION_NUMBER`Check for your NY plate:`python ticket_checker.py --plate COOLPL8`Check for your Montana plate:`python ticket_checker.py --plate COOLPL8 --state MT`Check for your NY commerical plate:`python ticket_checker.py --plate T0000000 --type COM`## Example outputIf a ticket is found the output will look like:```$ python ticket_checker.py --plate COOLPL8Found 1 ticket(s) for COOLPL8Got tickets:1. NO PARKING-STREET CLEANING: violation # 1234567890 for plate COOLPL8 NY PAS on 01/23/2017 for $45.00```If there is an error, the script will print the error message returned from the server:```$ python ticket_checker.py --plate BADPLATE"The host system returned the following failure:The plate number was not found. Please verify the plate number, state and type values and search again. Please note if your ticket was recently issued or if you have no outstanding violations, your plate information will not be found. If you wish to pay a ticket you just received, search by the ticket number to ensure it has not been entered into the system. (Error code: PWS-00001) "```## Future Plans- Add support for multiple violations and plates.## Packaging`python setup.py sdist``python setup.py bdist_wheel`### Test PyPItwine upload --repository-url https://test.pypi.org/legacy/ dist/*### Prod PyPItwine upload dist/*## License[Apache 2.0](https://opensource.org/licenses/Apache-2.0)
Package: nycparks
nycparksThis package contains a collection of tools to help NYC residents make the most of its parks starting with a system that alerts users over text the upcoming tennis court reservation availabilities.SetupInstall the package withpip install nycparks. Ensure that you are signed into the desktop client of WhatsApp for the messages to send.Basic UsageThe default search times are non 9-5 hours listed inutils/times.py. Adjust them based on the times you are interested in playing.To schedule automatic checks, edit the crontab with:crontab -eAnd add the following line adjusting the locations,alert frequency, and number based on your needs. The example below is scheduled for every hour and Central Park, McCarren Park, and Sutton East Park.0 * * * * reserve -l central -l mccarren -l 'sutton east' -n +11234567890LicenseMIT LicenseCopyright (c) [2023] [Austin Botelho]Permission 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.
Package: nyc-parser
NYC ParserA utility to parse NYC addresses and BBLs from a single line input.Install$pipinstallnyc-parseror clone this repo,cdinto it and$pipinstall.Usage>>fromnycparserimportParser>>p=Parser()# parse an address>>p.address('74-12 35th ave, Queens NY 11372'){'PHN':'74-12','STREET':'35TH AVE','BOROUGH_CODE':4,'BOROUGH_NAME':'QUEENS','ZIP':'11372'}# parse a BBL>>p.bbl('1004380006'){'BLOCK':438,'LOT':6,'BOROUGH_CODE':1,'BOROUGH_NAME':'MANHATTAN'}# can contain special characters, just needs 10 digits>>p.bbl('1-00438-0006'){'BLOCK':438,'LOT':6,'BOROUGH_CODE':1,'BOROUGH_NAME':'MANHATTAN'}LicenseMIT
Package: nyc-prop-prediction
nyc_prop_predictionThis is a library designed for quick prediciton of housing prices in nycExampleSuppose I want to find companies that have filed either an S-1, 10-K or 10-Q between January 2021 and March 2023predictor=predict()sqft=500year_built=1970year_sold=2023num_libraries=1num_parks=5num_schools=0zipcode=10037mod=nyc_prop_prediction.predict()input=[[sqft,year_built,year_sold,num_libraries,num_parks,num_schools]]print(predictor.predict_price(input_type='zipcode',model='gradient',inputs=input))Installationnyc_prop_predictioncan be installed via PyPi by running:pipinstallnyc_prop_prediction
Package: nycschools
New York Schools Open Data ProjectThe mission of the NYC Schools Open Data Project is to make open data regarding public schools in New York available to everyone interested in improving our schools, regardless of their technical background or familiarity with data analysis. We believe that fighting for educational equity requires us to broaden the audience of who can use and analyze data. Accordingly, we want to make educational data more accessible, train people to use it, and demystify and remove the barriers to access.Our goal is to build platform where any motivated individual or groups can evaluate available school data, interpret it to help understand issues they care about, and employ data as part of larger arguments in our conversations about schools in New York.Find technical documentation and examples here
Package: nycu-tdx-py
OverviewThis package can be used to connect transportation data from TDX
(Transport Data eXchange) in a neat and efficient way in Python. TDX platform is
supported by Ministry of Transportation and Communications (MOTC) in
Taiwan, which provides lots of API for the members download the
transportation data. Before using the function provided in this package,
the authentication key is a must, which can be applied fromTDX
platform. After being a member
of TDX, you will soon get the Client Id and Client Secret, please check
out in theAPI key
Dashboard.If you are R user, please install the packages on Github viadevtools::install_github("ChiaJung-Yeh/NYCU_TDX"),
and all of the functions can be found inTDX
Guidewebsite.InstallationPlease install the package via following pip code.pip install nycu-tdx-pyUsageData retrieving process requires an access token to obtain the data from
TDX platform. Every function in this package should use functionget_token()to obtain the token by entering your Client ID and Client
Secret first. Note that the access token will expire in 1 day.Take retrieving bus stops of Taipei City for example. The
code is shown below. Here the argumentclient_idandclient_secretis the authentication key applied from TDX.from nycu_tdx_py import tdx

# get the access token first
access_token=tdx.get_token("CLIENT_ID", "CLIEN_SECRET")

# retrieve Taipei bus stops
taipei_bus=tdx.Bus_StopOfRoute(access_token, "Taipei")SupportThis package takes advantage of API service provided by TDX, MOTC.ContactFor questions, bugs, and other discussion, please feel free to contact
the package maintainer, Chia-Jung (Robert), Yeh.Email:chia-jung.yeh@sydney.edu.au
Package: nydev-fastapi-tools
FastAPI ToolsThis project aims to provide developers using the FastAPI framework with simplified integrations to services like Auth0,
Okta, MongoBD Atlas, and PostgreSQL. The library also extends the FastAPI router to enable access control decorators
similar to Flask and Django.Installationpipinstallnydev-fastapi-toolsFull Project Examplehttps://github.com/rkhullar/generic-fastapiExample Topicsaccess-controlRelated LinksFastAPI on AWS with MongoDB Atlas and Okta
Package: nydok
Home page|Getting startednydokis a combined specification writing and testing framework, for producing consistent and traceable specification documents. It is developed for Computerized Systems Validation in a GAMP 5 / GxP context, but is applicable to any software development process where traceability is important.Write your requirements and risk assessment alongside your Python code, ensuring 1:1 mapping between requirements and the code you're writing.It is implemented as a plugin forpy.testfor running the tests, combined with a CLI for creating reports.FeaturesSome notable features are:Lets you write specification documents including requirements as normal Markdown.Keeps track of which requirements are missing test cases.Supports a risk assessment process where you can link mitigations to your requirements.Can generate several types of reports in Markdown format for use in a Computerized System Validation process, such as:Traceability matrixCode review reports (Gitlab)Risk assessment reportTest summary reportCI pipeline logs report (Gitlab)InstallationNote!nydok is still under development and hasn't yet had a v1.0.0 release, so expect breaking changes.To install nydok usingpip:pip install nydokor using Poetry:poetry add nydok --group devUsageSee documentation for details on how to use nydok, the following is just meant as a quick glimpse of how it works. nydok has a lot more features than what is shown here.Create acowsay.spec.mdspecification file:# Cowsay functional specification## Functional requirements-REQ001: The program must take as input a text string-REQ002: The program must return a string with a cow in ASCII art, displaying the input text as a speech bubbleand atest_cowsay.pyfile:fromnydokimporttestcaseimportcowsay@testcase(["REQ001","REQ002"])deftest_cowsay():assertcowsay("Hello world")=="""_____________< Hello world >-------------\   ^__^\  (oo)\_______(__)\       )\/\||----w |||     ||"""Next, runpy.testto check the specification:$ py.test --nydok-output nydok.json cowsay/
========================= test session starts =========================
platform linux -- Python 3.10.6, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /project
plugins: nydok-0.8.0
collected 3 items

cowsay/test_cowsay.py::test_cowsay PASSED                       [ 33%]
cowsay/cowsay.spec.md::REQ001 PASSED                            [ 66%]
cowsay/cowsay.spec.md::REQ002 PASSED                            [100%]

========================== 3 passed in 0.01s ==========================Each requirement listed in the specification file is counted as a test item, and will pass or fail depending on it's test case.Finally, runnydok reportto generate reports.As an example, to create a traceability matrix, run:$ nydok report traceability-matrix nydok.jsonto generate the following Markdown table:IDDescriptionReferencesTest caseREQ001The program must take as input a text stringTC001REQ002The program must return a string with a cow in ASCII art, displaying the input text as a speech bubbleTC001Licensenydokis released under the MIT license. SeeLICENSEfor details.
Package: nygame
nygamenygame is a wrapper around the pygame library. It's goal is to provide and more pythonic and easy to use experience.UsageA basic game structure can be started like this:importnygameimportpygameclassGame(nygame.Game):def__init__(self):super().__init__(size=(300,200))passdefloop(self,events):pygame.draw.circle(self.surface,"red",(150,100),50)if__name__=="__main__":Game().run()AfterGame.__init__()is called, a new game. A window of 300x200 will be created to host the game. Further options are available insuper().__init__()'s doc string.Game.loop()will be called every frame, with the most recent events in theeventsargument. The screen will automatically be cleared before every frame and can be drawn to by usingself.surface.DemosEmojiApp- A demo app that lets you browse through emojiDevelopmentDeployment???
Package: nygen
nygenEasily create new python projectsUsagenygen init --author "Natalie Fearnley" --email "nfearnley@gmail.com" --github "nfearnley"cd c:\users\nfear\Desktop\codingnygen myprojectTemplatesUsageTemplates can be specified using the--templateoption.nygen myproject --template mytemplateThe default template is "default".CreationTemplates can be created by publishing a package that creates an entry point "nygen.templates" that points to the template's data directory.Example from a setup.cfg file:[options.entry_points]
nygen.templates =
    default = nygen_default.templateYou can use thenygen_defaultrepo as an example of a working template package.
Package: nylon-ai
An english representation of machine learning. Modify what you want, let us handle the rest.OverviewNylon is a python library that lets you customize automated machine learning workflows through a concise, JSON syntax. It provides a built in grammar, in which you can access different operations in ML with the english language.InstallationInstall latest release version:pip install -U nylon-aiInstall directory from github:git clone https://github.com/Palashio/nylon.git
cd nylon-ai
pip install .Usage: the basicsA newPolymerobject should be created everytime you're working with a new dataset. When initializing an object, a dataset in the form of a.csvor.xsfile should be passed to it by path:nylon_object=Polymer('housing.csv')Now, it's time to create a specifications file using the nylon grammar. Here's a basic one, that lets Nylon handle most of the work. Nylon currently has four major parts in it's grammar: the data reader, preprocessor, modeler, and analysis modules. In the example below, you can see that we're specifying the target column under data (which is always required), and manually specifying the type of preprocessing we'd like.Everything we haven't specified will be handled for us.{"data":{"target":"ocean_proximity"},"preprocessor":{"fill":"ALL","label-encode":"ocean_proximity"}}Now, we can override more components to take advantage of the built in ensembling of SVM's, and nearest neighbors modeling in nylon.json_file={"data":{"target":"ocean_proximity"},"preprocessor":{"fill":"ALL","label-encode":"ocean_proximity"},"modeling":{"type":["svms","neighbors"]}}Now we can call,nylon_object.run(json_file)This will return a fully trained nylon object. You can access all information about this particular iteration in the.resultsfield of the object.DemosAsking for helpWelcome to the Nylon community!If you have any questions, feel free to:Read the DocsSearch through the issuesJoin our DiscordContactShoot me an email athello@paraglide.aiif you'd like to get in touch!Follow me ontwitterfor updates and my insights about modern AI!