Saravanan666/pypi-org huggingface dataset:
Package: nalyst
IntroductionWelcome to Nalyst, your trusted companion in the world of Machine Learning and Data Science. Tailored for data analysts, professionals, and researchers, Nalyst emerges as a robust and user-friendly library, streamlining your journey through the intricacies of data analysis. Empower yourself with a comprehensive toolkit featuring Linear Regression, Logistic Regression, K-means Clustering, PCA, Decision Trees, Train Test Split, and advanced scaling techniques like Min Max Scaling, MaxAbs Scaling, and Standard Scaling. With Nalyst, elevate your efficiency in training, analyzing, and evaluating models.FeaturesLinear Regression: A versatile set of tools for constructing and dissecting linear regression models.Logistic Regression: Dive into a range of tools for crafting and scrutinizing logistic regression models.K-means: Effortlessly cluster data into k clusters, unraveling patterns and insights.PCA: Dimensionality reduction tool preserving essential features, enhancing model performance.Decision Tree: Construct and analyze decision trees, gaining clarity in complex decision-making.Train Test Split: Flexibly split data into training and testing sets for robust model evaluation.Scaling Tools: Choose from Min Max Scaling, MaxAbs Scaling, and Standard Scaling for flexible data normalization.Quick Model Training: Swiftly and easily train machine learning models, saving valuable time and effort.Installation PackageTo install the library, simply run the following command in your terminal:pip install nalyst
pip install --upgrade nalyst
pip show nalystImport Dependenciesimport numpy as np
import matplotlib.pyplot as plt
import yfinance as yf
import pyttsx3
import yfinance as yf
import datetimeImporting Packagesfrom .LinearRegression import LinearRegression
from .MultipleLinearRegression import MultipleLinearRegression
from .LeastSquaresRegression import LeastSquaresRegression
from .PolynomialRegression import PolynomialRegression
from .DecisionTree import DecisionTree
from .LogisticRegression import LogisticRegression
from .KMeans import KMeans
from .PCA import PCA
from .MaxAbsScaler import MaxAbsScaler
from .MinMaxScaler import MinMaxScaler
from .StandardScaler import StandardScaler
from .train_test_split import train_test_split
from .BetaFive import calculate_beta_five
from .BetaMax import calculate_beta_max
from .SMA import SimpleMovingAverage
from .EMA import ExponentialMovingAverageSupportFor assistance or inquiries, reach out to us. Note that the integrated audio architecture doesn't support Google Colab or cloud systems.COMMUNICATIONExplore and engage with us on GitHub:https://github.com/AnalyticalHarryEmbark on your data science journey with Nalyst, where simplicity meets power.
Package: namae
titlize/untitlizefromnamaeimporttitlize,untitlizeasserttitlize("foo")=="Foo"assertuntitlize("Foo")=="foo"pascalcase/camelcase/snakecase/kebabcaseassertpascalcase("foo-bar")=="FooBar"assertcamelcase("foo-bar")=="fooBar"assertsnakecase("IpAddress")=="ip_address"assertsnakecase("IPAddress")=="ip_address"assertkebabcase("IPAddress")=="ip-address"assertlispcase("IPAddress")=="ip-address"normalizefromnamaeimportnormalize# hyphenassertnormalize("foo-bar")=="foo_bar"# invalid prefixassertnormalize("foo123")=="foo123"assertnormalize("123foo")=="n123foo"assertnormalize("+1")=="x1"assertnormalize("-1")=="x_1"# python's keywordassertnormalize("while")=="while_"assertnormalize("def")=="def_"appendixgonamefromnamae.goimportgonameassertgoname("foo-bar-boo")=='FooBarBoo'assertgoname("foo_bar_boo")=='FooBarBoo'assertgoname("api")=='API'assertgoname("id")=='ID'assertgoname("fooid")=='Fooid'assertgoname("foo_id")=='FooID'assertgoname("1times")=='OneTimes'assertgoname("9times")=='NineTimes'assertgoname("10times")=='Num10Times'
Package: namalizer
Namalizer — smart method name normalizer========================================It allows you to keep PEP8 naming style, using libraries like `Twisted` or `unittest`.Here is example:#!/usr/bin/pythonimport unittestfrom namalizer import pep8class MyTests(unittest.TestCase):def set_up(self):self.a = 'blah'def test_example(self):self.assert_equal(self.a, 'blah')pep8(**locals())# orpep8(MyTests)if __name__ == '__main__':unittest.main()Namalizer creates aliases for method with wrong names. In this case,it will create aliazes in `unittest.TestCase` for methods like `setUp`,`assertEqual`, etc..Then, it will see that you created method `set_up` to override base class'sfunctionality and will create alias `setUp` for this method, this waywhen `unittest` will call `setUp`, you version will be called.Migration---------If you use some library with ugly naming method, this regex will help you tofind all places where wrong names are used:git grep -e '\(\.\|def \)[a-z]\+[A-Z]'Credits-------* Alexander Artemenko <<svetlyak.40wt@gmail.com>> — original author.Fork the project, contribute and send me patches.
Package: namanager
A file or/and directory name manager which could determine names are/aren’t expectable, and you could also automatically rename it.FeaturesMatch or ignore particular files/directories.Supports checking of most common format of letter-cases (upper, lower, camel, and pascal-case).Supports checking of convention of word separators (underscore-to-dash/dash-to-underscore).How to use?InstallationFirst of all check you already havepipinstalled, and then just type in:pipinstallnamanagerSometimes, you need to install on offline environments, hence that you could downloadwheels fromPyPIor bypip:pipdownloadnamanagerAfter moved wheels (involve dependencies) into your env, you could manually install it by following commands:pipinstallnamanager-x.x.x-py2.py3-none-any.whlRunningConfigure yoursettings.json.Run commandnamanagerIf the settings file doesn’t existed in your current working directory or CWD:namanager--settings/path/to/your/settings
Package: namari
namariMany-to-one keys-value pair relationship Python object manager.UsageInstall the latest namari package, upcoming versions might introduce unannounced changes, so a virtual environment is a must have before installation.pipinstall--upgradenamariTo integrate namari into your Python codes, check the code snippet below:fromnamariimportNamari# initializelexicon=Namari()# initialize with filenamelexicon=Namari("filename.json")# clear contentslexicon.clear()# set key-value pairlexicon.set("yellow","sun")# check if key existingiflexicon.contains("yellow"):print("Exists")# associate an existing key with another valuelexicon.attach("yellow","hot")lexicon.attach("yellow","morning")lexicon.attach("yellow","tea")lexicon.attach("morning","summer")lexicon.attach("morning","cold")lexicon.attach("morning","tea")# associate an existing key with a unique valuelexicon.attach("morning","tea",unique=True)# disassociate 2nd key from the 1st keylexicon.detach("summer","cold")# get the value of the specified keyobject=lexicon.get("morning")# None# get the value of the specified key with specified fallbackobject=lexicon.get("night",fallback="moon")# get the first parent of childparent=lexicon.findFirst("summer",fallback=None)parents=lexicon.findAll("tea")# count contentscount=lexicon.count()# check if emptyiflexicon.is_empty():print("Empty")# iterate over all keys-value pairsforkeys,valueinlexicon.items():print(type(keys))# listprint("\n".join(keys))print(value)Did you know?The repository namenamariwas inspired from the developer's noisy cat named Anna Marie, it also means as lead or guidance in Japanese.
Package: namaste
A python client implementation of the Namaste[1] specification for directory
description with filename-based tags.Installation:easy_install namasteUsage:namaste -h
cd /my/object/directory/
namaste type dflat_0.4
namaste who “Mark Twain”
namaste what “The Adventures of Tom Sawyer”
namaste when 1876
namaste where England
namaste gethttp://www.cdlib.org/inside/diglib/namaste/namastespec.html
Package: namdtools
a Python interface to NAMDhttp://www.ks.uiuc.edu/Research/namd/note that this package isstill in developmentat this stage, I'm only building thing as they come to mindversion 1.0 will be the first major releaseuntil then, consider this code heavily volatileyet, install simply by callingpip install namdtoolsRelated Packageshttps://github.com/sunhwan/NAMD-replicahttps://github.com/bio-phys/MDBenchmarkhttps://github.com/radakb/pynamd/
Package: name2time
I’ve created this little script in order to make my picture collections more sortable. It will timestamp files in a directory tree according to each file’s name. It supports various different file extensions with optional prefixes and suffixes. Also, it uses a datetime.datetime.strptime to extract the time from the filename, so it’s easily changeable to suit your needs. Out of the box it supports the following:prefixes: [‘IMG’, ‘PIC’, ‘PANO’, ‘VID’] or no prefixfile types (extensions): [‘.JPG’, ‘.JPEG’, ‘.MP4’]date format: %Y%m%d_%H%M%S, eg: 20150131_120017Installation:
pip install name2timeORClone the project & run from sourceUsage:
name2timestamp [–fmt FORMAT] [-y or –yes] DIRECTORYDownload:
Download from pypi:https://pypi.python.org/pypi/name2timeCheckout source:https://github.com/aleksandarristic/name2time/
Package: name2user
name2username2user is a tool to generate potential user names from one or a list of full names. Possible use-cases are password cracking with tools like hydra together with a word list or account discovery in different services.Usagename2user"Liam Smith"Outputs all available user name variations for given full name.name2user"Olivia Johnson"-cflastOutputs user name variation FLAST (see below) for given full name.name2user"Noah Williams"-m"somecompany.com"Outputs all available user name variations for given full name followed by an @ and the domain.catsome_text_file|name2userOutputs all available user name variations for all full names in given text file.catsome_text_file|name2user-cfulld>results.txtOutputs user name variation FULLD for all full names in given text file and pipes them to results.txt.Conversion typesname2user support seven conversion modes:ParameterDescriptionallGenerates all below variants.lastLast name only.flastFirst letter of the first name, last name.fdlastFirst letter of the first name, dot, last name.fullFull first- and last name without spaces.fulldFull first- and last name separated by dots.firstFirst name only.LimitationsRight now, name2user is designed with western languages in mind. It might produce less helpful results for other.For names with more than two words, the last word is considered as last name. The first letter of the first word will be used for corresponding conversion types. Ones using the full name will include all words.
Package: name-a-toon
Name-a-toonA Python library that exists to make generation of toon names slightly easier!InstallingTo install the latest version of name_a_toon, open your favorite command terminal and use the following command:pip install name_a_toonIf for whatever reason you are unable to install name_a_toon through pip, you can also install it through thelatest source distribution released on GitHub. Download the .whl file and open your favorite command terminal. Navigate to wherever the file was downloaded and run the following command:pip install [file]UsageThe primary (and really, only) use for name_a_toon is the naming of Toons using the the phase_3/etc/NameMasterEnglish.txt file. Any similarly formatted file will work just as well.To access this file, extract phase_3 from the command line usingPanda3d:multify -xf phase_3.mfAfter doing this, drag and drop phase_3/etc/NameMasterEnglish.txt into the directory with your Python files. For the rest of this guide, this file will be referred to as names.txt. Your directory should look similar to this:| names.txt
| nametest.pyYou can now open your Python file and program! Here's an example program that generates a random toon name:importname_a_toonnamelist=name_a_toon.NameList.from_file("names.txt")print(name_a_toon.Name.random(namelist).to_string())LicenseCode in name_a_toon is licensed under theMIT License.
Package: namebase-exchange
Namebase Exchange Api for PythonPython 3.6+ client for interacting with Namebase Exchange API.UsageAll requests require an API key. You can generate a key fromhttps://www.namebase.io/pro.At the time of writing, all documented API keys are supported. This may change at any time.
See the raw API documentation calls:https://github.com/namebasehq/exchange-api-documentation/On top of the raw APIs, we also provide the convenience functions:market_buy: Market Buymarket_sell: Market Selllimit_buy: Limit Buylimit_sell: Limit Sellget_dns_settings: Get DNS Settingsupdate_dns_settings: Change DNS SettingsWe've also provided a Websocket Client for the WSS API.InstallationRequirementsPython 3.6 or greaterInstallpip install namebase_exchangeUsageCore REST API for Namebase Exchangefromnamebase_exchange.exchangeimport*exchange=Exchange("YOUR_API_KEY","YOUR_SECRET_KEY")exchange.get_depth(Symbol.HNSBTC)exchange.market_sell(Symbol.HNSBTC,'500')exchange.update_dns_settings(domain='YOUR_DOMAIN',record_type='TXT',host='@',value='skylink=YOUR_SKYLINK',ttl=0)WebSocket API for Namebase Exchange
This doesn't need any authorizationfromnamebase_exchange.websocket_dataimport*exchange=ExchangeWS(Endpoint.DEPTH)You can also pass functions in to do more sophisticated things with the message stream. By default,
it just prints out the messages.
Package: namebase-marketplace
Namebase Marketplace Api for PythonPython 3.6+ client for interacting with Namebase Marketplace API.UsageInstantiating the Marketplace object can be done either by using email and password or None.
Only post requests can be made authenticated.Websocket API is not provided.InstallationRequirementsPython 3.6 or greaterInstallpip install namebase-marketplaceUpgradepip install --upgrade namebase-marketplaceUsageCore REST API for Namebase MARKETPLACEfromnamebase_marketplace.marketplaceimport*marketplace=Marketplace(email="YOUR EMAIL",pwd="YOUR PASSWORD")marketplace.get_user_info()marketplace.open_bid(domain='domain',bid_amount=0.4,blind_amount=100)EXAMPLE WITHOUT AUTHENTICATION:fromnamebase_marketplace.marketplaceimport*marketplace=Marketplace()marketplace.get_marketplace_domains(offset=100)# Get 101-200 latest marketplace domains with default optionsOn some endpoints you can pass options, please refer them to the following documentation:https://github.com/namebasehq/api-documentation/blob/master/marketplace-api.mdGithub OAuth bypass and 2FA Auth BypassRecent upgradesNew auth method has been added, now you can auth yourself by using the namebase_cookie in case you cant (or dont want to) login via email-password.This is the cookie Namebase uses to auth you within the app. You can find this cookie when reloading any page and going to Network on Inspection Mode. Head to a request and find this cookie under "Cookies" tab on any explorer along with other kind of cookies. Cookie name is called "namebase-main".Examplefromnamebase_marketplace.marketplaceimport*marketplace=Marketplace(namebase_cookie="<My_namebase_cookie>")marketplace.get_user_info()marketplace.open_bid(domain='domain',bid_amount=0.4,blind_amount=100)DonationsI have made this library open-sourced and free to use. However, if you consider this library has helped you, or you just want to sponsor me, donations are welcomed to one of my HANDSHAKE addresses.hs1qynh72cuj7lawdcmvjtls4kk0p4auzmj5qq6v3r
Package: nameBinaryGenderMap
nameBinaryGenderMap PackageThenameBinaryGenderMappackage provides a module that can easily be used to find the corresponding binary gender class (i.e., male or female) for an input name. This package uses around ~100k entries of four gender name datasets provided bycatalog.data.gov.How to use thenameBinaryGenderMapmodule in python?first import thenameBinaryGenderMapmodule as:>>> import nameBinaryGenderMap as nbgmthen use the importednameBinaryGenderMapmodule to check the binary gender assignment for your desired names using thewhats_the_gender()function as:>>> nbgm.whats_the_gender(name = "sara")
the binary gender assigned to 'sara' is 'female'

