Saravanan666/pypi-org huggingface dataset:
Package: indianfinance
indianfinanceGet real-time information about companies listed in indian stock market.Table of ContentsInstallationMethodsBasic ExamplesAcknowledgementsInstallationpip install indianfinanceMethodsTo start getting data from companies, callcompany(x)wherexcan beA company symbol likeINFY(for Infosys Limited)A list of company symbols separated by space likeINFY WIPRO TECHM(For Infosys Limited, Wipro and Tech Mahindra)companyis the class and there are currenty three methods attached with it:market_info()- gives general information about the company and data is presented in the foem of json with the following fields :FullName: Full Name of the company incorporated in the stock marketIndustry- industry it belongs toISIN- mentions the International Securities Identification NumberLastPrice- the last pice the company share was traded at in indian rupeesMCap- the total free float market capitalization of the company (in lakh crores)historical_data(fromDate, toDate): presents the historical data of share market fromfromDatetotoDate. The date format for the input areDDMMYYYY.
The json data returned contained following fields:DateOpen- opening priceClose- closing priceHigh- intraday highest priceLow- intraday lowest priceannual_report(years): this method downloads the annual report for the companies for the years mentioned. the years must be separated with space (ex:2021 2020). This method creates a directoryAnnualReportin the current directory. Following is the tree structure.AnnualReport
|
|--- PDFFiles 
|    |
|    |--Company1
|    |   |
|    |   |-year1.pdf
|    |   |-year2.pdf
|    |     -------
|    |--Company2
|        |
|        |-year1.pdf
|        |-year2.pdf
|          -------
|--- ZipFiles (----> annual reports are in  
|    |            zipfiles and extracted to 
|    |             PDF folder)
|    |
|    |--Company1
|    |   |
|    |   |-year1.zip
|    |   |-year2.zip
|    |     -------
|    |--Company2
|        |
|        |-year1.zip
|        |-year2.zip
|          -------Basic Examplesimport indianfinance

>>> c = indianfinance.company("WIPRO")

>>>> print(c.market_info())

