Saravanan666/pypi-org huggingface dataset:
Package: portalnews
portalnews대한민국 3대 포털뉴스(네이버, 다음, 네이트)의 기사, 반응, 댓글, 답글 수집기설치pip install portalnews예시from portalnews.naver import NaverNewsCrawler

articles = NaverNewsCrawler.get_daily_articles_by_category('20180511')공통 지원 함수 목록MethodParametersNaverDaumNateget_daily_articles_by_categorydate, category idOOOget_daily_most_read_articlesdate, category idOOOget_daily_most_commented_articlesdate, category idOOOget_main_articlesdate, category idOO-get_article_contentarticle idOOOget_article_reactionsarticle idOOOget_comment_metadataarticle idOOOget_all_commentsarticle idOOOget_all_repliesarticle id, comment idOOX공통 지원 함수에 대한 더 더 자세한 설명, 그리고 각 모듈별로 다르게 지원하는 함수는 각 모듈의 README에 작성할 예정입니다.
Package: portal-pipeline-utils
Portal Pipeline UtilitiesUtilities for deploying pipelines and interfacing with portal infrastructure.For more information on available commands and how to contribute and deploy pipelines within the infrastructure check the extendeddocumentation.InstallThe software is python based. To install the software and the required packages, we recommend using a fresh virtual environment.
Please refer topyproject.tomlfor the supported Python versions.The package is available onpypi:pip install portal-pipeline-utilsTo install from source:git clone https://github.com/dbmi-bgm/portal-pipeline-utils.git
cd portal-pipeline-utils
make configure
make update
make buildTo check that the software is correctly installed, try to runpipeline_utils. If installed from source, this command may fail with a bash “command not found” error, trypoetry run pipeline_utilsinstead.Seemake infofor details on make targets.
Package: portalutils
# portalutils
[![Build Status](https://travis-ci.com/Jack-Kingdom/portalutils.svg?branch=master)](https://travis-ci.com/Jack-Kingdom/portalutils)portal access utils.
![portalutils](https://raw.githubusercontent.com/wiki/Jack-Kingdom/portalutils/assets/portal.jpg)## Install`shell pip install portalutils `## Documentation
Check [wiki](https://github.com/Jack-Kingdom/portalutils/wiki) for details.## LICENSE
MIT
Package: port-checker
Port CheckerThe idea behind this command line tool is to check if a port is open on a host.
Really, reallyFree software: MIT licenseDocumentation:https://port-checker.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-10-14)First release on PyPI.
Package: portcheckerio
Welcome to portcheckerio 👋This repository is the counterpart script which portsportchecker.ioThis package is a nice alternative way to using tools likencto query the port connectivity.
The main benefits is that it will work with hostnames,
IPv4 and IPv6 addresses (if your client has IPv6 of course).
You can also query multiple ports at the same time and receive a sweet JSON response.InstallationPortchecker can be installed from PyPI usingpipor your package manager of choice:pip install portcheckerioUsageCLIYou can use Portchecker as a CLI tool using theportcheckcommand.Example:$portcheck--hostgoogle.com--ports443{"2a00:1450:4009:815::200e": {"type": "ipv6","results": [{"port": 443,"connectable": true}]},"172.217.16.238": {"type": "ipv4","results": [{"port": 443,"connectable": true}]}}You can query multiple ports for a given host in the same command:$portcheck--hostgoogle.com--ports44322{"172.217.16.238": {"type": "ipv4","results": [{"port": 443,"connectable": true},{"port": 22,"connectable": false}]},"2a00:1450:4009:815::200e": {"type": "ipv6","results": [{"port": 443,"connectable": true},{"port": 22,"connectable": false}]}}📝 To DoAdd more testsAdd the option to query RFC1918 addressesAdd the option to increase the timeout limit🏠Homepage✨DemoAuthor👤Dan HandWebsite:https://danielhand.ioGithub:@dsgnr🤝 ContributingContributions, issues and feature requests are welcome.Feel free to checkissues pageif you want to contribute.Show your supportGive a ⭐️ if this project helped you!Any donations to help the running of the site is hugely appreciated!📝 LicenseCopyright © 2019Dan Hand.This project isMITlicensed.This README was generated with ❤️ byreadme-md-generator
Package: portdatasplitter
PDS (Port Data Splitter) - это программный разветлитель данных, реализованный в виде TCP сервера,
прослушивающего некоторый порт (USB, COM) и рассылающего эти данные своим клиентам (subscribers).Пример использования (Рассыльщик данных с USB на порту 2290 на Linux):
pds = PortDataSplitter(‘0.0.0.0’, 2290, port_name=’/dev/ttyUSB0’, debug=False, device_name=’USB listener’)1.4.0
Добавлен тестовый режим, при передаче test_mode=True, porDataSplitter не будет подключаться к порту, а будет
просто рассылать test_value (по умолчанию b’101010’)2.0.0
Подключен модуль GCSE (WITAPI)
Package: portela
Portelaa simple port allocatorPortela is a Python 2 & 3 compatible port allocator with zero dependencies.Portela can be used to test basic port connectivity on your host and lets you open up ports on various network interfaces.You can do the same functions with netcat, SimpleHTTPServer, socat and various other tools, but Portela is more user-friendly and offers a simple way to bind to various network interfaces.Python compatibility: 2.7.x - 3.8.xPlatform compatibility: Linuxusage:# portela 1234                      // spin up a listener on port 1234
# portela 1234 -i eth1              // spins up on port 1234 on interface 'eth1'
# portela 1234 -i eth1 -d           // spins up on port 1234 on interface 'eth1' and run as daemon
# portela 1234 -m "samba magic"     // spins up on port 1234 and return a message on HTTP call
# portela stop                 // stops all instances of portela listerner
# portela status                 // check if portela is running as daemon
# portela help / -h / --help   // prints this messageInstallpip install portelaTestingLocal testingsudo pip install -e /path/to/portelaDaemonWhen Portela puts the listener in background as daemon, it creates a PID file (.portela.pid) in /home/user directoryDaemon functions are taken from this article:https://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
Package: portend
por·tend
pôrˈtend/
verbbe a sign or warning that (something, especially something momentous or calamitous) is likely to happen.UsageUse portend to monitor TCP ports for bound or unbound states.For example, to wait for a port to be occupied, timing out after 3 seconds:portend.occupied('www.google.com', 80, timeout=3)Or to wait for a port to be free, timing out after 5 seconds:portend.free('::1', 80, timeout=5)The portend may also be executed directly. If the function succeeds, it
returns nothing and exits with a status of 0. If it fails, it prints a
message and exits with a status of 1. For example:python -m portend localhost:31923 free
(exits immediately)

python -m portend -t 1 localhost:31923 occupied
(one second passes)
Port 31923 not bound on localhost.Portend also exposes afind_available_local_portfor identifying
a suitable port for binding locally:port = portend.find_available_local_port()
print(port, "is available for binding")Portend additionally exposes the lower-level port checking functionality
in theCheckerclass, which currently exposes only one public
method,assert_free:portend.Checker().assert_free('localhost', 31923)If assert_free is passed a host/port combination that is occupied by
a bound listener (i.e. a TCP connection is established to that host/port),
assert_free will raise aPortNotFreeexception.
Package: portent
portentPython package providing horrifying welcome messages for your application.Installationportent is available on the Python Package Index (PyPI).pipinstallportentIt requires python version 3.6 or later.UsageSimply place something like the following in your top-level application
file, and portent will display a helpful, motivational welcome message
once per session.importportentportent.welcome(name='My application',version='2.3.6')Pass the theme argument to thewelcomefunction to use a different
greeter:basicfinance
Package: port-env
port-envWhat problem does this software solvePython virtual environments are not portable because paths are hard-coded in all the scripts at /bin. Also, the third party libraries aren't found if you change versions even if they are compatible.
This command line utility wraps a few of the main GNU coreutils (awk, sed) to fix these things.Requirementssed, awkpython3 (no third party dependencies are needed for now)InstallFrom pipypip install port_envFrom sourcepython setup.py bdist_wheel
pip install dist/*Quick Guideport_env [ENV]You can use the --third_party=1 flag to also move lib/python3.* and rename it to the current python version. It's optional because this might not be what you want if you have several versions of python installed.
Package: porter
PorterPorter provides simple file operations.LicenseMIT.InstallationUsing pip:pip install porterFile managementImport porter:import porterCreate a folder:porter.mkdir('/foo/bar')
# The new directory 'bar' will be created.Rename a file/directory:porter.rename('/foo/bar.txt', 'file.txt')
>>> '/foo/file.txt'

porter.rename('/foo/bar', 'folder')
>>> '/foo/folder'Remove a file/directory:porter.remove('/foo/bar')Copy a file/directory:# Two ways same result
porter.copy('/foo/bar.txt', '/foo1/bar.txt')
porter.copy_to('/foo/bar.txt', '/foo1')Move a file/directory:# Two ways same result
porter.move('/foo/bar', '/foo1/bar')
>>> '/foo1/bar'

porter.move_to('/foo/bar', '/foo1')
>>> '/foo1/bar'Ignore and force:porter.mkdir('/foo/bar', ignore=True)
# If '/foo/bar' exists, porter will not create the folder and no error will occur.
# Ignore option can ONLY ignore the error of the existing destination file/directory.

porter.move('/foo/bar', '/foo1/bar', force=True)
# If '/foo1/bar' exists, porter will move the directory anyway.Ignore and force are both available in ‘mkdir’, ‘copy’, ‘copy_to’, ‘move’, ‘move_to’ functions.Archive:porter.archive('/foo/bar')
>>> '/foo/bar.tar'

porter.archive('/foo/bar', 'archive', 'zip')
>>> '/foo/archive.zip'

porter.archive_to('/foo/bar', '/foo/bar1', 'archive')
>>> '/foo/bar1/archive.tar'All supported archive types: ‘gztar’, ‘bztar’, ‘tar’, ‘zip’classTargetFile:bar = porter.TargetFile('/foo/bar.txt')

bar.src
>>> '/foo/bar.txt'

bar.name
>>> 'bar'

bar.ext
>>> 'txt'

bar.move_to('foo1')

bar.src
>>> '/foo1/bar.txt'

bar.remove()
# Then it will be removed.classTargetDirectory:"""
The structure of the directory:
- foo
  - bar
    - dir1
      - f1.txt
    - dir2
      - f2.txt
- foo1
"""

bar = porter.TargetDirectory('/foo/bar')

bar.src
>>> '/foo/bar'

bar.list()
>>> {'dir1': {'f1.txt': None}, 'dir2': {'f2.txt': None}}

bar.files()
>>> ['f1.txt', 'f2.txt']

bar.directories()
>>> ['dir1', 'dir2']

bar.move_to('foo1')

bar.src
>>> '/foo1/bar'

bar.empty()
# All of the files in it will be removed

bar.remove()
# Then it will be removed.
Package: porter2
porter2A python wrapper around surgebase's porter2 implimentation.The surgebase library impliments a finate state machine and as such has very good performance.
For more information seeCreditsUsagefromporter2importstemprint(stem("running"))# "run"What does the python library do?In order to make this wrapper library I took the porter2.go file from Surgebase, made a few small modifications including
making the stem function accept and return C strings and renaming the package to main.
I then compiled that file to C, and provided asmall wrapperto call the c version.Becuase the C version of porter2.go is 2.4 MB, I went ahead and compressed it using Python's built in bz2 and added thezipper moduleto unzip it
on first use. The bz2 version is about 0.8 MB. As a result of the decompression step, the very first time porter2 is imported it will take a fraction
of a second longer than future imports.Alternatives for Porter2 in PythonpystemmerA Python versionAnother Python version from WhooshCredits and InfoI'm not clear on the relationship between surgebase and Jian Zhen but zhenjl appears to deserve authorship credit and surgebase is where I found the go implimentation.Martin PorterSurgeBase for go sourceJian ZhenAdditional InfoJian Zhen's blog postPorter 2 Wikipedia EntryHistory of the Porter Stemmer
Package: porter2stemmer
An implementation of the Porter2 English stemming algorithm.Free software: BSD licenseDocumentation:http://porter2-stemmer.readthedocs.org/What is stemming?Stemming is a technique used in Natural Language Processing to reduce different inflected forms of words to a single
invariant root form. The root form is called the stem and may or may not be identical to the morphological root of the
word.What is it good for?Lots of things, but query expansion in information retrieval is the canonical example. Let’s say you are building a
search engine. If someone searches for “cat” it would be nice if they were shown documents that contained the word “cats”
too. Unless the query and document index are stemmed, that won’t happen. Stemming can be thought of as a method to reduce
the specificity of queries in order to pull back more relevant results. As such, it involves a trade-off.What type of stemmer is this?Porter2 is a suffix-stripping stemmer. It transforms words into stems by applying a deterministic sequence of
changes to the final portion of the word. Other stemmers work differently. They may, for instance, simply look up
the inflected form in a table and map it to a morphological root, or they may use a clustering approach to
map diverse forms to a centre form. Different approaches have different advantages and disadvantages.How do I use it?Very simply. Import it, instantiate a stemmer, and away you go:from porter2stemmer import Porter2Stemmer
stemmer = Porter2Stemmer()
print(stemmer.stem('conspicuous'))History1.0 (2016-03-31)First release on PyPI.
Package: porter-schmorter
porterTestingDocumentationMetaporteris a framework for data scientists who want to quickly and reliably deploy machine learning models as REST APIs.Simplicity is a core goal of this project. The following 6 lines of code are a fully functional example. While this should the most common use case,porteris also designed to be easily extended to cover the remaining cases not supported out of the box.fromporter.datascienceimportWrappedModelfromporter.servicesimportModelApp,PredictionServicemy_model=WrappedModel.from_file('my-model.pkl')prediction_service=PredictionService(model=my_model,name='my-model',api_version='v1')app=ModelApp([prediction_service])app.run()Features include:Practical design: suitable for projects ranging from proof-of-concept to production grade software.Framework-agnostic design: any object with apredict()method will do, which meansporterplays nicely withsklearn,keras, orxgboostmodels. Models that don't fit this pattern can be easily wrapped and used inporter.OpenAPI integration: lightweight, Pythonic schema specifications support automatic validation of HTTP request data and generation of API documentation using Swagger.Boiler plate reduction:portertakes care of API logging and error handling out of the box, and supports streamlined model loading from.pkland.h5files stored locally or on AWS S3.Robust testing: a comprehensive test suite ensures that you can useporterwith confidence. Additionally,porterhas been extensively field tested.Installationportercan be installed withpipforpython3.9and higher as follows:pip install porter-schmorter  # because porter was takenFor more details, seethis page.DocumentationFor more information, see thedocumentation.
Package: port-eye
port-eyeSimple CLI wrapper around nmap to perform port scanning in PythonNote:This software is indended for legitimate use only.FeaturesScanning of IPV4, IPV6 hosts and CIDR blocks.Parsing of hosts from input file.Automated generation of reports in HTML format.Parallel scanning for increased performance.Optional Docker-based execution.Example command:$port-eye-t127.0.0.1-oreport.htmlOutput html file example:InstallationThis application is compatible with Python 2.7 and Python 3.5+.Docker installationIf you have Docker installed, you can pull the image from Docker-Hub:dockerpullahugues/port-eyeYou can also build the image by cloning the repository and running:dockerbuild-tport-eye.PrerequisitesYou need to installnmapon your machine for the application to work (unless you choose the Docker install.)Example on Ubuntu:sudoaptupdate
sudoaptinstallnmapExample on Archsudopacman-SnmapExample on Mac with HomebrewbrewinstallnmapInstall with pypiIf you have Python 2.7 or 3.5+ installed, you can installport-eyefrom PyPI:pipinstallport-eyeor locally by clonning the repository and running:pipinstall.UsageGeneral notesport-eyeexposes a command line executable namedport-eyeWhen run without any option,port-eyewill simply display the help message.Input hosts can be inputed from the CLI with the option-tor--target. Inputted hosts
can be IPV4 and 6 as well as CIDR blocks.Hosts can be added from an input file in which hosts are put line by line. Example:127.0.0.1
::1
8.8.8.8If using Docker, and assuming you are working in a certain directory, you can run aport-eyecontainer using:dockerrun-v"$(pwd)":/filesport-eye<options>Or if built locallydockerrun-v"$(pwd)":/filesport-eye<options>CLI referenceUsage: port-eye [OPTIONS]

  Run the main application from arguments provided in the CLI.

Options:
  -t, --target TEXT   Target host (IPV4, IPV6 or CIDR
  -f, --file PATH     File containing the hosts to check
  -o, --output PATH   Output HTML file into which the results must be stored
                      [required]
  -s, --sudo          Run nmap as privileged user for more accurate scanning
  -d, --debug         Display debug information to the terminal
  -m, --mock          Use mock API instead of really running nmap
  -j, --jobs INTEGER  Max number of concurrent scans (default 4)
  -h, --help          Show this message and exit.ContributingContributions are closed at the moment.LicenseMIT
Package: portf
Portfolio Builder🔧Create Your Portfolio Site Within minutes📃follow given Documentation To create Your Site👇To install the library 👇pipinstallportffromportfimportbuilder# create object from Data Classdt=builder.Data("Your Name")# Edit Attributes of Objectdt.image="Image Url"dt.about="Enter details about you"# To The the appbuilder.RunApp(port=5000,dt)References for Data ClassAttributeDescriptionTypenameYour NamestrresumeResume download urlstroccupationyour jobstrimageimage urlstrinstaInstagram Urlstrgitgithub Urlstrtwittertwitter Urlstrlinkedinlinkedin Urstraboutdetails about Youstrage0intemailexample@gmail.comemailphone+910000000000numberaddressYour Addressstrlanguagelanguages you knowstrProgrammingyour Skillsstrtoolsyour SkillsstrinternetYour Skillsstrotherother SkillsstrOther Attributeswork=[{"time":"JUNE 2021 - PRESENT","company":"Company Name","post":"Job Post","info":"Info about job"}]# list fo objectprojects=[{"time":"JUNE 2021 - PRESENT","name":"Name of Project","info":"Info about project"}]# list fo objecteducation=[{"time":"2018 - 2020","name":"Name of degree","course":"Course Name","collage":"Collage Name","info":"Info about Course","projects":["Project info",'achievements']}]# list fo objectthis module uses flask for website generation, feel free to contributeMore features and ==themes== will be coming soon✅Created By @saigenix , All rights are reserved
Package: portfolio-allocation
Portfolio Allocation for GnuCashCurrency, country, asset class and industry allocations for portfolio of ETFs and mutual fundsWhat the program does:Takes instrument allocation fromGnuCash's "Security" pie chart reportFetches data for each instrument from the Internet:Finex websiteTinkoff websiteYahoo FinanceGenerates and opensportfolio allocation reportin your browser.Installationpip install portfolio-allocationUsageTo generate report based on default "Securities" GnuCash report for recently open GnuCash file:portfolio-allocation gnucashBut you'd better customize it, since the "Securities" pie chart is limited to 7 instruments:portfolio-allocation gnucash -r MyCustomReport1 MuCustomReport2To select another GnuCash file:portfolio-allocation gnucash -r MyCustomReport -f /home/user/other.gnucashTo view all the possible options, check:portfolio-allocation -h
Package: portfolio-analysis-library
Portfolio-Analysis-Library (PAL)WORK IN PROGRESS (WIP)Usage:pip install portfolio-analysis-libraryin python:import pal
import pandas as pd

portfolio = pal.Portfolio(pd.Series([0.2, 0.3, -0.1, 0.2, -0.5]), 12)
portfolio.get_annual_sharpe(risk_free_rate=0.02)
print(portfolio.annual_sharpe)Developmentpipinstall-r.[dev]
Package: portfolio-analytics
Portfolio=========[![Build Status](https://api.shippable.com/projects/53ce99a67c72335f045a19bb/badge/master)](https://www.shippable.com/projects/53ce99a67c72335f045a19bb)[![Coverage Status](https://img.shields.io/coveralls/intuition-io/portfolio.svg)](https://coveralls.io/r/intuition-io/portfolio)[![Code Health](https://landscape.io/github/intuition-io/portfolio/master/landscape.png)](https://landscape.io/github/intuition-io/portfolio/master)[![Requirements Status](https://requires.io/github/intuition-io/portfolio/requirements.png?branch=master)](https://requires.io/github/intuition-io/portfolio/requirements/?branch=master)[![License](https://pypip.in/license/intuition/badge.png)](https://pypi.python.org/pypi/intuition/)[![Gitter chat](https://badges.gitter.im/intuition-io.png)](https://gitter.im/intuition-io)> [Zipline][1] compatible extension of Portfolio, with analytics superpowers.> Inspired by [PortfolioAnalytics][6] R package.The project provides several portfolio optimizations that compute optimalassets allocation regarding a various set of factors and constraints. Currentlyyou will get the following implementations :* [General optimization problem with solvers][7]* [Global Minimum Variance][8]* [Kelly criterion][9]To learn more about the API, check [the full documentation][3].This project is currently part of the **intuition project**, signup for [theprivate beta][2] and/or [clone your own hedge fund][4].Finally, the whole thing is compatible with [zipline backtester][1].Install-------```$ # Before I setup a package on pypi, yo can get it from source$ git clone https://github.com/intuition-io/portfolio$ cd portfolio && make... blablabla it compiles a lot of maths ...```A taste of it-------------```python# Download some historical datafrom pandas.io.data import get_data_googleohlc_data = get_data_google(['adsk', 'ctxs', 'fb', 'nflx', 'qcom'], start='2013/01/01', end='2013/12/01')data = ohlc_data['Close']# Now let's optimize our portfolio weightsfrom portfolio.optimizations.solvers import SolverPortfolioimport portfolio.objectives as objectiveimport portfolio.constraints as constraintportfolio = SolverPortfolio(objective.risk)# Forbid short positionsportfolio.add_constraint(constraint.long_only())# Invest every cent of our cashportfolio.add_constraint(constraint.full_investment())# Get optimal weights in %pf.optimize(['ctxs', 'fb', 'nflx', 'qcom', 'adsk'], data)Out[66]:{'adsk': 0.49,'ctxs': 0.04,'fb': 0.17,'nflx': 0.0,'qcom': 0.29}```Contributing------------Contributors are happily welcome, [here is a place to start][10].License-------Copyright 2014 Xavier Bruhiere.*Portfolio* is available under the [Apache License, Version 2.0][5].[1]: https://github.com/quantopian/zipline[2]: http://intuition.io[3]: http://doc.intuition.io[4]: https://github.com/intuition-io/intuition[5]: http://www.apache.org/licenses/LICENSE-2.0.html[6]: https://r-forge.r-project.org/R/?group_id=579[7]: http://docs.scipy.org/doc/scipy/reference/optimize.html[8]: http://www.investopedia.com/terms/p/portfolio-variance.asp[9]: http://www.investopedia.com/articles/trading/04/091504.asp[10]: http://doc.intuition.io/articles/contributors.html