Saravanan666/pypi-org huggingface dataset:
Package: pub-analyzer
Pub AnalyzerPub-Analyzer —Publication Analyzer— is a Text User Interface —TUI— written in Python, which automates the generation of scientific production reports usingOpenAlex.What is Pub Analyzer for?Pub Analyzer is a tool designed to retrieve, process and present in a concise and understandable way the scientific production of a researcher, including detailed information about their articles, citations, collaborations and other relevant metrics. The tool automates the collection and processing of data, providing users with a comprehensive view of the impact of their research and contributions in academia.All our information comes from OpenAlex, an open and complete catalog of the world's scholarly papers, researchers, journals, and institutions — along with all the ways they're connected to one another. This is the key piece tomake all this possible.Pub Analyzer generates reports that you can view directly within the app,export as PDFfiles to submit as evidence, orexport as JSONfor analysis with the tools you use every day.Why use Pub Analyzer?Researchers are generally required to submit scientific production reports when seeking promotions or funding to support their ongoing research. Instead of laborious manual tracking of their publications and citations, researchers now have the opportunity to perform all of these tasks automaticallyin a matter of minutes.RequirementsPub Analyzer requiresPython 3.10 or laterand can run on Linux, macOS, and Windows.InstallationInstall Pub Analyzer via PyPI, with the following command:pip install pub-analyzerUsageOpen the app with the following command:pub-analyzerDocumentationSeedocumentationfor more details.ContributingPull requests are welcome!
Package: pubchem-api
pubchem_apiA simple API call to the pubchem database (UNOFFICIAL AND NOT FROM PUBCHEM)Documentation:https://pubchem-api.readthedocs.io/en/latest/Free software: MIT licenseFeaturesPlease see this filehttps://github.com/simonholmes001/pubchem_api/blob/master/README.md’CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-02-22)First release on PyPI.
Package: pubchemTool
pubchem toolsis a small packet to query the pubchem APIs. For simple and easy access,
one can use the pubchempy library.
It is not as nice as pubchempy neither so complete, but works well for
things like finding CAS numbers, safety codes, and anything one knows in
the record.
Key point: it works with pulling the record, not querying it every time
one asks a question.pubchem has two interfacesActually the PUG-RES API is available two ways:to query a compound by nameor to get a full record in JSON formatand they provide slightly different facilities.
Using the former, one can get simple answer to things like:
what is the CID (or pubchem ID) of compound 'a'?
The latter fetches the full record in a hierarchic JSON object.using only pugTrying the various output methods did not provide a response as rich as
the pug_view did. Thus, the double call is important at the moment.Handling the JSON hierarchyOne thing to do is to pick out the internal lists of dicts to
some objects, e.g. turning them to dicts. Then a crawler
across the dict structure can discover information we need.
We use the dictDigUtils, a c.a. 5 kB set of functions help digging the
hierarchy returned by the json python library.Lists are:SectionValueStringWithMarkupNumberBooleanFuncitons like clean_section help managing this.A Pubchem class is formed which has simple get_value calls to provide
parameters, such as molecular_weight, molecular_formula, etc.full recordis available as the _record_ private variable. Some parts are simplified
during the processing to remove formating instructions, not needed
here.
You can always use:a=Pubchem('your molecule')get_value('Molecular Weight',a._record_)to query into the record. dictDigUtils can provide you dict_list_keys
to discover possible keys within.names and synonymsThe PUG-RES API will recognize any names what is listed in the synonym list,
thus one needs no other trics to find the material. However, foreign names
may be encoded e.g. the German ä as ae.
Now the list of synonyms is available as the synonyms element of the class.InChiThere are two fields coming from Pubchem:InChI keyInChI, which is indicated with InChi= in the textdensityThe data set may contain several versions of this, and unfortunately
it is not really uniform across the chemicals.
There are:a numbera number and unit< a valuereference to a table imagea text describing value ranges and conditions
So, for now, the function just returns the list it finds.A bit more generic solution is to allow a filter in the general searc.
This is now the get_value_filtered() function, which handles the density
and the CAS numbers. For density, use a cut for vapor values. Others did
not work, because they were listed under the same key.1.0.9: bugfix a typo in pubchem.
Package: pubdns
## PubDNS[![Build Status](https://travis-ci.org/mehrdadrad/pubdns.svg?branch=master)](https://travis-ci.org/mehrdadrad/pubdns)[![PyPI pyversions](https://img.shields.io/badge/python-2.6,%202.7,%203.4,%203.5,%203.6-blue.svg)](https://pypi.python.org/pypi/pubdns/)[![PyPI license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mehrdadrad/pubdns/blob/master/LICENSE)[![PyPI](https://badge.fury.io/py/pubdns.svg)](https://pypi.python.org/pypi/pubdns)[![Documentation Status](https://readthedocs.org/projects/pubdns/badge/?version=latest)](http://pubdns.readthedocs.io/en/latest/?badge=latest)pubdns is a library for python to have more than 28K public dns servers from 190+ countries at your python script. it works based on the public-dns.info collected data and there is a wrapper based on the dnspython to resolve all type of dns records through these public dns server smoothly.### Quick start```pythonimport pubdnspd = pubdns.pubdns()servers = pd.servers('US', 'los angeles')```### Sample data```[{'city': 'Los Angeles','server': '12.127.16.67','name': 'rmtu.mt.rs.els-gms.att.net.','reliability': '1.00'},{'city': 'Los Angeles','server': '216.240.32.77','name': 'dns2.worldpassage.net.','reliability':'1.00'},...]```### Sample DNS Query```pythonrs = pubdns.dns.resolver(servers, 'amazon.com', ['A'])for r in rs:print(r)```### Sample Data```{'server':{'city': 'Los Angeles','server': '12.127.16.67','name': 'rmtu.mt.rs.els-gms.att.net.','reliability': '1.00'},'resolve': [{'name': '176.32.98.166', 'type': 'A'},{'name': '176.32.103.205', 'type': 'A'},{'name': '205.251.242.103', 'type': 'A'}]}```## Feature Support- Search by country and city- Cache public-dns.info data and update with specific TTL- Support HTTP proxy to get public dns data- Query the public DNS with specific record type(s)## RequirementsPython 2.6 or later.## Installation```pip install pubdns```## LicenseThis project is licensed under MIT license. Please read the LICENSE file.## ContributeWelcomes any kind of contribution, please follow the next steps:- Fork the project on github.com.- Create a new branch.- Commit changes to the new branch.- Send a pull request.
Package: pubdoc
pubdocПубликация документацииВозможностиРабота в ОС семейства:Linux,Mac OS X,Windows;Подерживается публикация на:DokuWikiУстановка и обновлениеУстановить Python версии не ниже 3.6;Установить пакет d2doc из PyPI командой:pipinstalld2docДля обновления пакета необходимо воспользоваться командой:pipinstall-Ud2docИспользование скриптаUsage: pubdoc.py [OPTIONS] COMMAND [ARGS]...

