Saravanan666/pypi-org huggingface dataset:
Package: linksaas-local-api
基于凌鲨客户端本地api的python clientdemofromlinksaas_local_apiimportApiClient,Configurationfromlinksaas_local_api.apisimportGlobalApicfg=Configuration(host="http://127.0.0.1:8001")apiClient=ApiClient(configuration=cfg)api=GlobalApi(api_client=apiClient)res=api.hello_get()print(res)res=api.show_get()print(res)接口说明GlobalApi接口功能hello_get检查是否是linksaas客户端show_get显示桌面端程序ProjectBugApi接口功能project_project_id_bug_all_get列出所有缺陷project_project_id_bug_my_get列出指派给我的缺陷project_project_id_bug_record_bug_id_events_get列出缺陷相关事件project_project_id_bug_record_bug_id_short_note_get便签方式显示缺陷project_project_id_bug_record_bug_id_show_get在客户端显示缺陷ProjectCreateApi接口功能project_project_id_create_bug_get在客户端创建缺陷project_project_id_create_doc_doc_space_id_get在客户端创建文档project_project_id_create_task_get在客户端创建任务ProjectDocApi接口功能project_project_id_doc_space_doc_space_id_doc_id_show_get在客户端显示文档project_project_id_doc_space_doc_space_id_get列出文档project_project_id_doc_space_get列出文档空间ProjectEventApi接口功能project_project_id_event_get列出事件列表ProjectMemberApi接口功能project_project_id_member_get列出项目成员列表project_project_id_member_member_user_id_show_get在客户端显示成员信息ProjectTaskApi接口功能project_project_id_task_all_get列出所有任务project_project_id_task_my_get列出指派给我的任务project_project_id_task_record_task_id_events_get列出任务相关事件project_project_id_task_record_task_id_short_note_get便签方式显示任务project_project_id_task_record_task_id_show_get在客户端显示任务
Package: linkscrubber
With theannouncement that Google Reader is being shuttered, I
decided I needed to go through mypinboard.inbookmarks and update
any that point to afeedproxy.google.comURL while their
redirecting service is still online. This script does that
automatically.What does it do?link_scrubberprocesses all of your bookmarks, looking for those
that redirect. It adds a new bookmark with the target of the redirect
and all the same metadata from the original link. By default, only
URLs fromfeedproxy.google.comare processed, but there are
command line options to process all redirects or to add more
individual sites.The links are processed in small batches to reduce the load of
individual calls against the pinboard API server, so it can take a
while to process. Once a batch of links is fetched, it is checked in
parallel to speed things up a little.InstallingInstall via pip:$ pip install git+http://github.com/mgan59/python-pinboard.git#egg=python-pinboard
$ pip install linkscrubberNoteUnfortunately, python-pinboard does not have a PyPI release, yet, so
it needs to be installed first.RunningTo use it, pass your pinboard.in user token to the-toption, or
use your username and password with the--userand--passwordoptions.$ linkscrubber -t tokenor$ linkscrubber -u username -p passwordor, leave off the password and you will be prompted$ linkscrubber -u username
Password:To see what would be changed, without making any changes, use the--dry-runoption.$ linkscrubber --dry-run -t tokenFor the full list of options, use:$ linkscrubber -hDisclaimerYou should back up your account before running the script. I have done
some testing, but only against one account. Yours might behave
differently.Reporting BugsUse the github bug tracker athttps://github.com/dhellmann/link_scrubberto report problems.
Package: links-demo
PyPI demo package for testing linksPyPI allows to add custom links to projects and it has some special icons based
on either the name or URL of the link:[project.urls]
# Name based
Homepage = "https://example.com/"
Changelog = "https://example.com/"
Documentation = "https://example.com/"
Download = "https://example.com/"
Mastodon = "https://example.com/@example"
Sponsor = "https://example.com/"
Source = "https://github.com/patrick91/links-demo"
Issues = "https://example.com/"

