Saravanan666/pypi-org huggingface dataset:
Package: shipper-shippy
shippyClient-side tool to interface with shipperUsageGet shippy from PyPI:pip3install--upgradeshipper-shippyGo to the directory with build files, and run:shippyRunshippy -hto see commandline arguments' usage instructions.Configurationshippy stores its configuration in~/.shippy.ini. An example configuration file is shown below:[shippy]server=https://example.comtoken=a1b2c3d4e5...DisableBuildOnUpload=falseUploadWithoutPrompt=falsedebug=falseConfiguration options explained:serverServer URLtokenToken used to sign in to the serverDisableBuildOnUploadImmediately disables the build after uploading it. Useful if you are uploading from Jenkins or uploading potentially
unstable builds. Do NOT use under normal circumstances!UploadWithoutPromptshippy will not prompt you before uploading builds, and will automatically upload all builds found in the current
directory. Use with caution. Same as the-y/--yesflag shown above.debugEnable debug mode for all invocations. When set to true, the-d/--debugflag will have no effect, and all
invocations of shippy will run with debug mode enabled.
Package: shipping
Shipping :ship:Cli utility for deploying packages.IdeaTo simplify the process of deploying packages on different servers and in different ways. Currently there is support for deploying packages in conda environments, however it is being built with other methods such as containers, poetry etc in mind.There are two configs in use, one is to describe the host environment and the other will hold specific instructions for a package.All suggestions are welcome.Example usage$cat configs/server1/prod.yaml
---
hostname: computer1
log_file: /logs/production_deploy_log.txt


$cat configs/server1/scout_production.yaml
---
tool: scout
env_name: P_scout
deploy_method: pip