Options:
  --log-level TEXT  Log level [CRITICAL, FATAL, ERROR, WARNING, DEBUG, INFO,
                    NOTSET]
  --help            Show this message and exit.

Commands:
  dokuwikiПубликация на DokuWikiКомандаdokuwikiUsage: pubdoc dokuwiki [OPTIONS]

Options:
  -t, --target TEXT         Dokuwiki url.  [required]
  --username TEXT           Dokuwiki username.  [required]
  --password TEXT           Dokuwiki password.  [required]
  -n, --namespace TEXT      Dokuwiki namespace.  [required]
  -d, --data-dir PATH       Input data dir.  [required]
  -m, --data-dir-mask TEXT  Files mask for option '--data-dir'.
  --help                    Show this message and exit.Пример использования скрипта в Linuxpubdocdokuwiki\--target'https://bla.bla.com'\--username'Логин'\--password'Пароль'\--namespace'Проект 1:Техническая документация'\--data-dir'./testdocs'\--data-dir-mask'**/*.md'Пример использования скрипта в Linux c использованием переменных средыexportPUBDOC_DOKUWIKI_TARGET='https://bla.bla.com'exportPUBDOC_DOKUWIKI_USERNAME='Логин'exportPUBDOC_DOKUWIKI_PASSWORD='Пароль'exportPUBDOC_DOKUWIKI_NAMESPACE='Проект 1:Техническая документация'exportPUBDOC_DOKUWIKI_DATA_DIR='./testdocs'exportPUBDOC_DOKUWIKI_DATA_DIR_MASK='**/*.md'exportPUBDOC_LOG_LEVEL='DEBUG'pubdocdokuwiki