# URL based
AppVeyor = "https://ci.appveyor.com/project/example"
Bitbucket = "https://bitbucket.org/example"
CircleCI = "https://circleci.com/example"
Codecov = "https://codecov.io/example"
Discord = "https://discord.gg/example"
Coveralls = "https://coveralls.io/example"
GitLab = "https://gitlab.com/example"
Gitter = "https://gitter.im/example"
Google = "https://google.com/example"
PyPI = "https://pypi.org/project/links-demo"
Python = "https://www.python.org/example"
Reddit = "https://www.reddit.com/r/example"
Slack = "https://something.slack.com/example"
Twitter = "https://twitter.com/example"
YouTube = "https://www.youtube.com/example"Example on PyPI
Package: linkselect
Selector of multiple targets for symlinks.
Used for example as a configuration switch.Development status:BetaRequirementsPython 3.4 or laterPyQt4LocationsLinkSelect packagesare available from Cheese shop (PyPI) athttps://pypi.python.org/pypi/linkselectTheproject pageis hosted on Github.If you’ve never worked withgitor contributed to a project on Github,
there is aquick start guide.If you find something wrong or know of a missing feature, pleasecreate an issueon the project
page. If you find that inconvenient or have some security concerns, you could
also drop me a line at <devel@beli.sk>.LicenseCopyright 2015 Michal Belica <devel@beli.sk>LinkSelect is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

LinkSelect is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LinkSelect.  If not, see < http://www.gnu.org/licenses/ >.A copy of the license can be found in theLICENSEfile in the
distribution.
Package: links-from-link-header
This Python module contains only one function:extract.It extracts links and their relations from a Link Header Field[1]and
returns a dict where the keys are the relations and the values are the
links themselves.[1]https://www.w3.org/wiki/LinkHeaderandhttp://www.rfc-editor.org/rfc/rfc5988.txtInstallationpip install links-from-link-headerUsage>>> import links_from_header

>>> header = '<https://api.github.com/user/repos?page=1>; rel="first", <https://api.github.com/user/repos?page=9>; rel="prev", <https://api.github.com/user/repos?page=11>; rel="next", <https://api.github.com/user/repos?page=50>; rel="last"'

