Saravanan666/pypi-org huggingface dataset:
Package: python-stacks
StacksStacks is a collection of python utilties to setup a pacman build system.It is not an end to end product but more like a support library for you to write your own systems quickly with a gui (i.e the configuration is also done in python).However, almost everything is abstracted away from the user, who just needs to define where the pacman PKGBUILD files are, the job scheduler, and what workers there are.I currently use the build system personally to automatically rebuild some packages for me whenver upstream versions come in. It has some features which are unmatched
among other build systems.Dependency checks. If the dependencies of a library haven't been built yet, neither will it.Directly uses libalpm via the python bindings to determine what packages are already in the binary repository.Direct PKGBUILD dependency/metadata extraction into python objectsNice web gui where you can see all the queues and logs (and can save history to a history.json file upon server exit)Automatic time-based requeing of failed builds.This is not meant to be a commercial-quality software build stack. It just offers a lightweight web gui (no interaction, meaning you can't manually requeue, unfortunately) and tight integration with pacman.
Package: python-stacktaskclient
StackTaskClient is a command-line and python client for StackTask.Getting StartedStackTask Client can be installed from PyPI using pip:pip install python-openstackclient python-stacktaskclientThe command line client is installed as a plugin for the OpenStack client, and
an older deprecated version is available under the entry point ‘stacktask’.Python APIIn order to use the python api directly, you must first obtain an auth
token and identify which endpoint you wish to speak to:>>> stacktask_url = 'http://stacktask.example.org:8004/v1/'
>>> auth_token = '3bcc3d3a03f44e3d8377f9247b0ad155'Once you have done so, you can use the API like so:>>> from stacktaskclient.client import Client
>>> stacktask = Client('1', endpoint=stacktask_url, token=auth_token)An auth token isn’t needed for accessing signup, user.password_forgot(),
token.submit() or token.get().
Package: python-stanbicmm
python-stanbicmmA python library providing an interface to interact with the Stanbic Mobile Money serviceInstallingYou can install python-stanbicmm viaPyPi. To install the latest stable version:$ pip install python-stanbicmmUsageUsing python-stanbicmm in your project is very easy:import stanbic
mm = stanbic.StanbicMM('2348012345678', '1111') # specify your account number and pin
transactions = mm.get_transactions()
specific_transaction = mm.get_transaction(txn_ref="012345")Licensepython-stanbicmm is free software, available under the BSD license.DependenciesMechanizeContributingPlease feel free to fork this project and submit pull requests. If you’ve found a bug,
also feel free to fix it and submit a pull request. If you can’t submit a patch, then
report bugs by creating an issue on theissue tracker.
Package: python-standardize-it
standardize-it - robust string normalizationstandardize-it provides robust string normalization and standardization against known standards by utilizing NLP and cosine similarity.Installationstandardize-itcan be installed from PyPI:pip install python-standardize-itDownloadProject files are available athttps://pypi.org/project/standardize-itDocumentation is hosted athttps://standardize-it.readthedocs.io/en/latestCodeCode is hosted on GitHub:https://github.com/whege/standardize-it
Package: python-star
Star - Command Line ToolStar is a command-line tool designed to simplify project setup, testing, and development tasks by providing a unified interface for running scripts and commands. It allows you to define and manage scripts in a configuration file, making it easy to execute complex workflows with a single command.FeaturesScript Configuration: Define scripts in a configuration file (star.json) to specify tasks for setup, testing, or development.Unified Interface: Run scripts using a single command, reducing the need to remember complex command sequences.Flexibility: Execute both single commands and sequences of commands defined in the configuration file.Easy to Use: Simplify your workflow by streamlining common tasks with predefined scripts.InstallationStar can be installed usingpip. Open a terminal and run:pipinstallpython-starDocumentation (Usage)Adding CommandsDefine your custom scripts in the star.json file located in the root directory of your project. Example:{"scripts":{"custom_script":"echo 'Running custom script'","test":["echo 'Test 1 Pass'","echo 'Test 1 Pass'"]}}Running CommandsTo run a script, use the following command:star<script-name>Replace<script-name>with the name of the script defined in your star.json file.ExampleAssuming you have a star.json file with the following content:{"scripts":{"setup":"python setup.py","test":["pytest","flake8"]}}You can run the "setup" script usingstarsetupOr run the "test" script sequence using:startestOther CommandShort FormLong FormDescription-h--helpShow this help message and exit-v--versionDisplay the version of Star-l--listList all available scriptsContributingFor guidance on setting up a development environment and how to make a contribution to Star, see the
Package: python-starter
‘module-starter’for Python.Requirementspython >= (2.6, 3.3)Installation$ pip install python-starterUsage$ python-starter --help
usage: python-starter [options] target