Package: pubfin
pubfinThis package provides a Findata class with built-in methods to query, save, and output (to Pandas DataFrame) reported financial data via the SEC EDGAR API.classFindatafunction__init____init__(cik:str,ticker:str=None,listing_country:str='USA',request_header:dict={'User-Agent':'Default default@msn.com'})static methodpubfin.load_from_tickerload_from_ticker(ticker:str,listing_country:str='USA',request_header:dict={'User-Agent':'Default default@msn.com'})Constructs a Findata object using the supplied ticker symbol, looks up the matching SEC CIK id, and queries all available company fact data from the EDGAR API. Currently, this will only work for USA-listed companies accessible through the SEC EDGAR system. This function uses two SEC EDGAR API calls--one to look up the company's CIK id from ticker, and another to load reported financial data.Args:ticker (str):  The company's stock ticker symbollisting_country (str, optional):  The company's listing country. Defaults to "USA"request_header (dict, optional):  Your name and email, which is required by the SEC's APIs. Defaults to{ "User-Agent": "Default default@msn.com", }Returns:Findata:  A Findata object with populated reported financial data (self.dataattribute) in a dict representation of the EDGAR API's JSON output.instance methodpubfin.Findata.to_dfFindata.to_df(xbrl_tags:list=None)Outputs aFindataobject's dict representation of reported financial data to a flat Pandas dataframe.Args:xbrl_tags(list, optional):  List of xbrl tag names (string format) to limit the output dataframe. Defaults to None.Returns:Pandas dataframeThis file was automatically generated vialazydocs.
Package: pubfisher
Pubfisher: Effectively explore scientific publicationsPubfisher is about querying scientific publications from web sources
such as Google Scholar.
These sources often do not offer a convenient, programmable API,
such that complex or comprehensive queries require lots of manual
steps, such as solving Captchas.Pubfisher offers a simple data model and API that reduces the manual
effort to the minimum and makes complex queries simple to express.
In particular, Pubfisher does not fail when it sees a Captcha:
It shows the captcha to you, you solve the captcha, on goes the query.Let's say you are interested in the first 200 citations of a paper
according to Google Scholar
Then this could be your query:frompubfisher.fishers.googlescholarimportPublicationGSFisherfromitertoolsimportislicedefmy_query():fisher=PublicationGSFisher()fisher.look_for_key_words('Parachute use to prevent death ''and major trauma related to ''gravitational challenge: ''systematic review of randomised ''controlled trials')returnislice(fisher.fish_all(),200)Using one and the same scraper, you can perform lots of queries.
Pubfisher takes care of reusing the session cookies across requests
such that your queries appear natural to the underlying web services.
Package: pubg
Python wrapper for the Battlegrounds Developer API==================================================`Battlegrounds Developer API Docs <https://developer.playbattlegrounds.com/docs/en/introduction.html>`_************Installation************.. code-block:: bashpip install pubg***************Usage***************Setup=====.. code-block:: pythonfrom pubg import Battlegrounds, Regionbattlegrounds = Battlegrounds(api_key='API_KEY', region=Region.pc_na)Match Data==========.. code-block:: pythonmatches = battlegrounds.matches()print(matches.id)print(matches.created_at)print(matches.duration)for roster in matches.rosters:print(roster.id)for participant in roster.participants:print(participant.id)print(participant.actor)print(participant.shard_id)print(roster.won)print(roster.shard_id)for asset in matches.assets:print(asset.id)print(asset.title_id)print(asset.shard_id)print(asset.name)print(asset.description)print(asset.created_at)print(asset.filename)print(asset.content_type)print(asset.url)print(matches.game_mode)print(matches.patch_version)print(matches.title_id)print(matches.shard_id)Status======.. code-block:: pythonstatus = Battlegrounds.status()print(status.id)print(status.released_at)print(status.version)More will be available as I get more information about the APIPlatform: UNKNOWNClassifier: Development Status :: 1 - PlanningClassifier: License :: OSI Approved :: MIT LicenseClassifier: Programming Language :: Python :: 3.6
Package: pubg-api
PUBG Api ClientHow to use?Install the pubg-client packagepip install pubg-clientExample snippetimport os

from pubg import PubgClient

YOUR_TOKEN = 'your pubg token'

pubg = PubgClient(token=YOUR_TOKEN)


_names = [
    'Cafeteira'
]