>>> links_from_header.extract(header)
{
    'first': 'https://api.github.com/user/repos?page=1',
    'prev': 'https://api.github.com/user/repos?page=9',
    'next': 'https://api.github.com/user/repos?page=11',
    'last': 'https://api.github.com/user/repos?page=50',
}
Package: linksgql
Data.Doublets.GqlIf you need any help, you can ged it real-time on our official discord server:https://discord.gg/eEXJyjWv5eComparison of theories:Online demoIf you are lucky (our server is up) you can test our GraphQL server online using these urls:http://linksplatform.ddns.net:29018/ui/playgroundhttp://linksplatform.ddns.net:29018/ui/graphiqlhttp://linksplatform.ddns.net:29018/ui/altairhttp://linksplatform.ddns.net:29018/ui/voyagerYou can use this URL to access the GraphQL server directly from code, browser or any GraphQL client likeInsomnia.http://linksplatform.ddns.net:29018/graphqlStart locallyExecute:cd csharp/Platform.Data.Doublets.Gql.ServerBy default Gql server usesdb.linksas a name of the database:dotnet runYou can set any path to a database file:dotnet run path/to/db.linksNavigate to:http://localhost:60341/ui/playgroundhttp://localhost:60341/ui/graphiqlhttp://localhost:60341/ui/altairhttp://localhost:60341/ui/voyagerYou can change the port like this:dotnet run -f net5 -c Release db.links --urls http://0.0.0.0:29018Supported query examples:{
  links {
    id
  }
}{
  links(
    where: { id: { _eq: 1 }, from_id: { _eq: 1 }, to_id: { _eq: 1 } }
    distinct_on: [FROM_ID]
    order_by: { id: ASC }
    offset: 0
    limit: 1
  ) {
    id
    from_id
    from {
      id
      from_id
      to_id
    }
    out {
      id
      from_id
      to_id
    }
    to_id
    to {
      id
      from_id
      to_id
    }
    in {
      id
      from_id
      to_id
    }
  }
}{
  links(
    where: { id: { _eq: 1 }, from_id: { _eq: 1 }, to_id: { _eq: 1 } }
    distinct_on: [FROM_ID]
    order_by: { id: ASC }
    offset: 0
    limit: 1
  ) {
    id
    from_id
    from {
      id
      from_id
      to_id
    }
    out(
      where: { from_id: { _eq: 1 }, to_id: { _eq: 1 } }
      distinct_on: [FROM_ID]
      order_by: { id: ASC }
      offset: 0
      limit: 1
    ) {
      id
      from_id
      to_id
    }
    to_id
    to {
      id
      from_id
      to_id
    }
    in(
      where: { from_id: { _eq: 1 }, to_id: { _eq: 1 } }
      distinct_on: [FROM_ID]
      order_by: { id: ASC }
      offset: 0
      limit: 1
    ) {
      id
      from_id
      to_id
    }
  }
}Supported mutation examples:mutation {
  insert_links_one(object: {from_id: 1, to_id: 1}) {
    id
    from_id
    to_id
  }
}mutation {
  insert_links(objects: [{ from_id: 1, to_id: 1 }, { from_id: 2, to_id: 2 }]) {
    returning {
      id
      from_id
      to_id
    }
  }
}mutation {
  update_links(_set: { from_id: 1, to_id: 2 }, where: { from_id: { _eq: 2 }, to_id: { _eq: 2 } }) {
    returning {
      id
      from_id
      to_id
    }
  }
}mutation {
  delete_links(where: { from_id: { _eq: 1 }, to_id: { _eq: 1 } }) {
    returning {
      id
      from_id
      to_id
    }
  }
}
Package: link-shorteners
link-shorteners PackageThis package exposes a list of all known link shorteners (also known as URL shorteners).
This can help you block or filter link shorteners. We are promoting responsible link shortening practices and trying to cut down on spam.
Built byMayafromy.gy.Latest Version: 1.0.7 released on 2024-Feb-11Table of ContentsKey FeaturesInstallationUsageContributionLicenseMotivationKey FeaturesEfficiently Block URL ShortenersEmpower your website's security by using thelink-shortenerspackage to have access to a frequently-updated list of link shorteners. Use the list to efficiently block, filter, or review well-known URL shorteners such as bitly, t.co, ow.ly, tinyurl, shorturl and more. Protect your website from re-linking spam or potential security risks.Extremely Helpful for Link Shortening PlatformsThis list empowers link shortening platforms to effectively restrict the usage of previously shortened links as replacements for destination URLs. This avoids chain shortening/unauditable re-linking, enhances security, prevents spam and enforce quality control.Open Sourcelink-shortenerspackage is open source, allowing developers (you!) to contribute and keep our list of link shorteners up-to-date.InstallationYou can install thelink-shortenerspackage using pip. Open your terminal and run the following command:pipinstalllink-shortenersMake sure that you are always upgrading to the latest version of link-shorteners so your list of link shorteners is up-to-date!Usagefromlink_shortenersimportlink_shorteners_listbanned_shorteners=link_shorteners_list()url_to_check="https://bit.ly/abc123"ifany([xinurl_to_check.lower()forxinbanned_shorteners]):print("The URL is blocked")ContributionThe source code is open sourced and is currently hosted on GitHub at:https://github.com/mayakyler/link-shortenersWe welcome contributions from the community to enhance and expand the list of link shorteners. Feel free to submit issues or pull requests to add more link shorteners, ensuring that the package remains up-to-date and comprehensive.IMPORTANT:When updating a list of shorteners, make sure to update the.txtfile in both thenpm packageandpypi packageto ensure consistency.LicenseMITMotivationOur motivation behind developing this package stems from our experience buildingy.gy, a link shortening platform. Facing challenges such as spam from various link-shortening platforms, we created this list to empower developers and platforms to efficiently block unwanted links in destination URLs. By utilizing this package, you can enhance the security and integrity of your platform, making it a safer space for users.
Package: linkstation
LinkStation clientThis project create for handling Buffalo LinkStation NAS with original firmware. It's originally created to integrate with Home Assistant to display the current status of NAS such as online status, disk spaces used, and have ability to perform restart from within home-assistant.UsageimportasynciofromlinkstationimportLinkStationasyncdefmain()->None:"""Run!"""api=LinkStation("<LINKSTATION_ADMIN_USERNAME>","<LINKSTATION_ADMIN_PASSWORD>","<LINKSTATION_HOSTNAME/IP>")# List all disksdisks=awaitapi.get_all_disks_async()fordiskindisks:_LOGGER.debug(disk+': '+awaitapi.get_disk_status_async(disk))active_disks=awaitapi.get_active_disks_async()fordiskinactive_disks:# Get disk capacity in GBdiskCapacity=awaitapi.get_disk_capacity_async(disk)# Get current used disk space in GBdiskUsed=awaitapi.get_disk_amount_used_async(disk)# Get current used disk space in percentage (provided by LinkStation)diskUsedPct=awaitapi.get_disk_pct_used_async(disk)asyncio.run(main())NotesAll api testing based on Buffalo LinkStation Duo LS-WXL
Package: linkstatus
LinkStatusCheck link statusThis is simple link status checker for text/markdown files.Installpippipinstalllinkstatus--usersourcepipinstall.--userUsage:❯❯❯linkstatus--help
Usage:linkstatus[OPTIONS][SOURCE]...CheckLinkStatus