>>> nbgm.whats_the_gender(name = "john")
the binary gender assigned to 'john' is 'male'Notes:i) Thewhats_the_gender()is not sensitive to character capitalization, e.g.,>>> nbgm.whats_the_gender(name = "jOhN")
the binary gender assigned to 'jOhN' is 'male'ii) Thewhats_the_gender()function can work for many non-English names too:for instance let's check for two famous boy and girl names inChinese-> Boy:Yichenand Girl:Yinuo:>>> nbgm.whats_the_gender(name = "Yichen")
the binary gender assigned to 'Yichen' is 'male'

>>> nbgm.whats_the_gender(name = "Yinuo")
the binary gender assigned to 'Yinuo' is 'female'let's also check for two famous boy and girl names inMiddle East-> Boy:Abbasand Girl:Aaminah:>>> nbgm.whats_the_gender(name = "Abbas")
the binary gender assigned to 'Abbas' is 'male'

>>> nbgm.whats_the_gender(name = "Aaminah")
the binary gender assigned to 'Aaminah' is 'female'
Package: namebuster
namebusterGenerates a list of possible common username permutations given a list of names, a url, or a file.Installpip install namebusterUsageCommand LineName list:namebuster "John Broccoli, Adam Blueberry, Queen Mango"URL:namebuster https://sauna.htbFile:namebuster document.txtPythonimportnamebuster# Create a list of all usernames as one large listsplit_usernames=namebuster.generate("https://sauna.htb")# With name_sep=True, create a dict with "real_name: [usernames]" mappingsplit_usernames=namebuster.generate("John Broccoli, Tim Apple",name_sep=True)For each discovered name, namebuster will generate ~200 possible usernames. You can then use this list with a tool like kerbrute, for example:[benbusby:~/test]$namebuster"Fergus Smith">usernames.txt[benbusby:~/test]$./kerbrute_linux_amd64userenum./usernames.txt-dDOMAIN.LOCAL--dcdomain.com______//__________//__________//____///_/_\/___/__\/___////__/_\/,</__////_/////_///_/__/
/_/|_|\___/_//_.___/_/\__,_/\__/\___/