players = pubg.players().list_by_names(names=_names)
Package: pubg-client
pubg-client-----------**A python client for the pubg API**|travis| |pypi| |docs|Features:* Versioned API Endpoint and response payloads* Pagination Support.. DANGER::This library is in alpha. I will try my utmost to not make backwards incompatible changesbut it is possible that they will be necessary.Installing==========.. code-block:: shell$ pip install pubg-clientDevelopment===========.. code-block:: shell$ git clone https://github.com/huntcsg/pubg-client.git$ cd pubg-client$ ./utils/manage clean$ ./utils/manage test$ ./utils/manage docs1. All pull requests must pass the travis-ci builds2. All pull requests should include inline (docstring) documentation, updates to built documentation if applicable,and test coverage. This project aspires to be a 100% test coverage library... |travis| image:: https://travis-ci.org/huntcsg/pubg-client.svg?branch=master:target: https://travis-ci.org/huntcsg/pubg-client.. |pypi| image:: https://img.shields.io/pypi/v/pubg-client.svg:target: https://pypi.python.org/pypi/pubg-client.. |docs| image:: https://readthedocs.org/projects/pubg-client/badge/?version=latest:target: http://pubg-client.readthedocs.io/en/latest/?badge=latestChanges=======0.1.4*****- Initial ReleaseAuthors-------Hunter Senft-Grupp
Package: pubg-reports
pubg-reportsA Python-based Discord bot that tracks users from a given server in PUBG to automatically send their post-match stats to a pre-specified Discord channel.PrerequisitesPython 3.5.3 or higher is requiredPUBG API KeyGet yours hereDiscord API keyA Discord application needs to be created in order to create a bot,you can create a new Discord application hereThere are two keys for Discord, please disregard the client key and use the bot keyA useful guide on how to create a botDiscord server & channel IDsThe channel IDs are going to be used by the bot toRegister new usersSend reports for solo, duo and squad PUBG roundsTo acquire an ID for a given channel, please enabled developer mode in your Discord user settings, then simply right click a channel and there will be an option tocopy IDInstallationOS X & Linux:$python3-mpipinstall-Upubg-reportsWindows:$py-3-mpipinstall-Upubg-reportsConfigurationTo configure thetokensthat arerequired to run the bot$bot-config-tokensTo configure theDiscord channelsthat arerequired for the bot to send reports at$bot-config-channelsTo configure the tokens and channels in one go$bot-config-allRunning the botTo run the bot, simply do$bot-runUsageTo use the bot, a user must register by typing!reg PUBG-IGN[Case sensitive]To check all the registered users within the server, type!usersAfter a PUBG round ends, a user can get the top 3 players kill-wise in that round by typing!top3Example Match ReportThis is how a post match report looks likeKnown IssuesA round of PUBG will not get reported for one of the teams if team A is playing against team B and they are both on the same Discord server.The bot supports up to one Discord server. There are plans to expand the capabilities of the bot to support multi servers.
Package: pubg-toolbox
pubg-toolboxA set of API wrappers to query PUBG game data according toofficial APIs, read it to learn more details.Essentially the APIs needed, at least for my project, provide simple ways to get get pubg data in json format given theplayer name,platformandseason. As for what to process with the obtained data, they are up to use cases. Therefore this toolbox focus on getting the data easily.Goal 0.1:Complete APIs listed to get json data in an easy and stable mannerException handling for query failureAPI names clean upTests completeGoal 0.2:Add APIs to retrieve frequently used data from json returnedHow to UseClientCreating a client is easyfrom pubg_toolbox.client import PUBGClient
client = PUBGClient('<API key>')Playerfrom pubg_toolbox.data_types.queries import PlayerQuery
from pubg_toolbox.data_types.types import Player

data = client.request(PlayerQuery('<id>', '<platform>'))
player = Player(data)Get recent played match idsplayer.matchesSeasonsfrom pubg_toolbox.data_types.queries import SeasonsQuery
from pubg_toolbox.data_types.types import Seasons

data = client.request(SeasonsQuery('<platform>'))
seasons = Seasons(data)Get a list of season ids byseasons.get_all_seasons()Get current season id byseasons.get_current_season()Matchesfrom pubg_toolbox.data_types.queries import MatchesQuery
from pubg_toolbox.data_types.types import Matches

data = client.request(MatchesQuery('<account id>', '<season is>'))
matches = Matches(data)Get match ids per game modebymatches.get_matches('matchesSolo')Matchfrom pubg_toolbox.data_types.queries import MatchQuery
from pubg_toolbox.data_types.types import Match