Options:-r,--recursiveIncludeallfilesfromdirectoriesrecursively-t,--timeoutINTEGERRequesttimeout(default4second)-rt,--retryINTEGERRetrylinkstatus(default2time)--helpShowthismessageandexit.


❯❯❯linkstatustests/data/markdown_file.md
LinksinFile:'tests/data/markdown_file.md'✓L4:https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
✓L8:http://www.google.com
✓L10:https://www.google.com
✓L12:https://github.com/pythonpune/linkstatus
✓L24:http://www.example.com
✗L34:https://github.com/pythonpune/linkcheck(404)✓L39:https://github.com//pythonpune/
…L41:http://<hostname>:<port>(skip)…L43:https://<hostname>:<port>/pages(skip)=================================================================================================================LinksStatusSummaryLinksUP:6LinksSKIP:2LinksDOWN:1Warning:Use`noqa`inlinecommenttoskiplinkcheck.like,responsecode403duetoheaderrestrictionsetc...=================================================================================================================Note: Skip link check for any line by addingnoqa(no quality assurance) as inline comment
.like<-- noqa -->forhtmlandmarkdown,#noqaforpythonetc...CONTRIBUTION GUIDELINESIf you would like to contribute please read the project contribution guidelineshere.CODE OF CONDUCTFor the community code of conduct please follow the followinglink.
Package: links-to-hugo-post
Links to Hugo PostDocumentation:https://namuan.github.io/links-to-hugo-postSource Code:https://github.com/namuan/links-to-hugo-postPyPI:https://pypi.org/project/links-to-hugo-post/Convert a list of links to a Hugo blog post.Installationpipinstalllinks-to-hugo-postExample UsageDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellValidating buildmakebuildRelease processA release is automatically published when a new version is bumped usingmake bump.
See.github/workflows/build.ymlfor more details.
Once the release is published,.github/workflows/publish.ymlwill automatically publish it to PyPI.
Package: links-verification
Links verificationVerify that all the external/absolute links within a web page work correctly.Install$pipinstalllinks-verificationHow to usefromlinks_verificationimportverifymy_verify=verify.Verify("https://www.url_example.com")# PRINT INFORMATION# Print all links functional links, error links and the problem of the error linksmy_verify.print_all_links()# Print only the functional linksmy_verify.print_functional_links()# Print only the error links and their errorsmy_verify.print_error_links()# SAVE INFORMATION IN FILE# External file absolute pathmy_file=os.path.join(os.path.dirname(__file__),"ouput.txt")# Save in external text file all links and the problem error linksmy_verify.save_all_links(my_file)# Save in external text file only the functional linksmy_verify.save_functional_links(my_file)# Save in external text file only the error links and their errorsmy_verify.save_error_links(my_file)# RETURN INFORMATION# Return a dictionary with the keywords: "functional" and "erros", whitch contains the link listlinks=my_verify.return_all_links()# Retiurn only the functional links in a listlinks=my_verify.return_functional_links()# Return only the error links and their errors in a listlinks=my_verify.return_error_links()
Package: linktally
Zope, and most CMS-es in fact, is not optimized to write on every page access.
This makes page counters impractical. Add a squid cache and most visits won’t
even be seen by your CMS.Linktally utilizes your Squid, Apache or Zope log file to periodically tally
content accesses. A separate tool then provides rankings (by type if need be)
for the past week, month and year.
Package: linktester
What is linktester?linktester is a small link test application that uses iperf3 and ethtool to look for errors, problems on
a network link. You could use it for example to test a new physical connection between a new card you installed
on a server and an existing machine.How does it workThe way is works is simple:Capture statistics on the card using ethtoolWait for a remote iperf3 server to start. Once is up, send TCP traffic to trigger for a few minutes any unwanted behaviour.Capture statistics on the card using ethtool a second time and compare error countersReport backRequirementsiperf3 and iperf3 libraries (most distributions have RPM, DEB packages)Python3Rest of the dependencies will be installed with PIP and a virtual environment: rich, python3-iperf3For example, on Fedora (or any RPM based system) you can install the dependencies as follows:sudodnf-yinstalliperf3python3-ethtoollibnlOn a Debian based distribution:sudoapt-getinstall-ypython3-ethtooliperf3Virtual environmentI do recommend you use a virtual environment for the installation:python3-mvirtualenv$HOME/virtualenv/linktester
.$HOME/virtualenv/linktester/bin/activateFor the rest of the installation instructions I will assume you have activated your virtual environment as explained above.InstallationOnce all the base bindings are installed then you can proceed to install from Pypi.org:pipinstalllinktesterDevelopersIf you want to contribute features you can do this:python3-mvirtualenv$HOME/virtualenv/linktester
.$HOME/virtualenv/linktester/bin/activate
gitclonegit@github.com:josevnz/linktester.git
pythonsetup.pydevelopBugsPlease report any bugs on the official linktester page
Package: link-traits
link_traitslink_traitsis a fork oftraitlets'linkanddlinkfunctions to add the ability to linktraitsin addition to traitlets.InstallationMake sure you havepip installedand run:pipinstalllink_traitslink_traitsdepends ontraitswhich is not a pure Python package. InAnacondayou can install link_traits and
traits as follows:condainstalllink-traits-cconda-forgeRunning the testspy.test is required to run the tests.pipinstall"link_traits[test]"py.test--pyargstraitletsUsageimporttraits.apiastimporttraitletsfromlink_traitsimportlinkclassA(t.HasTraits):a=t.Int()classB(traitlets.HasTraits):b=t.Int()a=A()b=B()l=link((a,"a"),(b,"b"))>>>a.a=3>>>b.b3DevelopmentContributions through pull requests are welcome. The intention is to keep the
syntax and features in sync with the original traitlets'linkanddlinkfunctions. Therefore, before contributing a new feature here,
please contribute it totraitletsfirst.
Package: linktune
LinkTuneLinkTune is a Python command line tool that allows users to convert music links between music streaming services and perform simple song searches across these platforms. Created to facilitate easy music sharing between people using different music services.Supported servicesLinkTune currently supports these music services:SpotifyApple MusicYouTube MusicTidalDeezerUsageLinkTune provides two commands:convertandsearch.convertTheconvertcommand allows you to convert a music link from one streaming service to another.Syntax:linktune convert <source_url> <destination_service>where<source_url>is the link to be converted and<destination_service>is the streaming service you'd like to generate the link for.For example, to convert a Spotify link to a Tidal link:linktune convert https://open.spotify.com/track/3pUlXJnQx66IitZVn8Lcki tidalWill return:info: Diazepam by Ren, url: http://www.tidal.com/track/176483583searchThesearchcommand allows you to search for a track across multiple music services.Syntax:linktune search --artist <artist> --title <title> --service <service>or use shorthand options, e.g.:linktune search -a ren -t diazepam -s apple