$shipping --host-info configs/server1/prod.yaml deploy --config configs/server1/scout_production.yamlThis command will deploy the toolscoutinto the conda environmentP_scouton the servercomputer1and log who deployed what version and when.There will be different use cases where the deployment process involves restarting a server or installing dependencies withyarnetc that we will support.
Package: shippinglabel
Utilities for handling packages.DocsTestsPyPIAnacondaActivityQAOtherInstallationshippinglabelcan be installed from PyPI or Anaconda.To install withpip:$python-mpipinstallshippinglabelTo install withconda:$condainstall-cconda-forgeshippinglabelshippinglabelincludes a vendored copy oftrove-classifiers.
If you install a newer version oftrove-classifierswith pipshippinglabelwill use that version instead.
Package: shippinglabel-conda
Shippinglabel extension with utilities conda packages.TestsPyPIAnacondaActivityQAOtherInstallationshippinglabel-condacan be installed from PyPI or Anaconda.To install withpip:$python-mpipinstallshippinglabel-condaTo install withconda:First add the required channels$condaconfig--addchannelshttps://conda.anaconda.org/conda-forge$condaconfig--addchannelshttps://conda.anaconda.org/domdfcodingThen install$condainstallshippinglabel-conda
Package: shippinglabel-pypi
Shippinglabel extension for interacting with PyPI.TestsPyPIAnacondaActivityQAOtherInstallationshippinglabel-pypican be installed from PyPI or Anaconda.To install withpip:$python-mpipinstallshippinglabel-pypiTo install withconda:First add the required channels$condaconfig--addchannelshttps://conda.anaconda.org/conda-forge$condaconfig--addchannelshttps://conda.anaconda.org/domdfcodingThen install$condainstallshippinglabel-pypi
Package: ships
Bravo!  You have received a Medical Diploma in Ships fromthe Orbital Convergence University International Air and Water Embassy of the Tangerine Planet.You are now officially certified to include "ships" in your practice.shipsdescriptionThis is a kit of python3 modules.install[ZSH] pip install shipscheck equality`[xonsh] ships check-equality --dir-1 {dir 1} --dir-2 {dir 2}
Package: shipspy
shipspy: ship campaign data processing and standardisationWith shipspy, data from ship campaigns can be processed and standardised. A number of instruments are included.SetupInstall shipspy:pip install shipspyUsing shipspyThe following processing options are available.DShipWith the dship subcommand, data from the ship integrated system can be processed. For an exemplary order to download underway data, see [1]. The following steps are done:Fixing time stampsAveraging to minutely time stampsRemoving unphysical valuesRenaming variables, changing units, and adding attributesConverting to netCDFTo process dship data runshipspy dship -i <input file> -o <output file> -a <attribute dictionary> -s <ship>withinput file: downloaded data from BSH or GEOMAR (or directly from the ship) as txt or dat file with unix time stamp (seconds since 1970-01-01)output file: file name of netCDF output fileattribute dictionary: yaml dictionary with variable names and attribute. For example dictionaries for the different research vessels seerv_informationship: name of the ship. Options areMerian,Sonne, andMeteorRenamingThe rename command can be used tofix the time stampsrename variables and add attributesconvert units to SIremove unphysical valuesConvert and save the file as netCDFTo rename a data file runshipspy rename -i <input file> -o <output file> -a <attribute dictionary> -d <instrument>withinput file: input file, file format depends on the instrumentoutput file: file name of netCDF output fileattribute dictionary: yaml dictionary with variable names and attribute. For examples see[1]instrument: instrument name. Options arecalitoo,ceilometer,ctd,hatpro,microtops,radiosondes,test,uavSectionsThe section command adds a new coordinate and specifies the time period of the campaign. To use it runshipspy section -i <input file> -o <output file> -s <section file> -t <time dimension name> -a <global attribute dictionary>withinput file: input netCDF fileoutput file: file name of netCDF output filesection file: txt file specifying the campaign dates (start, end, break) and the sections in which it should be divided. For an example, see[1].time dimension name: name of the time dimension. Default istimebut sometimes it can be something likestart_time.global attribute dictionary: yaml file with global attributes if wanted. For example files see[1].Therepository [1]with the settings for the ARC and additional scripts can serve as a template.References[1] Köhler, L. (2023). ARC: Processing of atmospheric and oceanographic measurements (Version v1.0.0) [Computer software].https://github.com/LauraKoehler/arc_processing
Package: shipthisapi-python
ShipthisAPI PythonA Python wrapper package for ShipthisAPI for making api calls using python.FeaturesDemo setup withdemo.pySimple Step API calls.QuickstartInstall the latestshipthisapi-pythonif you haven't installed it yet.pip install shipthisapi-pythonGenerate a API Key For your OrganisationfromShipthisAPI.shipthisapiimportShipthisAPIx_api_key='<your_api_key>'organisation='demo'region_id='<your_region_id>'location_id='<your_location_id>'shipthisapi=ShipthisAPI(organisation=organisation,x_api_key=x_api_key,region_id=region_id,location_id=location_id)# Get Organisation/User Infoprint(shipthisapi.info())# Get Invoice Collection Listprint(shipthisapi.get_list(collection_name='invoice'))DocumentationFor more details related to available fields and operations check ourdeveloper portalAvailable OperationsGet Organisation / User InformationCreate New Collection EntryUpdate CollectionGet Collection ItemsDelete an existing collection itemSupportIf you have any queries related to usage of the api please raise a issuehere
Package: shipwreck
This is a package that has useful machine vision for use with CarsCHANGE LOGRELEASE 10.0.0.1  (7/27/2021)First Release\RELEASE 20.0.0.2 –> 7/27/2021Just wanted to test some things outreally didn’t don anything\-RELEASE 3
-0.0.0.3–> 7/27/2021
-Just wanted to test some things out
-really didn’t don anything
Package: shipyard-airbyte
shipyard-airbyteDescriptionA local client to trigger Airbyte syncs and check statuses of past jobsInstallationpython3 -m pip install shipyard-airbyteUsageEstablish the client by running the followingfromshipyard_airbyteimportAirbyteClientac=AirbyteClient(access_token='<your_api_token>')Trigger SyncsTo trigger a sync, you will need to provide the connector id to thetrigger_syncmethod, which will return the json response from the APIsync_response=ac.trigger_sync(connection_id='<your_connection_id>')print(sync_response)Sync StatusTo verify the status of a past sync, you will need thejobId. This can be found from the sync_response shown above:sync_response=ac.trigger_sync(connection_id='<your_connection_id>')job_id=sync_response['jobId']sync_status=ac.get_sync_status(job_id)print(sync_status)
Package: shipyard-bigquery
shipyard-bigqueryTheshipyard-bigqueryPython package is a local client for connecting to BigQuery to perform common operations such as loading and unloading data.Installationpython3-mpipinstallshipyard-bigqueryUsageTo initialize the client, provide the service account (in JSON format) as a string:importosfromshipyard_bigqueryimportBigQueryClientservice_account=os.getenv('GOOGLE_APPLICATION_CREDENTIALS')# in this case, service account is stored as an environment variableclient=BigQueryClient(service_account)client.connect()Upload a file to a table in BigQueryThe upload method allows for the loading of a local CSV file to BigQuery and supports two different types of upload:overwriteandappend.client.upload(file="my_file.csv",dataset="my_dataset",table="my_table",upload_type='overwrite')Additionally, a the schema of the file to be loaded can be decalred ahead of time, otherwise they will be inferedschema='[{"name": "string_col", "type": "string"}, {"name": "char_col", "type": "string"}, {"name": "int_col", "type": "Int64"}, {"name": "float_col", "type": "Float64"}, {"name": "bool_col", "type": "Bool"}, {"name": "date_col", "type": "Date"},{"name": "datetime_col", "type": "Datetime"}]'client.upload(file="my_file.csv",dataset="my_dataset",table="my_table",upload_type='overwrite',schema=schema)Fetch Query ResultsThe fetch method allows for the downloading of a SQL query to a pandas dataframedf=client.fetch('select * from my_table limit 10')Execute Remote QueriesThe execute method allows for you to execute queries without return values in BigQuery. Common operations would be dropping tables, deleting tables, or altering tablesclient.execute_query('drop table if exists my_table')
Package: shipyard-cli
:computer: CLI client for the Shipyard systemThis command-line application lets you interact easily with a Shipyard server
instance. For more information about the Shipyard system, please checkthe
server's repository.InstallationYou can install this tool by simply running:pipinstallshipyard-cliUsageBy default, the application looks for the server onlocalhost:8000. If the server
is running on another host or port, you need to change the configuration by running:shipyardconfigserver_url0.0.0.0
shipyardconfigserver_port8080Once the correct values are set, you can begin managing your nodes, tasks and
deployments using the various commands. For example, to list all the nodes
present in your system you can run:shipyardnodelsIf you only want to see the nodes that are currently running tasks, you need to
use the--activeflag.shipyardnodels--activeTasks can be added to the system by running:shipyardtaskaddTestName100010001000/path/to/tarfile# Or, if you need to specify some devicesshipyardtaskadd--device/dev/foo--device/dev/barTestName100010001000/path/to/tarfileDeploying tasks to nodes and removing them is as simple as using thecranecommand.# Names can be used instead of IDs tooshipyardcranedeploynode_idtask_id
shipyardcranermnode_idtask_id
Package: shipyard-coalesce
shipyard-coalesceDescriptionA local client to trigger Coalesce job's and check statuses of past runsInstallationpython3 -m pip install shipyard-coalesceUsageEstablish the client by running the followingfromshipyard_coalesceimportCoalesceClientclient=CoalesceClient(access_token='<your_access_token>')Trigger syncsThe following arguments are required for thetrigger_syncfunction:environment_idsnowflake_usernamesnowflake_passwordsnowflake_roleThe following arguments are optional:snowflake_warehouseinclude_nodes_selectorexclude_nodes_selectorparallelismjob_idresponse=client.trigger_sync(environment_id=environment_id,snowflake_username=snowflake_username,snowflake_password=snowflake_password,snowflake_role=snowflake_role)print(response)Sync StatusTo verify the sync status, you will need therunID, which is obtained in the response from thetrigger_syncmethod.run_id=response['runCounter']status=client.get_run_status(run_id)print(status.text)
Package: shipyard-hubspot
Shipyard Hubspot ClientOverviewThis is a client library for the Shipyard Hubspot API.Generating Access TokenIn your HubSpot account, click the settings icon in the main navigation bar.In the left sidebar menu, navigate to Integrations > Private Apps.Click Create private app.On the Basic Info tab, configure the details of your app:Enter your app's name.Hover over the placeholder logo and click the upload icon to upload a square image that will serve as the logo for your app.Enter a description for your app.Click the Scopes tab.Select the Read or Write checkbox for each scope you want your private app to be able to access. You can also search for a specific scope using the Find a scope search bar.After you're done configuring your app, click Create app in the top right.Finding List IDNavigate to Contacts > Lists, hover over the list in the table, then click Details. In the right panel, click Copy List ID next to the ILS List ID value. Contact lists have two different ID values, but you must use the ILS List ID value in your request.
Package: shipyard-jira
Shipyard JiraShipyard Jira is a Python library that provides a convenient interface for interacting with the Jira issue tracking system. It simplifies the process of managing Jira issues, allowing users to create, update, and query issues programmatically.Installationpipinstallshipyard-jiraCreate an API tokenCreate an API token from your Atlassian account:STEP 1.Log in tohttps://id.atlassian.com/manage-profile/security/api-tokens.STEP 2.Click Create API token.STEP 3.From the dialog that appears, enter a memorable and concise Label for your token and click Create.STEP 4.Click Copy to clipboard, then paste the token to your script, or elsewhere to save:NOTE:For security reasons it isn't possible to view the token after closing the creation dialog; if necessary, create a new token.You should store the token securely, just as for any password.
Package: shipyard-microsoft-power-bi
README for Shipyard Microsoft Power BI CLI ToolIntroductionThis CLI tool is designed to interact with the Microsoft Power BI REST API, providing a convenient command-line interface for automating tasks related to Power BI. It's part of the Shipyard integration suite and is intended for users who need to programmatically manage Power BI resources.RequirementsPython 3.xAccess to Microsoft Power BI REST API with valid credentials.InstallationTo install this tool, ensure Python 3.x is already installed and then use pip to install theshipyard-microsoft-power-bipackage:pipinstallshipyard-microsoft-power-biUsageThe tool is run from the command line and requires several arguments to authenticate and specify the actions to be performed.AuthenticationThe tool requires a service principal to authenticate with the Power BI REST API. The service principal must be created in Azure Active Directory and have read/write permissions to the tenant's Power BI resources. The service principal must also be added to the Power BI workspace as a member.The following environment variables must be set to authenticate with the Power BI REST API:MICROSOFT_POWER_BI_CLIENT_ID: The client ID of the service principal.MICROSOFT_POWER_BI_CLIENT_SECRET: The client secret of the service principal.Service Principal CreationMicrosoft documentation.Step 1:Go to the Azure portal and search for App RegistrationStep 2:Click on New RegistrationStep 3:Fill in the FormApp Name: Shipyard Power BI (or whatever you want to call it)Supported Account Types: Accounts in this organizational directory onlyRedirect URI: Leave blankStep 4:Click RegisterStep 5:Copy the Application (client) ID and Directory (tenant) ID and save them somewhere.Step 6:Click on Certificates & SecretsStep 7:Click on New Client SecretStep 8:Fill in the FormDescription: Shipyard Power BI (or whatever you want to call it)Expires: 6 months(Recommended)Step 9:Click AddStep 10:Copy the Value of the Client Secret and save it somewhere.Step 11:Click on API PermissionsStep 12:Click on Add a PermissionStep 13:Click on Microsoft APIsStep 14:Click on Power BI ServiceStep 15:Click on Read/Write Tenant PermissionsStep 16:Click on Add PermissionsStep 17:Click on Grant Admin Consent forStep 18:Click on YesInviting Service Principal to Power BI WorkspaceMicrosoft documentationStep 1:Go to the Power BI WorkspaceStep 2:Click on AccessStep 3:Click on AddStep 4:Click on Add membersStep 5:Paste the Application (client) ID from the service principal creation stepStep 6:Click on AddStep 7:Click on Select a roleStep 8:Click on MemberStep 9:Click on ApplyStep 10:Click on AddStep 11:Click on DoneEnable the Power BI service admin settingsMicrosoft documentationStep 1:Go to the Power BI WorkspaceStep 2:Click on SettingsStep 3:Click on Admin portalStep 4:Click on Tenant settingsStep 5:Click on Developer settingsStep 6:Click on Allow service principals to use Power BI APIsStep 7:Click on Apply
Package: shipyard-rudderstack
Python3 - Shipyard Rudderstack Blueprints (shipyard-rudderstack)Simplified data pipeline blueprints for working with Rudderstack.Functions:trigger_syncdetermine_sync_statusget_source_dataExamplefromshipyard_rudderstackimportRudderStackrudderstack=RudderStack("<access-token>")# Trigger the rudderstackrudderstack.trigger_sync("<source-id>")# Check the statussource_response=rudderstack.get_source_data("<source-id>")print(source_response['status'])# Determine response status# Note: This is not recommended to be used for scripting. This is a utility function for the Shipyard applicationrudderstack.determine_sync_status(source_response,"<source-id>")
Package: shipyard-snowflake
shipyard-snowflakeTheshipyard-snowflakePython Package is a set of utility classes designed to streamline interactions with Snowflake, a cloud-based data warehousing platform. This package offers two main client classes,SnowflakeClientandSnowparkClient, each catering to different use cases and functionalities within the Snowflake ecosystem.Table of ContentsInstallationUsageSnowflakeClientSnowparkClientInstallationYou can installshipyard-snowflakeusingpip:python3-mpipinstallshipyard-snowflakeUsageSnowflakeClientThe SnowflakeClient class provides methods to interact with Snowflake using the Snowflake Python Connector. It supports functionalities such as authentication, data uploading, executing queries, and fetching results. Here's an example of how to use it:importpandasaspdfromshipyard_snowflakeimportSnowflakeClientfromshipyard_snowflake.utilsimportutils# Initialize the SnowflakeClient with credentialsclient=SnowflakeClient(username="your_username",pwd="your_password",account="your_account_id",warehouse="your_warehouse",database="your_database",schema="your_schema",rsa_key="your_rsa_key",# Optional, use either rsa_key or pwdrole="your_role")# Connect to Snowflakeclient.connect()Upload a file to Create or Replace a Table# Upload a csv to Snowflake to replace a table# create the table firstdata_types=utils.infer_schema(file_name="<file_path>")sql=client._create_table_sql(table_name="<table_name>",columns=data_types)client.create_table(sql)# load the file to the tableclient.upload(file_path="<file_path>",table_name="<table_name>",insert_method="replace")Upload a file to append to an existing tableclient.upload(file_path="<file_path>",table_name="<table_name>",insert_method="append")### Fetch the results of a query as a pandas dataframe```pythonquery="SELECT * FROM your_table_name"result_df=client.execute_query(query=query)Execute a Queryquery="DROP TABLE IF EXISTS SALES"result_df=client.fetch(query=query)Close the connection# Close the connectionclient.conn.close()SnowparkClientThe SnowparkClient class allows interaction with Snowflake using Snowpark, a modern data processing and scripting framework. It enables data upload and some query execution capabilities. Here's an example of how to use it:fromshipyard_snowflakeimportSnowparkClient# Initialize the SnowparkClient with credentialsclient=SnowparkClient(username="your_username",pwd="your_password",account="your_account_url",warehouse="your_warehouse",# optionaldatabase="your_database",# optionalschema="your_schema",# optionalrole="your_role"# optional)# Connect to Snowflake using Snowparksession=client.connect()# Upload a DataFrame to Snowflakeimportpandasaspddf=pd.DataFrame(...)# Your DataFrameclient.upload(session=session,df=df,table_name="your_table_name",overwrite=True# False for append)# Close the sessionsession.close()
Package: shipyard-urbit
ShipyardUrbit hosting and automation platform.Note: this is a Pre-Release package.  All changes will be breaking.  Wait for release 1.0.0 or later.Installpip install shipyard-urbitUsageshipyardTo use the application locally, runshipyard apiand visitlocalhost:8000.For multi-user production deploymenrs, or any other custom configuration, useshipyard gunicornpassing Gunicorn server options (Reference).  Omit thewsgi_appargument andworker_classoption as these are preconfigured by shipyard.ConfigurationSpecify the following environment vars to configure your application.  You may use a.envfile in the location whereshipyardis run.SHIPYARD_DATA_DIR- directory where SQLite database and other data will live, default:~/.shipyard/Override at runtime using the--data-diroption. Global command line options must come before the application command, example:shipyard --data-dir=mydir apiSHIPYARD_SQLITE_FILENAME- name of the db file within the data directory, default:shipyard.dbSHIPYARD_POSTGRES_URL- PostgreSQL connection string to override use of SQLite, default:NonePostgreSQL is only recommended for large multi-user deployments. You must create your database before connecting with shipyard like so:CREATE DATABASE shipyard;ThenSHIPYARD_POSTGRES_URLshould look something like this:postgresql://user:password@127.0.0.1:5432/shipyardAPI OverviewVisit [redacted] for full API Documentation.DevelopmentModulesshipyarddb.py- database engine for SQLite/PostreSQL application statemodels.py- types used throughout the projectsettings.py- system-wide settings and env varstasks.py- for running background jobs or long running processesshipyard.apiHTTP API built with FastAPI.shipyard.cliCommand-line interface built with Typer.shipyard.colonyHost setup and configuration using Ansible.shipyard.deployCreating and migrating Urbit ships within our host infrastructure.shipyard.envoyCommunication and direction of Urbit ships.shipyard.vigilMonitoring and alerting. WIP.LicenseThis project is licensed under Apache-2.0.  Code licensed from other projects will be clearly marked with the appropriate notice.
Package: shirah-reader
ShirahA terminal RSVP speed reader.Caution, early stage software.What is an RSVP reader?RSVP stands forRapid Serial Visual presentiation.
Its a controversial method to enable speedreading. I have been using this on my devices, and it has given me great results. I wanted to have an option to do this in the terminal too.
Ignore the haters, and try it for yourself.
Also, I don't like that the best options on a computer are paid softwares.UsageTo install, use eitherpip install shirah-reader==0.1.1orpip3 install shirah-reader==0.1.1To run a test, just entershirah.To read a book, and set a speed, entershirah -f <path/to/book> -s <speed>eg:shirah -f alice.epub -s 600GoalsRead txtRead epubsPauseSave progressProgress bar.Chapter-wise Navigation