data = client.request(MatchQuery('<match id>'))
match = Match(data)The most important feature is to get the telemetry url so we can look further into it:match.get_telemetry_url()You can also get useful information such asmatch.created_at # match date
match.get_match_map() # match map
match.get_game_mode() # match game modeTelemetryTelemetry is a bit more complicated as you need get a match first.
With the Match object created from above, useget_telemetry_urlto get the telemtry CDN url.from pubg_toolbox.data_types.queries import TelemetryQuery

data = client.request(TelemetryQuery('<telemetry url>'))
Package: pubkeeper.client
# Pubkeeper Python ClientThe Pubkeeper Python Client enables you to connect to a Pubkeeper Server and to participate in the production and subscription of data topics.## Quick Start### Install for Use### RequirementsThe Python Pubkeeper client requires Python version 3.5 or higher#### InstallInto your environment install the wheel files together:```pip3 install pubkeeper.client```### Install for Development#### Clone the repoIf you have access to the Pubkeeper project you may install directly from source for development purposes.```git clone git@github.com:pubkeeper/python-client```#### InstallEnsure the protocol, and communicaiton wheels are installed into your environment before installing the Pubkeeper Python Client and Brews.  Then you can install Pubkeeper Python Client and Brews into your own virtualenv.```pip3 install -e /path/to/where/you/cloned/python-client```### Using the Pubkeeper Python Client#### Authentication TokensPubkeeper Server handles client authentication with JWT.  As such you will need to acquire a token from the server you are going to be connecting to.#### RunningIn the most basic example, we will connect to the Pubkeeper Server, and register a single Brewer and publish a string.  Note that the client sits upon a Tornado IOLoop, as such it runs inside of its own thread, and will need to be gracefilly shutdown when your program ends.  This example assumes you are running an unsecured Pubkeeper Server, and Websocket Server on your localhost.  You will need to replace these with actual values.```pyfrom pubkeeper.client import PubkeeperClientfrom pubkeeper.brew.websocket.brew import WebsocketBrewfrom time import sleepconfig = {'host': 'localhost','port': 9898,'secure': False'token': 'your-auth-token','bridge_mode': False}client = PubkeeperClient(config)websocket_brew = WebsocketBrew()websocket_brew.configure({'ws_host': 'localhost','ws_port': 8000,'ws_secure': False})client.add_brew(websocket_brew)client.start()try:brewer = client.add_brewer('demo.topic')while True:brewer.brew(b'data')sleep(1)except KeyboardInterrupt:client.shutdown()```## Complete DocumentationA more complete documentation of the Pubkeeper Python Client, and Pubkeeper System may be found at: [docs.pubkeeper.com](http://docs.pubkeeper.com)# LicenseThis software is proprietary and may only be used in conjunction with a current niolabs plan and the associated nio software license.  See [https://niolabs.com/pricing](https://niolabs.com/pricing) for available plans.
Package: pubkey
Need to setup private/public key server connections for e.g. password less ssh
communications? Tired of manually having to copy around public keys?pubkey creates a RESTful endpoint and replies with the public key you want to
share. Default is plain text so you can use curl to download and apply the
public key with a single step. Optionally the key can be wrapped in a json
document for other usecases.Simply run the following command on the source server:$ pubkey –auto
# Starts the pubkey server with default settings and IP auto detectionINFO: pubkey file used: /Users/xxxxx/.ssh/id_rsa.pub
INFO: pubkey server started athttp://192.168.0.36:1080Remote host command:curl -s -S 192.168.0.36:1080 >> ~/.ssh/authorized_keysPress ctrl-C to stop.Then copy the curl statement provide above to the terminal of the server you
would like to add the public key to:curl -s -S 192.168.0.36:1080 >> ~/.ssh/authorized_keysDone. If you did not get an error (e.g. unreachable host) you are all set.For more information head over to github:https://github.com/fxstein/pubkey
Package: public
Installation$[sudo]pipinstallpublicFeaturesreplace__all__with@public.adddecoratorbefore__all__=["func"]deffunc():afterimportpublic@public.adddeffunc():Examples>>>importpublic>>>@public.adddeffunc():pass>>>@public.addclassCls:pass>>>__all__['Cls','func']>>>public.add("name")>>>public.add(*["name1","name2"])>>>__all__['Cls','func','name','name1','name2']LinksImporting * From a Package. Python documentationCan someone explainallin Python? Stackoverflowreadme42.com