Saravanan666/pypi-org huggingface dataset:
Package: terraware-devices
Terraware device manager codeThis code provides local on-site monitoring and control software for Terraformation hardware systems (seed banks, power generation, desalination, irrigation, etc.).InstallationTo install the latest release:pip install terraware-devicesTo install a local copy of this repo as a dependency in another project:pip install -e /path/to/terraware-devicesTo install dependencies to work on the code locally:pip install -e .PackagingRunmake packageto package the code for public distribution.If you are a maintainer of the package on PyPI, runmake uploadto upload it (this will domake packageautomatically).To upload to the test PyPI instance, runmake REPOSITORY=testpypi upload.
Package: terregex
TerregexTerregex is structural regex transformation library.InstallationYou can install this library viaPyPI.pip install terregexGetting StartedfromterregeximportTransformer,Literaltrans=Transformer()@trans.add_rule()deftransform_literal(node:Literal):node.string=node.string.lower()trans('(Foo|Bar)+')# => '(foo|bar)+'
Package: terrier
## TerrierTerrier is a helper for Terraform remote configuration. It allows `terraform remote` configurations to be stored in a JSON file and used between developers reliably. Currently Terraform doesn't support meta-configuration of itself or its remotes. This makes usage of `terraform remote` problematic as lengthy commands need to remembered or be disseminated through a `README` or other error prone methods.## Usage### Define a `terrier.json` configuration file```{"qa": {"remote": {"backend": "S3","config": {"bucket": "foo-qa-bucket","key": "foo-qa.tfstate","region": "us-west-1"}}}}```The top level key provides the name of an environment, `qa` in the following example. Keys generally map to `terraform remote config` arguments. Keys and values defined under `config` will be passed through as `-backend-config` arguments.### Run `terrier remote <environment>`The example above would be called with`terrier remote qa`and would generate and execute the following `terraform remote` command`terraform remote config -backend=S3 -backend-config="bucket=foo-qa-bucket" -backend-config="key=foo-qa.tfstate" -backend-config="region=us-west-1"`### Continue with `terraform remote``terrier` only handles configuration of multiple `terraform` remotes. Once run and a remote configured, one should carry on using vanilla `terraform remote pull` and `push` commands.
Package: terrorform
terrorformPython wrapper forTerraformPurposeThis library provides a thin wrapper around the Terraform build tool. Existing libraries for the same purpose were
either more complicated than what I needed or defunct. The nameterrorformwas chosen because every other name I
could think of was being squatted on in PyPi.Package Installation and UsageThe package is available onPyPi:python-mpipinstallterrorformThe library can be imported in the normal ways:importterrorformfromterrorformimport*ExamplesThis library supportsinit,apply, anddestroyworkflows:fromterrorformimport*# Run full setup/teardown workflow with target directory equal to current working directoryinit_resp=terrorform.init()apply_resp=terrorform.apply()destroy_resp=terrorform.destroy()The library also supports top level synonyms, allowing the same workflows to be run without
referencing theterrorformclass:fromterrorformimport*init_resp=init()apply_resp=apply()destroy_resp=destroy()Keyword arguments, boolean flags, and custom variables are passed to each workflow. No checking
is performed to ensure that they are valid terraform CLI options. These parameters are split into
three categories: keyword arguments, boolean flags, and custom variables:apply_resp=terrorform.apply(# Terraform-specific keyword args, both global and non-globalkw_args={"-chdir":"/tmp/terrorform/"},# Terraform-specific boolean flagsboolean_flags=["-no-color"],# Custom variables required by your terraform scriptsvars_dict={"my_custom_variable":"Hello"})TestingTests are run usingpytest:python-mpytesttests.py
Package: terrys_toolbox
terrys-toolboxA toolbox package to hold various tools with utility beyond a single repo.Github repository:https://github.com/tlg7c5/terrys-toolbox/Documentationhttps://tlg7c5.github.io/terrys-toolbox/Getting started with your projectFirst, create a repository on GitHub with the same name as this project, and then run the following commands:gitinit-bmain
gitadd.
gitcommit-m"init commit"gitremoteaddorigingit@github.com:tlg7c5/terrys-toolbox.git
gitpush-uoriginmainFinally, install the environment and the pre-commit hooks withmakeinstallYou are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.To finalize the set-up for publishing to PyPi or Artifactory, seehere.
For activating the automatic documentation with MkDocs, seehere.
To enable the code coverage reports, seehere.Releasing a new versionCreate an API Token onPypi.Add the API Token to your projects secrets with the namePYPI_TOKENby visitingthis page.Create anew releaseon Github.Create a new tag in the form*.*.*.For more details, seehere.Repository initiated withfpgmaas/cookiecutter-poetry.
Package: tes
# teshttps://pypi.org/project/tes/Tes stands for Tool for Elasticsearch. Tes is a command-line tool based onpython elasticsearch APIs. Following are the various subtools under tes
which can be used to invoke different kinds of elasticsearch APIs.tes:cat is used to invoke cat api calls like count, allocation, health e.t.c.tes:cluster is used to make api calls to elasticsearch cluster like stats e.t.c.tes:node is used to make Node client api calls like info, stats e.t.c.
Package: tes3stitch
tes3stitchA small command line utility to stitch together the .bmp images created by the CreateMaps console command inThe Elder Scrolls III: Morrowind.CreateMapsgenerates a large set of 256x256 pixel .bmp images of all exterior cells in the Morrowind/Maps folder. This Python 3 utility leverages thepillowlibrary to stitch the individual files into a single image according to their coordinates.Using command line arguments, you can specify the folder where the .bmp files are located, the output path/filename and file type, the size per each cell (which controls the resulting size and resolution of the output file) and the background color (if any).The approach was inspired by theMWMOD-CreateMaps Assembly Scriptby Seneca73, Atrayonis and mort.Installing and usageRead the short UESPguide to CreateMapsand run the command in Morrowind.exe, ensuring that the .bmp files are generated.Install Python 3on your computer, if not already present. Make sure it is of version 3.6 or later. The Python distribution should come packaged with PyPI.Open a terminal (e.g., "cmd.exe" on Windows) and typepython3 -m pip install tes3stitch.Change your working directory to theMapsdirectory under your main Morrowind install directory and runpython3 -m tes3stitch. Alternatively, run the script in whichever directory and specify the path to theMapsdirectory using the-poption.Find the finished map in the same folder, under the name ofCellExport.png(by default).For configuration options, runpython3 -m tes3stitch -hon the terminal.Future ideasProvide a GUI with configuration options.
Package: tes-client
TES-cliThis repository contains aBravado-based client for amodifiedversion of
theTask Execution ServiceAPI schema of theGlobal Alliance for Genomics and
Health, as described in themock-TESrepository. The client was developed for
the use within theTEStributetask distribution logic application.UsageTo use the client import it as follows in your Python code afterinstallation:importtes_clientclient=tes_client.Client("http://localhost:9001/ga4gh/tes/v1/")It is possible to supply a Bearer token, which will then be added to theAuthenticationheader (prepended byBearer) for every outbound call:client=tes_client.Client(url="https://path.to/swagger.json",jwt="SomET0kEn")Note that the indicated URL is valid whenmock-TESwas installed at the
default location on your local machine. When a different TES instance is
supposed to be used, replace the full URL (includinghttp://orhttps://).Access themock-TESPOST /tasks/task-infoendpoint with, e.g.:response=client.getTaskInfo(cpu_cores=4,ram_gb=8,disk_gb=100,execution_time_min=10,)Access themock-TESPOST /update-configendpoint with, e.g.:response=client.updateTaskInfoConfig(currency="USD",time_unit="MINUTES",unit_costs={"cpu_usage":1,"memory_consumption":4,"data_storage":10,"data_transfer":20,},)Note that the original TES endpoints are currently not implemented.InstallationYou can installTES-cliin one of two ways:Manual installationgitclonehttps://github.com/elixir-europe/TES-cli.gitcdTES-cli
pythonsetup.pyinstallInstallation via package managerpipinstalldrs_clientor (for development version)pipinstall-egit+https://github.com/elixir-europe/TES-cli.git#egg=tes_clientContributingThis project is a community effort and lives off your contributions, be it in
the form of bug reports, feature requests, discussions, or fixes and other code
changes. Please read thecontributing guidelinesif you want to contribute.
And please mind thecode of conductfor all interactions with the community.VersioningDevelopment of the app is currently still in alpha stage, and current versioning
is for internal use only. In the future, we are aiming to adoptsemantic
versioningthat is synchronized to the versioning ofTEStributeandmock-TESin order to ensure that these apps will be compatible as long as both
their major and minor versions match.LicenseThis project is covered by theApache License 2.0also availableshipped
with this repository.ContactPlease contact theproject leaderfor
inquiries, proposals, questions etc. that are not covered by theContributingsection.AcknowledgmentsThe project is a collaborative effort under the umbrella of theELIXIR Cloud
and AAIgroup. It was started during the2019 Google Summer of Codeas part
of theGlobal Alliance for Genomics and Healthorganization.
Package: tesdaq
tesdaqRedis-based control of DAQ devices and the Pyle Lab's data analysis pipeline.InstallationThis project is installable via pypi. Simply typepip install tesdaqand you should be good to go.Alternately, clone this repository usinggit clone https://github.com/ucbpylegroup/tesdaq.Getting StartedDocumentationCurrently in progress. It should be stored in the doc/ file of this repository.
There will also be a mirror at connorduncan.xyz sometime today.
Package: tes-gan
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildUpload to pypitwine upload dist/*Referenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: tesla-api
Tesla APIThis is a package for connecting to the Tesla API.Usage for a vehicleimportasynciofromtesla_apiimportTeslaApiClientasyncdefmain():client=TeslaApiClient('your@email.com','yourPassword')vehicles=awaitclient.list_vehicles()forvinvehicles:print(v.vin)awaitv.controls.flash_lights()asyncio.run(main())Usage for Powerwall 2importasynciofromtesla_apiimportTeslaApiClientasyncdefmain():client=TeslaApiClient('your@email.com','yourPassword')energy_sites=awaitclient.list_energy_sites()print("Number of energy sites =%d"%(len(energy_sites)))assert(len(energy_sites)==1)reserve=awaitenergy_sites[0].get_backup_reserve_percent()print("Backup reserve percent =%d"%(reserve))print("Increment backup reserve percent")awaitenergy_sites[0].set_backup_reserve_percent(reserve+1)asyncio.run(main())
Package: teslacam
teslacamTesla CameraThis is a very simple python 3 script to help me consolidate my Tesla's raw camera data into nicely formatted videos.  It tries to maintain the same resolution as the original with the same video quality by default.This also makes use of nvidia video card GPUs to accelerate encoding.Installation:Download FFMpeg here:https://ffmpeg.org/download.htmlRun:python -m pip install teslacamCommand line usagepython -m teslacam --helpusage: teslacam [-h] [--codec {hevc_nvenc,libx265}] [--preset PRESET] [--reduce REDUCE] [--layout {pyramid,tall_diamond,short_diamond,cross}] [--keep_temp_folder KEEP_TEMP_FOLDER] [--log_level {debug,info,warning,error,critical,none}]
                ffprobe_file_path ffmpeg_file_path input_folder_path output_folder_path

positional arguments:
  ffprobe_file_path     Path to the ffprobe binary
  ffmpeg_file_path      Path to the ffmpeg binary
  input_folder_path     Path to the video folder containing timestamped folders
  output_folder_path    Path to the output folder containing both merged files and the temporary work folder

optional arguments:
  -h, --help            show this help message and exit
  --codec {hevc_nvenc,libx265}
                        Codec to use for encoding (default: hevc_nvenc)
  --preset PRESET       Codec's preset to use for encoding. See ffmpeg -h long for each codec's available presets (default: slow)
  --reduce REDUCE       Percent to reduce video to (default: 100)
  --layout {pyramid,tall_diamond,short_diamond,cross}
                        Camera layout (default: pyramid)
  --keep_temp_folder KEEP_TEMP_FOLDER
                        Keep temporary working folder after extraction (default: False)
  --log_level {debug,info,warning,error,critical,none}
                        Display log messages that matches or exceeds the severity of the specified level. Use "none" to disable messages (default: info)API Usageimport teslacam
from teslacam import *

def main():
  print(f"Available layouts: {', '.join(teslacam.constants.LAYOUT.keys())}")
  print(f'Available codecs: {teslacam.constants.CODEC_OPTIONS.items()}')
  extract_videos(
    FFMpegPaths(
      r'some_ffmpeg_path\ffprobe.exe', # path to ffprobe
      r'some_ffmpeg_path\ffmpeg.exe'   # path to ffmpeg
    ),
    LayoutOptions(
      'hevc_nvenc', # Codec name
      'fast',       # Codec preset
      'pyramid',    # Layout name
      DONT_REDUCE   # Percentage value from 1-100 (or DONT_REDUCE constant)
    ),
    BaseFolderPaths(
      r'g:\TeslaCam\SentryClips',   # Path to your USB stick
      r'c:\users\user\videos\tesla' # Destination path
    ),
    True  # Keep temporary working folder
  )

if __name__ == '__main__':
  main()
Package: tesla-ce
TeSLA CE Core System:warning: This repository isunder construction. Final release of TeSLA Community Edition source code is expected by theend of 2021DescriptionDescription: A description of your project follows. A good description is clear, short, and to the point. Describe the importance of your project, and what it does.InstallationInstallation: Installation is the next section in an effective README. Tell other users how to install your project locally. Optionally, include a gif to make the process even more clear for other people.UsageUsage: The next section is usage, in which you instruct other people on how to use your project after they’ve installed it. This would also be a good place to include screenshots of your project in action.ContributingContributing: Larger projects often have sections on contributing to their project, in which contribution instructions are outlined. Sometimes, this is a separate file. If you have specific contribution preferences, explain them so that other developers know how to best contribute to your work. To learn more about how to help others contribute, check out the guide for setting guidelines for repository contributors.CreditsCredits: Include a section for credits in order to highlight and link to the authors of your project.LicenseThis project is licensed underAGPL v3 licence.
Package: tesla-ce-client
TeSLA CE Python Client:warning: This repository isunder construction. Final release of TeSLA Community Edition source code is expected by theend of 2021DescriptionDescription: A description of your project follows. A good description is clear, short, and to the point. Describe the importance of your project, and what it does.InstallationInstallation: Installation is the next section in an effective README. Tell other users how to install your project locally. Optionally, include a gif to make the process even more clear for other people.UsageUsage: The next section is usage, in which you instruct other people on how to use your project after they’ve installed it. This would also be a good place to include screenshots of your project in action.ContributingContributing: Larger projects often have sections on contributing to their project, in which contribution instructions are outlined. Sometimes, this is a separate file. If you have specific contribution preferences, explain them so that other developers know how to best contribute to your work. To learn more about how to help others contribute, check out the guide for setting guidelines for repository contributors.CreditsCredits: Include a section for credits in order to highlight and link to the authors of your project.LicenseThis project is licensed underAGPL v3 licence.
Package: tesla-ce-provider
TeSLA CE Providers Python SDK:warning: This repository isunder construction. Final release of TeSLA Community Edition source code is expected by theend of 2021DescriptionDescription: A description of your project follows. A good description is clear, short, and to the point. Describe the importance of your project, and what it does.InstallationInstallation: Installation is the next section in an effective README. Tell other users how to install your project locally. Optionally, include a gif to make the process even more clear for other people.UsageUsage: The next section is usage, in which you instruct other people on how to use your project after they’ve installed it. This would also be a good place to include screenshots of your project in action.ContributingContributing: Larger projects often have sections on contributing to their project, in which contribution instructions are outlined. Sometimes, this is a separate file. If you have specific contribution preferences, explain them so that other developers know how to best contribute to your work. To learn more about how to help others contribute, check out the guide for setting guidelines for repository contributors.CreditsCredits: Include a section for credits in order to highlight and link to the authors of your project.LicenseThis project is licensed underAGPL v3 licence.
Package: tesla-ce-provider-fr-tfr
TFR: TeSLA CE Face Recognition provider:warning: This repository isunder construction. Final release of TeSLA Community Edition source code is expected by theend of 2021DescriptionDescription: A description of your project follows. A good description is clear, short, and to the point. Describe the importance of your project, and what it does.InstallationInstallation: Installation is the next section in an effective README. Tell other users how to install your project locally. Optionally, include a gif to make the process even more clear for other people.UsageUsage: The next section is usage, in which you instruct other people on how to use your project after they’ve installed it. This would also be a good place to include screenshots of your project in action.ContributingContributing: Larger projects often have sections on contributing to their project, in which contribution instructions are outlined. Sometimes, this is a separate file. If you have specific contribution preferences, explain them so that other developers know how to best contribute to your work. To learn more about how to help others contribute, check out the guide for setting guidelines for repository contributors.CreditsCredits: Include a section for credits in order to highlight and link to the authors of your project.LicenseThis project is licensed underAGPL v3 licence.
Package: tesla-ce-provider-ks-tks
TKS: TeSLA CE Keystroke Dynamics Recognition provider:warning: This repository isunder construction. Final release of TeSLA Community Edition source code is expected by theend of 2021DescriptionDescription: A description of your project follows. A good description is clear, short, and to the point. Describe the importance of your project, and what it does.InstallationInstallation: Installation is the next section in an effective README. Tell other users how to install your project locally. Optionally, include a gif to make the process even more clear for other people.UsageUsage: The next section is usage, in which you instruct other people on how to use your project after they’ve installed it. This would also be a good place to include screenshots of your project in action.ContributingContributing: Larger projects often have sections on contributing to their project, in which contribution instructions are outlined. Sometimes, this is a separate file. If you have specific contribution preferences, explain them so that other developers know how to best contribute to your work. To learn more about how to help others contribute, check out the guide for setting guidelines for repository contributors.CreditsCredits: Include a section for credits in order to highlight and link to the authors of your project.LicenseThis project is licensed underAGPL v3 licence.