{"WIPRO": {"FullName": "Wipro Limited", "Industry": "COMPUTERS - SOFTWARE", "ISIN": "INE075A01022", "LastPrice": 599.55, "MCap": 3.285}

>>> print(c.historical_data("04082021", "06082021"))

{"WIPRO": {"Date": ["2021-08-06", "2021-08-05", "2021-08-04"], "Open": [603.75, 597.5, 603.5], "Close": [598, 600.9, 596.8], "High": [606.4, 614.5, 604], "Low": [596.3, 597.5, 594.3]}}Wrong company symbol will give error but at the same time give closest symbols also>>> import indianfinance
>>> c = indianfinance.company("AIRTEL")

Couldn't find the symbol:  AIRTEL
============ Did you mean these ==============
Symbol: BHARTIARTL, Company name: Bharti Airtel Limited (----> gives the most relevant company symbol)
Traceback (most recent call last):
    line 10, in <module>
    c = indianfinance.company("AIRTEL")
  File "\indianfinance\indianfinance\company.py", line 36, in __init__
    raise ValueError
ValueErrorAcknowlegementsThe following package has been only possible due to the APIs ofNSE
Package: indian-namematch
I first preprocessed data also considering phonetic similarity of alphabets based on some common problems of Indian names.
After that i implemented soundex and used it to find similarity of names.
If two names seems similar , I have implmented my improvised vowels/cosonants functions which clears the situation better and gives an improvised Output.RequirementsPython 3 or higher and nltkInstallationUsing PIP via PyPIpip3installindian_namematchpython3Usage>>>importindian_namematch>>>fromindian_namematchimportfuzzymatchSingle Comparison>>>results=fuzzymatch.single_compare("A Singh","Ajeet Singh")>>>print(results)Match>>>results=fuzzymatch.single_compare("Ajeit Singh","Ajeet Singh")>>>print(results)Match>>>results=fuzzymatch.single_compare("Mr Ajeit Singh","Ajeet Singh")>>>print(results)Match>>>results=fuzzymatch.single_compare("M/r Ajeit Singh","Ajeet Singh")>>>print(results)
Package: indian-names
indian-names  (v0.2)Python module to generate random names of Indian origin.InstallationYou can install it using pip from the repository as:pip install indian-namesUsageIndian-names can be used as a command line utility or imported as a Python module.Command Line UsageTo use the script from the command line:$ indian-names
    Anand DubeyPython Module UsageHere are examples of all current features:>>> import indian_names
    >>> indian_names.get_full_name()
    'Nisha Asthana'
    >>> indian_names.get_full_name(gender='male')
    'Manish Gupta'
    >>> indian_names.get_first_name()
    'Siddhant'
    >>> indian_names.get_first_name(gender='female')
    'Kajal'
    >>> indian_names.get_last_name()
    'Tripathi'The module can currently generate 550+ first names for male and female each, and 350+ last names. Overall 400,000+ full names can be generated.TODO (Future):Increase the number of names possible.Implement first/last name pairs for regional names as well. Emphasis on handling first names that are compatible with only certain last names & vice-versa.LicenseThis project is released under aBSD 3-Clause License.Names are compiled in the following files through various online sources available publically:first.male.namesfirst.female.nameslast.names
Package: indian-pincode-details
Indian Pincode Details 🇮🇳📍A package for retrieving a list of details based on a given pincode.Quick startInstall from PyPIpip install indian-pincode-detailsImport the function to get the detailsfrom indian_pincode_details import get_pincode_detailsRetrieve the pincode details by passing a pincode. If no result is found, an empty list will be returned.result = get_pincode_details(560034)The result will be:[{'office_name': 'Koramangala I Block S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'Koramangala S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'St. John"s Medical College S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'Agara B.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}]
Package: indian-states
India packageVersion 1.1InstallationInstallation Using pippipinstallindian-statesRunning Testspython-munittestdiscover-stestsUsageThis repository makes it easy to access metadata of states and union territories of India.>>>importindia>>>india.states.AROUT:<State:ArunachalPradesh>You can also lookup whether your input is state or not.>>>importindia>>>india.states.lookup('arunachal pradesh')OUT:<State:ArunachalPradesh>New release enables you to access districts/cities across india with several attributes>>>importindia>>>india.cities.KA_BLROUT:<City:Bangalore>New release enables you to track post offices based on pincode>>>fromindiaimportpincodes>>>pincodes.lookup('691522')OUT:['Panthaplavu B.O','Pattazhy S.O','Thekketheri B.O']Lookup for cities>>>importindia>>>india.cities.lookup('Bangalore')OUT:<City:Bangalore>Check whether the city is capital>>>importindia>>>india.cities.lookup('Bangalore').iscapital()OUT:TrueAttributesAttributes of state objectstate.name# name of the statestate.capital# returns the capital of that statestate.population# returns the population of the statestate.area# returns the area of state in km^2state.density# returns population density per km^2 of statestate.language# primary official language of the stateAttributes of Cities objectcity.name# name of the citycity.state# returns the state of citycity.population# returns the population of the citycity.area# returns the area of the districtcity.density# returns population density per km^2 of the citycity.url# returns official webpage of the cityRelease NotesAdded option to list all post offices under given pincode
Package: indian-word2number
This is a Python module to convert number words (eg. twenty one) to numeric digits (21) modified to support indian currency standards as well as Western stadards.
It can also replace numbers written in between the sentence while keeping rest of the stuff as it is.InstallationPlease ensure that you haveupdated pipto the latest version before installing indian_word2number.You can install the module using Python Package Index using the below command.pipinstallindian-word2numberUsageFirst you have to import the module using the below code.fromindian_word2numberimportindian_w2nasw2nThen you can use theword_to_nummethod to convert a number-word to numeric digits, as shown below.>>>print(w2n.word_to_num("twenty lakh three thousand nineteen Rupees and zero paisa only"))2003019>>>print(w2n.word_to_num('two point three'))2.3>>>print(w2n.word_to_num('112'))112>>>print(w2n.word_to_num('point one'))0.1>>>print(w2n.word_to_num('one hundred thirty-five'))135>>>print(w2n.word_to_num("there was a group of ten friends who went to the restaurant for a party, ordered thirty two dishes including ten drinks and bill came out as ten thousand five hundred and thirty paisa"))therewasagroupof10friendswhowenttotherestaurantforaparty,ordered32dishesincluding10drinksandbillcameoutas10500.3Bugs/ErrorsPlease ensure that you have updated pip to the latest version before installing word2number.ContributorsDarshan Patel (DarshanPatel-Yubi)CreditsThis repo is a forked ofw2n <https://github.com/akshaynagpal/w2n>library and the same has been used as a base to extend it further to support indian currency standards.
Package: indiapins
indiapinsIndiapins is a Python package for getting the places tagged to particular Indian pincodeFree software: MIT licenseDocumentation:https://pawangeek.github.io/indiapins/Github Repo:https://github.com/pawangeek/indiapinsPyPI:https://pypi.org/project/indiapins/InstallationInstall the plugin using ‘pip’:$pipinstallindiapinsAlternatively, install from source by cloning this repo then running
‘setup.py’:$pythonsetup.pyinstallFeaturesGet all the mappings of given pinsThe Python sqlite3 module is not required, so easily to use in Clouds (no additional dependencies)Works with Python 3.8, 3.9, 3.10, 3.11 and PyPyCross-platform: Windows, Mac, and Linux are officially supported.Simple usage and very fast resultsExamples1. Exact MatchTo find the names of all places, districts, circles and related information by given Indian PincodeImportant: The Pincode should be of 6 digits, in string formatindiapins.matching('110011')[{'Name':'Nirman Bhawan','BranchType':'Sub Post Office','DeliveryStatus':'Delivery','Circle':'Delhi','District':'Central Delhi','Division':'New Delhi Central','Region':'Delhi','Block':'New Delhi','State':'Delhi','Country':'India','Pincode':'110011'},{'Name':'South Avenue','BranchType':'Sub Post Office','DeliveryStatus':'Non-Delivery','Circle':'Delhi','District':'Central Delhi','Division':'New Delhi Central','Region':'Delhi','Block':'New Delhi','State':'Delhi','Country':'India','Pincode':'110011'},{'Name':'Udyog Bhawan','BranchType':'Sub Post Office','DeliveryStatus':'Non-Delivery','Circle':'Delhi','District':'Central Delhi','Division':'New Delhi Central','Region':'Delhi','Block':'New Delhi','State':'Delhi','Country':'India','Pincode':'110011'}]2. Valid PincodeTo check if the given Pincode is valid or notindiapins.isvalid('110011')True3. District by PincodeIt extracts the district of given Indian pincodeindiapins.districtmatch('302005')'Jaipur'4. Coordinates of PincodeIt extracts all the coordinates of given Indian pincodeindiapins.coordinates('110011'){'Udyog Bhawan':{'latitude':'28.6111111','longitude':'77.2127500'},'Nirman Bhawan':{'latitude':'28.6108611','longitude':'77.2148611'}}History1.0.1 (2023-09-12)Fix pins import error0.1.7 (2023-09-11)Update Pincode data to latest (Sept 2023)Added coordinates info with pinsFetch longitude and latitude of any pinUpdate security vulnerabilities0.1.0 (2021-07-27)Match location with the pinsMark pin is valid or notExtract cities on basis of pins
Package: indiazipcode
$pip installindiazipcodeindiazipcodeIn this package, all zip code in India has been make accessible via python. Sometimes Zip code in India is also referred as PIN code.indiazipcodeis the most powerful and easy to use programmable zipcode database in Python. It comes with a rich feature and easy-to-use zipcode search engine. And it is easy to customize the search behavior as you wish.Address, Postalzipcodezipcode_typemajor_citypost_office_citycommon_city_listcountystatearea_code_list
Package: indicam_client
A thin Python client wrapping the IndiCam service API. The IndiCam service extracts measurements from images of
analog meters, notably oil tank gauges, for use in home or other automation.Free software: MIT licenseDocumentationThe documentation can be viewed (here)[https://docs.hausnet.io/indicam/#client]Developer notesIn order to publish a package, update the version number inindicam_client/__init__.py. Then:` flit build flit publish `
Package: indicasr
IndicASRSpeech Recognition for Indian LanguagesNotesIndicASR is built on top ofandand has pre-trained models forTeluguin the current release.The Telugu model is trained on the train set of MSR Indic corpus + a private corpus of ~94 hours obtained from various telugu interview playlists from Youtube.Use as python modulepipinstall--upgradeindicasrfromindicasrimportIndicASRasr=IndicASR("telugu")# Run one file at onceasr.transcribe("samples/telugu/hari.16k.wav")# "ఈ సినిమా తర్వాత నిర్మాతలు రూటు మార్చే ఆలోచనలో ఉన్నారు"# Batch inferenceasr.transcribe(["samples/telugu/hari.16k.wav","samples/telugu/ramana.16k.wav"])# ["ఈ సినిమా తర్వాత నిర్మాతలు రూటు మార్చే ఆలోచనలో ఉన్నారు",# "భారత దేశము నా మాత్ర భూమి భారతీవులంతా నా సోదరి సోదరులు"]sample namepredictionexpectedtelugu/hari.16k.wavఈ సినిమా తర్వాత నిర్మాతలు రూటు మార్చే ఆలోచనలో ఉన్నారుఈ సినిమా తర్వాత నిర్మాతలు రూటు మార్చే ఆలోచనలో ఉన్నారుtelugu/harsha.16k.wavనేను ఇప్పుడు గడ్డి కొడుతున్నారునేను ఇప్పుడు గడ్డి కొడుతున్నానుtelugu/indra.16k.wavనేను భారత దేశంలో ఉన్నానునేను భారత దేశంలో ఉన్నానుtelugu/praneeth.16k.wavనా పేరు ప్రణి బేదపూడినా పేరు ప్రణీత్ బేదపూడిtelugu/ramana.16k.wavభారత దేశము నా మాత్ర భూమి భారతీవులంతా నా సోదరి సోదరులుభారత దేశము నా మాతృ భూమి భారతీయులంతా నా సోదరీ సోదరులుtelugu/sai_krishna.16k.wavనా పేరు సాయి కృష్ణనా పేరు సాయి కృష్ణ
Package: indicate
Transliterations to/from Indian languages are still generally low quality. One problem is access to data. Another is that there is no standard  transliteration.
For Hindi–English, we build novel dataset for names using the ESPNcricinfo. For instance, seeherefor hindi version of theenglish scorecard.
We also create a dataset fromelection affidavitsWe also exploit theGoogle Dakshina dataset.To overcome the fact that there isn’t one standard way of transliteration, we provide k-best transliterations.InstallWe strongly recommend installingindicateinside a Python virtual environment
(seevenv documentation)pip install indicateGeneral APItransliterate.hindi2english will take Hindi text and translate into English.Examplesfrom indicate import transliterate
english_translated = transliterate.hindi2english("हिंदी")
print(english_translated)output -
hindiFunctionsWe expose 1 function, which will take Hindi text and transliterate it to English.transliterate.hindi2english(input)What it does:Converts given hindi text into English alphabetOutputReturns text in EnglishDataThe datasets used to train the model:Indian Election affidavitsGoogle Dakshina datasetESPN Cric Infofor hindi version of theenglish scorecard.IIT Bombay English-Hindi CorpusEvaluationModel was evaluated on test dataset of Google Dakshina dataset, Model predicted 73.64% exact matches.Indic-transpredicted 63.12% exact matches on Google Dakshina dataset.
Below is the edit distance metrics on test dataset (0.0 mean exact match, the farther away from 0.0,
the difference is more between predicted text and actual text)AuthorsRajashekar Chintalapati and Gaurav SoodContributor Code of ConductThe project welcomes contributions from everyone! In fact, it depends on
it. To maintain this welcoming atmosphere, and to collaborate in a fun
and productive way, we expect contributors to the project to abide by
theContributor Code of
Conduct.LicenseThe package is released under theMIT
License.
Package: indicatorfortune
Calls the 'fortune' program displaying the result in the on-screen notification.RequirementsUbuntu 20.04 or equivalent:UsingGNOME Tweaks, enable theUbuntu appIndicatorsextension.Debian 11 / 12:Install theGNOME ShellextensionAppIndicator and KStatusNotifierItem SupportInstallationUbuntu / Debian:Open aterminaland...Install operating system packages:sudo apt-get -y install gir1.2-ayatanaappindicator3-0.1 libcairo2-dev libgirepository1.0-dev pkg-config python3-dev python3-gi python3-venv python3-notify2 fortune-mod fortunes python3-notify2Create aPythonvirtual environment, activate and install the indicator package:python3 -m venv $HOME/.local/venv_indicatorfortune && \
. $HOME/.local/venv_indicatorfortune/bin/activate && \
python3 -m pip install --upgrade indicatorfortune && \
deactivateCopy icon, run script and desktop file to$HOME/.local:mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && \
cp $(ls -d $HOME/.local/venv_indicatorfortune/lib/python3.* | head -1)/site-packages/indicatorfortune/icons/hicolor/indicatorfortune.svg $HOME/.local/share/icons/hicolor/scalable/apps && \
mkdir -p $HOME/.local/bin && \
cp $(ls -d $HOME/.local/venv_indicatorfortune/lib/python3.* | head -1)/site-packages/indicatorfortune/packaging/linux/indicatorfortune.sh $HOME/.local/bin && \
cp $(ls -d $HOME/.local/venv_indicatorfortune/lib/python3.* | head -1)/site-packages/indicatorfortune/packaging/linux/indicatorfortune.py.desktop $HOME/.local/share/applicationsUsageTo runindicatorfortune, press theSuper/Windowskey to open theShow Applicationsoverlay, typefortuneinto the search bar and the icon should be present for you to click.  If the icon does not appear, or appears as generic, you may have to log out and log back in (or restart).Under thePreferencesthere is anautostartoption to runindicatorfortuneon start up.LimitationsDistributions/versions with full functionality:Debian 11 / 12Ubuntu 20.04 / 22.04Ubuntu Budgie 22.04Ubuntu Unity 20.04 / 22.04Distributions/versions with limited functionality:Kubuntu 20.04 / 22.04No mouse wheel scroll; tooltip in lieu of label.Lubuntu 20.04 / 22.04No label; tooltip is not dynamic; icon is not dynamic.Ubuntu Budgie 20.04No mouse middle click.Ubuntu MATE 20.04Dynamic icon is truncated, but fine whilst being clicked.Ubuntu MATE 22.04Default icon with colour change does not show up; dynamic icon for NEW MOON does not display.Xubuntu 20.04 / 22.04No mouse wheel scroll; tooltip in lieu of label.RemovalUbuntu / Debian:Open aterminaland...Remove operating system packages:sudo apt-get -y remove gir1.2-ayatanaappindicator3-0.1 libcairo2-dev libgirepository1.0-dev pkg-config python3-dev python3-venv python3-notify2RemovePythonvirtual environment and files from$HOME/.local:rm -r $HOME/.local/venv_indicatorfortune && \
rm $HOME/.local/share/icons/hicolor/scalable/apps/indicatorfortune.svg && \
rm $HOME/.local/bin/indicatorfortune.sh && \
rm $HOME/.local/share/applications/indicatorfortune.py.desktopLicenseThis project in its entirety is licensed under the terms of the GNU General Public License v3.0 license.Copyright 2013-2023 Bernard Giannetti.
Package: indicatorintelligence
Indicator-IntelligenceNOTE : You should definitely use it for legal activities.DescriptionIndicator-Intelligence collects static files and related domains for target to do threat intelligence.Usage-d DOMAINS [DOMAINS], --domains DOMAINS [DOMAINS] Input Targets. --domains target-web1.com target-web2.com
-p PROXY, --proxy PROXY Use HTTP proxy. --proxy 0.0.0.0:8080
-a AGENT, --agent AGENT Use agent. --agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'
-o JSON, --json JSON  JSON output. --jsonFunction Usagefrom indicator.indicator import Indicator

#SCAN
Indicator(["target-web.com"])

#OUTPUT
Indicator(["target-web.com"],json=True)LicenseCopyright (c) 2023 Osman KandemirLicensed under the GPL-3.0 License.DonationsIf you like Indicator-Intelligence and would like to show support, you can Buy A Coffee for the developer using the button belowYour support will be much appreciated😊
Package: indicator-management
IndicatorManagementThis library provides management of mathematical/financial indicators, without having any problem on large amount of series data. Please lookFeaturesto see more details.DependenciesPython 3.10+sortedcontainersmatplotlibI am planning to support lower Python version.InstallationThis module is available atPyPI, so you can download it via pip;pip install --upgrade indicator-managementFeaturesGenerate any indicators from any sourcesYou can generate any indicators you want. Here is a simple example.frompprintimportpprintimportrandomfromindicator_managementimportgenerate_syncfromindicator_management.indicatorsimport(RawSeriesIndicatorasRaw,ExponentialMovingAverageasEMA,)i1=Raw(raw_values=range(5))i2=i1*2+50i3=EMA(i2)pprint(list(generate_sync(i1=i1,i2=i2,i3=i3)))The code above will print following;[{'i1': 0, 'i2': 50, 'i3': 50},
 {'i1': 1, 'i2': 52, 'i3': 50.19047619047619},
 {'i1': 2, 'i2': 54, 'i3': 50.55328798185941},
 {'i1': 3, 'i2': 56, 'i3': 51.072022459777564},
 {'i1': 4, 'i2': 58, 'i3': 51.73182984456066}]As you can see, you can mix any operations or indicators to generate your own indicator.Plot your own indicators with convenienceThis codewill plot following graph;As you can see, you can plot your indicators with convenience.SummarizationYou can mix many operations to generate your own indicators. (As you can see from example code above.)You can easily integrate your source with it.
You just have to prepare generator or asynchronous generator which yields values, wrap them inRawSeriesIndicatororAsyncRawSeriesIndicator, and then perform arbitrary operation to make your own indicator with your data sources.You can inherit base classes of library's abstract indicators so you can perform any kind of complex operations.
I will write documentation for such advanced features.There are some number of functions and classes which pre-defines existing indicators, likeRSI,MACD,BB, etc.
I aim to make even more financial indicators to be built-in optimized in future.This library stores only moving window of total data, so in case you process millions or even billions of data, you don't have to care about memory limit.You can even plot your indicators by just defining indicators and pass those toDataAnimator, then the plotting will be automatically handled.But, if you are interested in processing relatively small amount of data(Daily OHLCV for example) and interested in huge performance, then you can select alternative libraries likeTA-lib.Any contributions are welcome!Any contributions are surely welcome! Following are list of major TODOs;Make better documentationImplement more financial indicatorsInternal optimizationsI am open to all kind of discussions. Don't hesitate to begin any discussion for this project!WarningThis library is still under pre-alpha development, and API will be frequently changed.