Version:v1.0.3(9dad6e1)-02/18/20-RonnieFlathers@ropnop2020/02/1823:47:59>UsingKDC(s):2020/02/1823:47:59>domain.com:882020/02/1823:47:59>[+]VALIDUSERNAME:fsmith@DOMAIN.LOCAL2020/02/1823:47:59>Done!Tested125usernames(1valid)in1.585seconds
Package: namecheap
IntroductionPython wrapper for Namecheap’s API.ContactYou can reach me via e-Mail and Google Talk/Jabber at:martin at NOSPAM martinvillalba dot comDocumentationDocumentation will be a bit scarse for the time being, but everything public
should have at least a docstring by the time I make the first stable release.LicenseReleased under the MIT/X11 license. See LICENSE for the full text.Install% python setup.py installDevelopSee DEVELOP.md for details.
Package: name-cleaver
This is the name parser and standardizer for the datacommons project.
It now supports politician, individual and organization names.InstallationInstallation is easy:pip install name-cleaverUsageBasic usage is the same for each type of name, just import the relevant NameCleaver class from one of:PoliticianNameCleaverIndividualNameCleaverOrganizationNameCleaverExample:from name_cleaver import PoliticianNameCleaver
smith = PoliticianNameCleaver(‘Smith, Robert J’).parse()smith.first => “Robert”
smith.middle => “J.”
smith.last => “Smith”print str(smith) => “Robert J. Smith”Usage as above can usually be expected to return a Name object, but is not guaranteed to not throw an exception if NameCleaver is given unexpected input or otherwise can’t figure out what to do with a name. You can look for and handle Name Cleaver’sUnparseableNameExceptionclass. If you don’t want to deal with handling exceptions, NameCleaver has a safe mode:smith = PoliticianNameCleaver(‘Smith, Robert J’).parse(safe=True)In safe mode, if NameCleaver encounters an exception or doesn’t come up with a fully-formed name, it will return the original input string.
Package: namecom
Python sdk for name.com v4 apiInstallationpip install namecom --upgradeCommand line guidanceIf you do not want to append --name and --token to the command every time, run the following command should do some helpexportNAMECOM_NAME=<yournamecomusername>exportNAMECOM_TOKEN=<yournamecomtoken>To delete a DNS recordnameclicreate-dns--domainexample.org--hostwww--dns-typeA--answer127.0.0.1--name<yournamecomusername>--token<yournamecomtoken>To delete a DNS recordnameclidelete-dns--domainexample.org--hostwww--name<yournamecomusername>--token<yournamecomtoken>To create a DDNS recordnamecliddns--domainexample.org--hostwww--name<yournamecomusername>--token<yournamecomtoken>SDK developmentSo far, not all name.com api are supported.InitializationfromnamecomimportNamename=Name(name,token)name.list_records("example.org",page=1,perPage=1000)name.delete_record("example.org",id_="12345",)name.create_record("example.org","www","A","127.0.0.1")
Package: nameCreator
nameCreatorA python name generator for Windows.This is a python package for name generation. It can generate names from different countries, and can generate both male and female names.
Ethnicities: "american", "russian", "spanish", "italian", "german", "french", "swedish", "finnish", "japaneser" (japanese romanized), "japanese", "chineser" (chinese romanized), and "chinese".InstallationFrom pypiInstall from pypi withpip:pipinstallnameCreatorBuild from sourceClone the repository and cd into the nameCreator directory, then:pipinstallbuild
python-mbuildcddist
pipinstallnameCreator-1.0.0-py3-none-any.whlUsage (Only applies when built from source, read the release's corresponding README for that version's usage)In python filefirstNameMale=nameCreator.FirstNameMale('nationality')print(firstNameMale)lastName=nameCreator.LastName('nationality')print(lastName)firstNameFemale=nameCreator.FirstNameFemale('nationality')print(firstNameFemale)lastName=nameCreator.LastName('nationality')print(lastName)In command lineDisplays help message:nameCreatorCLIgenerate--helpGenerates 10 male finnish names:nameCreatorCLIgenerate-a10-efinnish-gmGenerates 10 italian female names, sends to a text file and does not print the output to the terminal:nameCreatorCLIgenerate-a10-eitalian-gf-oitalianNames.txt-nArguments:Specifies the amount of names to generate:-a--amountSpecifies the ethnicity:-e--ethnicitySpecifies the gender of the generated names:-g--genderSpecifies the output path (likeC:/Users/You/test.txtortest.txtto put in the current path):-o--outputSpecifies whether or not to print the output to the terminal (useless if there is no output path specified):-n--noprintSOURCES:https://github.com/ironarachne/namegen
Package: named
namedNamed types.InstallingPython 3.8 or above is required.pipInstalling the library withpipis quite simple:$pipinstallnamedAlternatively, the library can be installed from source:$gitclonehttps://github.com/nekitdev/named.git$cdnamed$python-mpipinstall.poetryYou can addnamedas a dependency with the following command:$poetryaddnamedOr by directly specifying it in the configuration like so:[tool.poetry.dependencies]named="^1.4.1"Alternatively, you can add it directly from the source:[tool.poetry.dependencies.named]git="https://github.com/nekitdev/named.git"Example>>>fromnamedimportget_name,get_type_name,is_named>>>print(is_named(int))True>>>print(get_name(int))int>>>print(is_named(42))False>>>print(get_type_name(42))intDocumentationYou can find the documentationhere.SupportIf you need support with the library, you can send anemailor refer to the officialDiscord server.ChangelogYou can find the changeloghere.Security PolicyYou can find the Security Policy ofnamedhere.ContributingIf you are interested in contributing tonamed, make sure to take a look at theContributing Guide, as well as theCode of Conduct.Licensenamedis licensed under the MIT License terms. SeeLicensefor details.