Diazepam by Ren: https://music.apple.com/us/album/diazepam/1652019136?i=1652019316&uo=4Omitting--servicewill return the track on all services.Installationpip install linktuneGet a Spotify API keyThis app uses the Spotify API, which requires the use of a Spotify client ID and client secret to authenticate API requests. You can generate these for free by creating a Spotify account and navigating tohttps://developer.spotify.com/dashboard/applications.You can then set your local environment variables forSPOTIPY_CLIENT_IDandSPOTIPY_CLIENT_SECRETas follows:export SPOTIPY_CLIENT_ID=<your_client_id>
export SPOTIPY_CLIENT_SECRET=<your_client_secret>These environment variables will be read fromconfig.py.
Package: link_validator
Will recursively search and validate the HTTP response code of each link on a specified web page - and those of its children up - to the maximum specified recursion depth.## Screenshot![screenshot](https://github.com/at1as/at1as.github.io/blob/master/github_repo_assets/link-validate1.jpg)## Usage### Manual
Latest commits, but not thoroughly tested
* Download:git clone https://github.com/at1as/link-validator.git* Run:python link_validator_runner.py –url www.example.com –depth 2* See:python link_validator_runner.py –helpfor details### Python Package
Older but more stable commits
* Download:pip install link_validator* Run:link_validator –url www.example.com –depth 2* See:link_validator –helpfor details
More package information [here](https://pypi.python.org/pypi/link_validator/0.2.1)## Notes
* Tested and developed on Mac OS 10.10 with Python 2.7.6
* Recursion defautls to 2. Script will slow down a lot as this is increased
Package: linkvertise
linkvertise 1.1.5Python wrapper for linkvertise monetizing api.InstallationYou can install package directly from pypipip install linkvertiseExample usagefromlinkvertiseimportLinkvertiseClient# Defining the clientclient=LinkvertiseClient()# Creating a linkvertise url, and printing it# 25565 is your linkvertise account id, and,# google.com is link to monetize.link=client.linkvertise(25565,"google.com")print(link)# Returns https://link-to.net/25565/832.3652483894998/dynamic?r=Z29vZ2xlLmNvbQ==
Package: linkwiz
LinkWizLinkWiz is a Linux tool that lets users select their preferred browser for opening links.ConfigurationYou can configure LinkWiz by modifying thelinkwiz.tomlfile, which is created in the~/.config/linkwiz.tomlon the first run. You can add rules to specify which browser to use for specific domains.Examplelinkwiz.toml:[browsers]# Custom Browsers"Firefox Private"="/usr/bin/firefox-developer-edition --private-window""Brave Private"="/usr/bin/brave --incognito"[rules][rules.regex][rules.hostname]"example.com"="Brave Private""github.com"="Firefox Developer Edition""*.google.com"="Google Chrome"