options:
  --author=author    author name (default: git user.name)
  --email=email      author email (default: git user.email)
  --license=license  license (default: MIT)
  --list             list available licenses
  --version          show program's version number and exit
  --help             show this message and exitExample$ git config --get user.name
foo
$ git config --get user.email
foo@bar.com
$ python-starter exampleexample/setup.py#!/usr/bin/env python# -*- coding: utf-8 -*-fromsetuptoolsimportsetup,find_packagesconfig={'name':'example','author':'foo','author_email':'foo@bar.com','url':'','description':'','long_description':open('README.rst','r').read(),'license':'MIT','version':'0.0.1','install_requires':[],'classifiers':["Programming Language :: Python","Programming Language :: Python :: 2","Programming Language :: Python :: 3","License :: OSI Approved :: MIT License","Development Status :: 1 - Planning",],'packages':find_packages(),}if__name__=='__main__':setup(**config)example/LICENSEMIT License

Copyright (c) 2017 foo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.example/README.rstexample--------example/.gitignore__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
.python-version
.env
venv/
ENV/LicenseDistributed underMIT
License.AuthorKojiro TANI(kojiro0531@gmail.com)
Package: python-starters
Python Starters🚀 Python Starters DocumentationWelcome to the Python Starters documentation! Python Starters is a tool designed to streamline the process of initializing, managing, and updating project starters based on cookiecutter templates. This tool simplifies Git operations, specifically working with subtrees and submodules, and provides a user-friendly interface for project scaffolding.📦 InstallationTo install Python Starters viapipfromPyPI, run the following command:pipinstallpython-startersThis will installPython StartersEnsure you have Git installed on your system, as Python Starters relies on Git for version control of starters.🛠️ Quick StartTo quickly start using Python Starters, follow these steps:Initialize your project:python-startersinitAdd a starter to your project:python-startersadd<starter_git_url>Customize your starter as needed and enjoy streamlined project setup!🌟 Basic UsagePython Starters simplifies the process of working with project starters. Below are the basic commands:Initializing Python Starters:python-startersinitAdding a Starter:python-startersadd<starter_git_url>Updating a Starter:python-startersupdate<starter_name>Removing a Starter:python-startersremove<starter_name>⚙️ Advanced UsageFor advanced usage of Python Starters, consider the following commands:Resolving Merge Conflicts:python-startersresolve<starter_name>Listing All Starters:python-starterslistCustomizing Starters:Customize your starter by editing the generated configuration files. Python Starters will respect these customizations during updates.Please see theCommand-line Referencefor details.📘 API ReferencePython Starters also provides an API for programmatic access to its functionalities. Below is the reference for the API:initialize_project():
Initializes Python Starters in the current project.add_new_starter(starter_git_url: str):
Adds a new starter to the project from the given Git URL.update_existing_starter(starter_name: str):
Updates the specified starter to its latest version.remove_starter(starter_name: str):
Removes the specified starter from the project.resolve_starter_conflicts(starter_name: str):
Assists in resolving merge conflicts for the specified starter.list_all_starters():
Lists all starters added to the current project.Each function is designed to be intuitive and easy to use, mirroring the simplicity of the CLI commands.RequirementsPython >=3.11ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Python Startersis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: python-status
# status - HTTP Status for Humans[![version](https://img.shields.io/pypi/v/python-status.svg)](https://pypi.python.org/pypi/python-status/)
[![supported](https://img.shields.io/pypi/pyversions/python-status.svg)](https://pypi.python.org/pypi/python-status/)
![license](https://img.shields.io/pypi/l/python-status.svg)statusis a very simple python library which provides human understandable HTTP status codes and improves readability of your code. You don’t have to use those ugly HTTP status numbers, but use easily understandable status names.Don’t:class PythonPeople(RequestHandler):def post(self):# do stuff
return (‘That worked!’, 201)But, do this:class PythonPeople(RequestHandler):def post(self):# do stuff
return (‘That worked!’, status.HTTP_201_CREATED)See, that looks so much better. You can use this library wherever you want, from custom python scripts to Django, Flask etc apps. For example, if you were playing with [Requests](http://python-requests.org):>>> response = requests.delete('http://some-url')
>>> response.status_code == status.HTTP_204_NO_CONTENT## Installationpip install python-status## Usagestatuscomes with HTTP response status codes and also some helpful methods to check the response status. Under the hood, status codes are merely an integer variable with meaningful variable names. Checkstatus.pyfile.>>> import status
>>> status.HTTP_200_OK == 200
TrueFor list of available status codes checkstatus.pyfile.statusalso comes with some helpful methods to check the status of a response. They arestatus.is_informational,status.is_success,status.is_redirect,status.is_client_errorandstatus.is_server_error.>>> import status
>>> response = requests.delete('http://some-url')
>>> if status.is_success(code=response.status_code):
        print('yay!')
>>>
yay!# Why?For every project I was creating astatus.pyfile in the root directory. So I thought it’s better to release this as a package on PyPi and use it.# LicensePlease checkLICENSEfor more details.# Creditsstatusis a fork of [Django Rest Framework](https://github.com/tomchristie/django-rest-framework)(DRF) and is independently maintained. The fork is entirely stripped of all DRF features and is not a submodule of DRF. And it doesn’t come with any DRF functionalities.
Package: python-statusio
A Python wrapper around the Status.io API.IntroductionThis library provides a pure Python interface for theStatus.io
API. It works with Python versions
from 2.6+.Status.ioprovides hosted system status pages.InstallingYou can install python-statusio using:$ pip install python-statusioDocumentationView the last release API documentation at:http://developers.status.ioUsingThe library provides a Python wrapper around the Status.io API.APIThe API is exposed via thestatusio.Apiclass.To create an instance of thestatusio.Apiwith yout credentials:>>> import statusio
>>> api = statusio.Api(api_id='api_id',
                      api_key='api_key')To your status page summary:>>> summary = api.StatusSummary('status_page_id')
>>> print(summary)There are many more API methods, to read the full API documentation:$ pydoc statusio.Api
Package: python-steamgriddb
python-steamgriddbA Python API wrapper for SteamGridDB.comInstallationpipinstallpython-steamgriddbGetting StartedGet your API key:You can generate an API key on your user preferences page.Initialize the SteamGridDB using your API key to connect with APIfromsteamgridimportSteamGridDBsgdb=SteamGridDB('AuthKey')Search for a game:# Search for Witcher gameresult=sgdb.search_game('Witcher')Get a game object without searching:# Get a game using a Game IDgame=sgdb.get_game_by_gameid(1234)# Get a game using Steam App IDgame=sgdb.get_game_by_steam_appid(567890)# Returning the game as JSONObjectgame.to_json()Do something with a game object:# Return the game namegame_name=game.name# Return the game release date as datetimegame_release_date=game.release_dateGet Assets:fromsteamgridimportStyleType,PlatformType,MimeType,ImageType# Get grids list without filtergrids=sgdb.get_grids_by_gameid([1234])# Get grids list by filter (Multiple filters are allowed)grids=sgdb.get_grids_by_gameid(game_ids=[1234],styles=[StyleType.Alternate],mimes=[MimeType.PNG],types=[ImageType.Static],is_nsfw=True)# Get list grids using platformgrids=sgdb.get_grids_by_platform(game_ids=[1234],platform=PlatformType.origin)Do something with a grid object:# Return object of grid's authorgrid_author=grid.author# Return grid's scoregrid_score=grid.scoreSome grid object methods:# Return true if grid be nsfwgrid_is_nsfw=grid.is_nsfw()# Returning the grid as JSONObjectgrid.to_json()Delete a grid# Delete a grid with its objectgrid.delete()# Delete a grid with its IDsgdb.delete_grid([230227])Star HistoryDonate address:BTC:bc1q8ngvcph2mwtlza8w452dxcjc08wgqa0pdnmndz
Package: python-stitch-client
python-stitch-clientA Stitch Import API client library for pythonUseThis library depends on python3 - if that's not your default python, try this:›mkvirtualenv-ppython3stitchNext, install this library:›workonstitch
›pipinstallstitchclientNow you're ready to use the library. From the samevirtualenv:fromstitchclient.clientimportClientwithClient(int(os.environ['STITCH_CLIENT_ID']),os.environ['STITCH_TOKEN'],callback_function=print)asc:foriinrange(1,10):c.push({'action':'upsert','table_name':'test_table','key_names':['id'],'sequence':i,'data':{'id':i,'value':'abc'}},i)Licensepython-stitch-client is Copyright © 2016 Stitch and Distributed under
the Apache License Version 2.0transit-python is Copyright © 2014-2016 Cognitect and Distributed
under the Apache License Version 2.0
Package: python-stitch-data
Stitch-API-pythonPython wrapper for Stitch Data APIInstallationpip install python-stitch-data==0.1.7Getting startedCreate secrets filecp  .env.example .envFill in secrets (or use environment variables)STITCH_API_KEYstitch app > account settings.  Used for public API callsSTITCH_CLIENT_IDstitch app > account settings.  Used for public API callsSTITCH_AUTH_USERUsed for internal api callsSTITCH_AUTH_PASSWORDUsed for internal api callsSTITCH_BLACKILST_SOURCESTo mitigate the risk of resetting a large table it can be desirable to add sources/streams to explicit blacklistUsageimport stitch_api

stitch = stitch_api.StitchAPI(STITCH_API_KEY,
                              STITCH_CLIENT_ID,
                              STITCH_AUTH_USER,
                              STITCH_AUTH_PASSWORD,
                              STITCH_BLACKLIST_SOURCES)

sources = stitch.list_sources()CLIstitchapi pause-source --source <SOURCE_NAME>
Package: python-stk
stkToolkit for 3D volume processingBuildmkdirbuild&&cdbuild
cmake..
makeCMake options:STK_BUILD_EXAMPLES: build example programsSTK_BUILD_TESTS: build testsSTK_USE_CUDA: build with CUDA supportSTK_WARNINGS_ARE_ERRORS: compilation will fail on warningsSTK_BUILD_WITH_DEBUG_INFO: include debug symbols in the binariesSTK_ENABLE_FAST_MATH: enable unsafe (non IEEE 754-compliant) optimisationsSTK_LOGGING_PREFIX_FILE: add the file name as prefix to each log messageWhen building withSTK_USE_CUDA, in case the version ofgccselected by
CMake was not compatible with the one required by CUDA, it is possible to
specify a different executable with-DCMAKE_CUDA_FLAGS="-ccbin gcc-XX", wheregcc-XXis a version ofgcccompatible with your CUDA version.Python APIA minimalistic Python API is also provided.Installpythonsetup.pyinstallExample usageimportstkimportnumpyasnp# Create volume directly from numpyvol=stk.Volume(np.zeros((5,5,5)).astype(np.float32),spacing=(2,2,2))# or read volume from filevol=stk.read_volume('test.nrrd')# Modify data (numpy array points to the volume data)data=np.array(vol,copy=False)data[0:10]=0.0# Access meta datavol.origin=(2,2,2)vol.spacing=(3,3,3)# Write volumestk.write_volume('test-out.nrrd',vol)
Package: python-stopwatch2
Python Stopwatch 2 ⏱️This is a fork frompython-stopwatch, which adds static typing and a few other things.📥 Installation and usageThis package requires python 3.7 or higher.
You'll find installation instructions and full documentation onhttps://stopwatch2.vercel.app.⚠️ TestingRun the tests with:poetryruntasktest✒️ ChangelogPlease seeCHANGELOGfor detailed changes for each release.📝 ContributingPlease seeCONTRIBUTINGfor details.📑 LicenseMITCopyright (c) 2021-2022 Jonghwan Hyeon, 2022-present Rafael
Package: python-storage-timeline-ta-indicators
python_storage_timeline_ta_indicatorsThis library reads, cleans and sorts data acquired from web database.
Values in a storage expected to be in a json format with a following structure:{"time":1684968241256,"value":"{\"r\":[49208.040463174424,730195614842.3989]}"}Class data aggregation takes link as an argument to create instance of a database. The data from the database could be updated manualy viaupdatefunction.To calculate ta indicators functionprint_indicatorsshould be used that takes next arguments:timein "2D", "4S" or "W" format that denotes length of even interwals time series will be divided.lengthtakes int input and stands for number of intervals that will be used to calculate the indicator.indicatorstakes one (or multiple) of 'RSI', 'STOCH', 'STOCHRSI', 'ADX', 'MACD', 'WILLIAMS', 'CCI', 'ATR', 'HIGHLOW', 'ULTOSC', 'ULTOSC', 'ROC', 'MA'. If is None
calculates all of listed.IMPORTANTSome indicators require additional arguments. They should be added toprint_indicatorsfunction with names used inta-lib.CODE EXAMPLEfrom dataaggregation.aggregation import data_aggregation

my_data = data_aggregation('thelinkgoeshere')
my_data.get_data()
my_data.print_indicators('D', length = 14, smooth_step=6, indicators = ['RSI'])Anomaly detectionShould only be used with a great understanding of features of data it was trained on. Works best on a volatile time series with high liquidity.CODE EXAMPLEfrom dataaggregation.aggregation import lstm_anomaly_detection

anms = lstm_anomaly_detection(url = 'thelinkgoeshere')
anms.detect_anomalies(threshold=1.25)Output example####NOW AVALIABLE ON PIP!pip install python_storage_timeline_ta_indicators
Package: python-storyboardclient
Python Client library for StoryBoardThis is the StoryBoard python client! It lets you interact with
StoryBoard from the comfort of your own terminal! There is no
command to run this; instead you can import it into scripts. This
lets you perform complex actions on things in StoryBoard, eg: add an
helpful comment on all stories with ‘cannot store contact information’
in the description, pointing users at the relevant docs, but only
if there is no comment to this effect already. (There is an example
of such a script in the documentation.)Happy task-tracking!Free software: Apache licenseDocumentation:http://docs.openstack.org/infra/storyboard/Source:http://git.openstack.org/cgit/openstack-infra/python-storyboardclientBugs:https://storyboard.openstack.org/#!/project/755
Package: python-strategies-breezeconnect
UAT  python_strategiesSteps to install Strategy Library for UATpipinstallpython_strategies_breezeconnect==4.0code usagefrompython_strategiesimportStrategiesasyncdefmain():obj=Strategies(app_key="your app key",secret_key="your secret key",api_session="your api session",max_profit="your max profit",max_loss="your max loss")awaitobj.long_straddle(stock_code="NIFTY",strike_price="18700",qty="50",expiry_date="2023-06-15T06:00:00.000Z",exchange_code="NFO")awaitmain()
Package: python-streak
StreakCreate github or gitlab streaks with this simple script.Install$pipinstallpython-streakUsageAfter installing streak, simply create an new git repository and run streak:$gitinit
$streakNow push this repository to github or gitlab et voià!By default streak will create 3 commits per day with a probability of ~71% per
commit for 100 years, starting from 1980-05-09. These parameters can be tuned
with:--start START: Beginning of the commits (Format: YYYY-MM-DD)--end END: End of the commits (Format: YYYY-MM-DD)--max MAX: Maximum number of commits per day.--proba PROBA: Probability for a commit to happen.