Saravanan666/pypi-org huggingface dataset:
Package: tesla-ce-provider-pt-tpt
TeSLA CE Plagiarism Tool based on TPT: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-pt-urkund
TeSLA CE Plagiarism Tool based on URKUND: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: teslaclient
Tesla API wrapperInstallationUse the package managerpipto install TeslaClientpipinstallTeslaClientUsageImportTeslaClientt=TeslaClient('email','password')# instantiates the clientt.connect()# connects to the apiv=t.vehicle('vehicle name')# creates an vehicle object based on case sensitive namev.get_vehicle_data(*args)# accepts vehicle/climate/drive/charge_state or no parameter to collect all data. Loads data into a property dict of the same namev.send_vehicle_command(command,data={})# sends a command to vehicle, data parameter should contain any parameters required for command
Package: tesla-client
tesla_clientThis library allows access to the unofficial Tesla API for reading data and issuing commands to Tesla vehicles.Quick Startimport tesla_client


# Define an Account subclass of your own to provide an access_token
class MyTeslaAccount(tesla_client.Account):
    def get_access_token(self) -> str:
        return your_oauth_solution.get_up_to_date_access_token()


account = MyTeslaAccount()

# Access a vehicle in this account
vehicle = account.get_vehicles()[0]

# Fetch some data from the vehicle
vehicle.data_request('drive_state')

# Send a command to the vehicle
vehicle.command('honk_horn')The Tesla API is not officially supported by Tesla, Inc. It may stop working at any time. For detailed documentation of API commands, seehttps://tesla-api.timdorr.com/. Thanks to Tim Dorr for his work in documenting the unofficial API.Tesla, Inc. does not endorse or support this python library.Versions2.0.0Tesla removed support for grant_type=password. This version uses grant_type=authorization_code1.0.0grant_type=password
Package: tesla-fleet-api
Tesla Fleet ApiPython library for Tesla Fleet API and Teslemetry.Currently does not support the end to end encrypted telemetry or command API.Based onTesla Developer documentation.TeslaFleetApiThis is the base class, however can also be used directly if you have a valid user access_token.import asyncio
import aiohttp

from tesla_fleet_api import TeslaFleetApi
from tesla_fleet_api.exceptions import TeslaFleetError


async def main():
    async with aiohttp.ClientSession() as session:
        api = TeslaFleetApi(
            access_token="<access_token>",
            session=session,
            region="na",
            raise_for_status=True,
        )

        try:
            data = await api.vehicle.list()
            print(data)
        except TeslaFleetError as e:
            print(e)

asyncio.run(main())TeslaFleetOAuthThis extends TeslaFleetApi to support OAuth, and requires a client_id, and either a refresh_token or initial authentication code.from tesla_fleet_api import TeslaFleetOAuth
from tesla_fleet_api.exceptions import TeslaFleetError
import json

async def main():
    with open("auth.json", "r") as f:
        auth = json.load(f)
    async with aiohttp.ClientSession() as session:
        api = TeslaFleetOAuth(
            session,
            client_id=<client_id>,
            access_token=auth["access_token"],
            refresh_token=auth["refresh_token"],
            expires=auth["expires"],
            region="na",
            raise_for_status=True,
        )
        try:
            data = await api.vehicle.list()
            print(data)
        except TeslaFleetError as e:
            print(e)

    with open("auth.json", "w") as f:
        json.dump(
            {
                "access_token": api.access_token,
                "refresh_token": api.refresh_token,
                "expires": api.expires,
            },
            f,
        )

asyncio.run(main())TeslemetryThis extends TeslaFleetApi to send requests through Teslemetry, which manages all aspects of Tesla OAuth. This class only requires an access_token from the Teslemetry console.import asyncio
import aiohttp

from tesla_fleet_api import Teslemetry
from tesla_fleet_api.exceptions import TeslaFleetError


async def main():
    async with aiohttp.ClientSession() as session:
        api = Teslemetry(
            access_token="<access_token>",
            session=session,
            raise_for_status=True,
        )

        try:
            data = await api.vehicle.list()
            print(data)
        except TeslaFleetError as e:
            print(e)

asyncio.run(main())
Package: teslajsonpy
teslajsonpyAsync python module for Tesla API primarily for enabling Home-Assistant.CreditsOriginally inspired bythis code.Also thanks toTim Dorrfor documenting the API. Additional repo scaffolding fromsimplisafe-python.ContributingCheck for open features/bugsorinitiate a discussion on one.Fork the repository.Install the dev environment:make init.Enter the virtual environment:poetry shellCode your new feature or bug fix.Developers ReferenceWrite a test that covers your new functionality.UpdateREADME.mdwith any new documentation.Run tests and ensure 100% code coverage for your contribution:make coverageEnsure you have no linting errors:make lintEnsure you have typed your code correctly:make typingAdd yourself toAUTHORS.md.Submit apull request!DocumentationAPI docs.LicenseApache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0.
This code is provided as-is with no warranty. Use at your own risk.
Package: tesla-powerwall-controller
Tesla powerwall controller (Unofficial)Python wrapper around some of the basic powerwall api callsQuick start:Download fromPyPI:pipinstalltesla-powerwall-controllerUsage:fromtesla_powerwall_controllerimportPowerwallControllercontroller=PowerwallController("192.168.0.100")controller.get_battery_charge()>>"The battery is at 42 percent"controller.get_grid_power()>>"You are exporting 200 watts"
Package: tesla-powerwall-json-py
tesla-powerwall-json-pyPython module to access local Tesla Powerwall JSON APIhttps://github.com/piersdd/tesla-powerwall-json-pyNOTE: Tesla offer no official API to their Powerwall & Gateway; therefore, this library may well stop working at any time without warning.Written by Piers Dawson-DamerDescriptionPython interface to the local Tesla Powerwall Gateway API.Meter information: Battery, Grid, Load & SolarBattery state of chargeToggle the operation state from Charge to Discharge.Set reserve for backup/blackout event.Principlly developed to interface with the excellentHome Assistantprojecthttps://developers.home-assistant.io/enand a time series database such as InfluxDB.CreditsMany thanks to:
Vince Loschiavo for documenting the API (https://github.com/vloschiavo/powerwall2)Božo Stojković for his JSON-Python object code (https://stackoverflow.com/users/4936137/božo-stojković)LicenseApache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0.
This code is provided as-is with no warranty. Use at your own risk.
Package: teslasdk
Python TeslaSdkInstallationThis project has not yet been deployed.UsageHttp api clientfromtesla_sdk.client.web.web_clientimportWebClientclient=WebClient("YOUR_AUTH_KEY")response=client.vehicles.list(1,10)print(response.status_code)print(response.text)Api docshttps://developer.tesla.com/docs/fleet-api
Package: teslatoken
Simple tool to create tokens for Tesla cars.Written by Eric Fornstedt.Descriptionteslatokenis a tool for creating authorization tokens for Tesla Model S/X cars. This is useful to give access for 3rd party applications without giving away your username and password.The tool is intended to use as a stand alone tool rather than including the module in other python modules.InstallationThere are two ways to install the tool:Install with:§ pip install teslatokenorDownload the repositoryInstall the package with:§ python setup.py installUsage Example§ teslatoken-uyour.username@tesla.com-pyourpassword
Package: tesla-wall-connector
Python Tesla Wall Connector APIPython Tesla Wall Connector API for local consumption. This package allows you to monitor your 3rd generation Tesla Wall Connector programmatically. It is mainly created to enable integration with Home Assistant and threfore exposes an asynchronous API.Usageimportasynciofromtesla_wall_connectorimportWallConnectorasyncdefmain():asyncwithWallConnector('TeslaWallConnector_ABC123.localdomain')aswall_connector:lifetime=awaitwall_connector.async_get_lifetime()print("energy_wh:{}Wh".format(lifetime.energy_wh))asyncio.run(main())Setting up development environmentThis Python project is fully managed using the [Poetry][poetry] dependency
manager.You need at least:Python 3.8+[Poetry][poetry-install]To install all packages, including all development requirements:poetryinstallAs this repository uses the [pre-commit][pre-commit] framework, all changes
are linted and tested with each commit. You can run all checks and tests
manually, using the following command:poetryrunpre-commitrun--all-filesTo run the Python tests:poetryrunpytest
Package: teslemetry-stream
Teslemetry Stream Libraryasync def main():
    async with aiohttp.ClientSession() as session:
        stream = TeslemetryStream(
            token="<token>",
            vin="<vin>",
            session=session,
        )
        await stream.connect()
        print("Connected")

        async def callback(event):
            print(event)

        asyncio.create_task(self.listen(callback))

        await asyncio.sleep(20)
        await stream.close()
Package: tes-lib
tes-libThe Test Event Store Library assists in performing asynchronous testing of
complex systems by providing an ordered store of events which can then be queried.It aims to resolve timing issues and ordering issues that commonly occur in complex systems and
provide a single store to query when asserting the state of the system.The public docs are available athttps://lcaraccio.gitlab.io/tes-libTo raise issues or to contribute seehttps://gitlab.com/LCaraccio/tes-lib
Package: tesm
hello welcome to tesmInstructionsdownload pythonwrite the tesm codeensure python is installedrun the interpreter in the console withpython main.py tesm_file.tesmmake sure python is installedyou have now learnt how to use the most epicness languageand/or sinin the world, congratsnow you just have to make sure that you have python installedNotescompatibilty with anything that isn't Linux is not guaranteed
Package: teson-django-plans
Django-plans is a pluggable app for managing pricing plans with quotas and accounts expiration.Features currently supported:Multiple plans,Support for user custom plans.Flexible model for parametrizing plans (quota).Customizable billing periods (plan pricing),Order total calculation using customizable taxation policy (e.g. in EU calculating VAT based on seller/buyer countries and VIES)Invoicing,Account expiratons + E-mail remainders.Documentation:https://django-plans.readthedocs.org/Master branch: Support for Django +2.2, support for Python +3.6LicenseDjango Plans is licensed and distributed under MIT licesne..
Package: tesouro-direto
Set of tools to allow automated information recovery from your
“Tesouro Direto” account.InstallationConfigurationAvailable toolsEmail ReportConfiguring CrontabWork Days CalculationInstallationTo install the tool the easiest way is to use pip:pip install tesouro-diretoConfigurationHere is a sample configuration file:# The credentials to access the tesourodireto.bmfbovespa.com.br website.# This is necessary to the tool to get your information and send it to you.bmfbovespa:cpf:"00000000000"password:"secret"# SMTP settings for email sending. If port is not specified, the default# value is 25. Provide the username and password if necessary.smtp:server:"mail.mydomain.com"port:587username:"user"password:"secret"from:"me@mydomain.com"to:"you@yourdomain.com"Available toolsThe main goal of this module is to generate an email that keeps you updated
regarding your titles. It also aims to provide some numbers that you can
use to have a better idea of how your money is working for you.Email ReportThe email report allows you to have very in depth view of your titles. It
lists them based on the brokerage and them on the titles you have.Besides that it will provide the following information:Summaries of all your titles;Calculations about your title current situation.Here is a sample email screenshot:
(todo)Configuring CrontabYou can configurecrontabto call the program above. This way you can have
a automated email at the time and periodicity that you like.Work Days CalculationThere is a simple module that can calculate the amount of work days between
two dates based on Brazilian national holidays. You can use it in your
program if you like by importing the module.
Package: tesouro-investor
Tesouro Investor==============This project starts as simple buy alerts but intents to evolve as a general support tool for Tesouro Direto investors.Package 1 - Alerts: Create alerts to help you to monitor Tesouro Direto yield rates and to invest your money at the right time!Package 2 - Market Expectations (working): What to yield curves can tell us about market expectations regarding SELIC rates?Package 3 - Manage your Portfolio (working): How much money are you making? What are the best bonds for you to sell?Installation------------To install the tool the easiest way is to use pip::pip install tesouro-direto (not yet)Configuration-------------config.yml sample with e-mail credentials:.. code-block:: YAML# SMTP settings for email sending. If port is not specified, the default# value is 25. Provide the username and password if necessary.smtp:server: "mail.mydomain.com"port: 587username: "user"password: "secret"from: "me@mydomain.com"to: "you@yourdomain.com"Set up your alerts in a alerts.json file in the following format:.. code-block:: javascript{"alerts":[{"bound_name":"NTNB Princ","expiration":"2035", ##not used yet"yield":"7.5"},{"bound_name":"LTN","expiration":"2018", ##not used yet"yield":"16.6"}]}* Create DBUsage-------------Use cli interface to trigger aler command passing as arguments the `config.yml` and `alerts.json`tinvest alert config.yml alerts.jsonConfiguring Crontab (Linux)^^^^^^^^^^^^^^^^^^^You can configure crontab to call the program above. This way you can have a automated email at the time and periodicity that you like.Add to crontab with bash script* Run cron.sh to include default cronAdd manually using:* **Set up crontab:** crontab -e* **Show crontab:** crontab -l
Package: tes-reader
The Elder Scrolls Files ReaderA reader for The Elder Scrolls files.Minimal Example - Print the Number of Booksimport os
from tes_reader import ElderScrollsFileReader

game_folder = 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Skyrim Special Edition\\'

game_file_path = os.path.join(game_folder, 'Data', 'Skyrim.esm')

with ElderScrollsFileReader(game_file_path) as elder_scrolls_file:
    book_count = len(elder_scrolls_file['BOOK'])
    print(f"Skyrim.esm has {book_count} books in it.")Seethe GitHub pagefor more examples.Installationpip install tes-readerRequirementsPython 3.5+pip (Package manager for Python)WindowsAn Elder Scrolls Game - for example, Skyrim.Support and Future DevelopmentCurrently, I do not have any plans. I have a few example scripts that I have
used myself, I can add them from time to time. I could also containerize the
tests to make it easier to run them.Development and TestingClone from github usinggit clone git@github.com:sinan-ozel/tes-reader.gitInstall the requirements for development using the commandpip install -r requirements/dev.txt. I personally prefer using a virtualenv
to keep modules organized.To run the tests, you will need computer with Skyrim installed. Go into thetestsfolder. Set the configuration in thetest.inifile to point to the
Skyrim's executable folder (not the data folder). Finally, run the commandpy.test -v, while inside thetestsfolder.
Package: tess
A 3D cell-based Voronoi library based on voro++Code availableon Github.Full documentation availableat Read the Docs.DescriptionTess is a library to calculate Voronoi (and Laguerre) tessellations in 3D and analyze their
structure. The tessellation is calculated as alistofCellobjects, each of which
can give information on its volume, centroid, number of faces, surface area, etc. The library is
made with packings of spherical particles in mind, possibly with variable sizes.
Package: tessa-pretty-help
tessa-pretty-helpA fork of discord-pretty-help , Revised by prakarsh17An embed version of the built in help command for discord.py and probably other forks of discord.py ie Nextcord, Novus, pycord, etc.Inspired by the DefaultHelpCommand that discord.py uses, but revised for embeds and additional sorting on individual pages that can be "scrolled" through with reactions.Installationpip install tessa-pretty-helpUsageExample of how to use it:fromdiscord.extimportcommandsfrompretty_helpimportPrettyHelpbot=commands.Bot(command_prefix="!",help_command=PrettyHelp())Added Optional Argscolor- Set the default embed colorending_note- Set the footer of the embed. Ending notes are fed acommands.Context(ctx) and aPrettyHelp(help) instance for more advanced customization.index_title- Set the index page name default is"Categories"menu- set a custom menu for navigating pages. Uses apretty_help.PrettyMenu()instance. Default ispretty_help.DefaultMenu()no_category- Set the name of the page with commands not part of a category. Default is "No Category"sort_commands- Sort commands and categories alphabeticallyshow_index- Show the index page or notpretty_help.DefaultHelp argsactive_time- Set the time (in seconds) that the message will be active. Default is 30sdelete_after_timeout- Delete the message afteractive_timeinstead of removing reactions. DefaultFalsepage_left- The emoji to use to page leftpage_right- The emoji to use to page rightremove- The emoji to use to remove the help messageBy default, the help will just pick a random color on every invoke. You can change this using thecolorargument:fromdiscord.extimportcommandsfrompretty_helpimportDefaultMenu,PrettyHelp# ":discord:743511195197374563" is a custom discord emoji format. Adjust to match your own custom emoji.menu=DefaultMenu(page_left="\U0001F44D",page_right="👎",remove=":discord:743511195197374563",active_time=5)# Custom ending noteending_note="The ending note from{ctx.bot.user.name}\nFor command{help.clean_prefix}{help.invoked_with}"bot=commands.Bot(command_prefix="!")bot.help_command=PrettyHelp(menu=menu,ending_note=ending_note)The basichelpcommand will break commands up by cogs. Each cog will be a different page. Those pages can be navigated with
the arrow embeds. The message is unresponsive after 30s of no activity, it'll remove the reactions to let you know.Changelog[0.0.1.2]Name updates and some stuffNotes:discord.py must already be installed to use thismanage-messagespermission is recommended so reactions can be removed automatically0.0.3
First nice stable version
New emojis (which require bots to be in the tbd server (https://discord.gg/avpet3NjTE)
Revised
0.0.1dev
Little corrections
0.0.2dev
New dev version
0.0.1.2
Name updates and some stuff
Package: tess-atl
TESS-ATLCompute the asteroseismic detection probability for a given target.Installationpipinstalltess-atlUsageCommand linetess-atlwill query the relevant catalogs to calculate probabilities. Input target stars from the command line can take the form of a TIC ID, a Gaia DR2 ID, or a target name.atl--target'alf Men'By default, the sectors of targeted observation will be automatically calculated by tess-point. If you would like to specify the sectors, you can do so with the--sectorsflag. Noise for cadence is interpolated from prior work, so this only works for 20 and 120 second cadences.atl--target'pi Men'--cadence20will give the followingID261136679sectors19KIC<NA>
GAIA4623036865373793408Tmag5.1054
ra84.291188
dec-80.46912
Teff5992.1
logg4.3589
rad1.14889
magnitude_difference0.020912
dr3_source_id4623036865373793408proper_motion_propagationTrue
angular_distance0.122789
dr2_source_id4623036865373793408radius_gspphot1.2031
teff_gspspec6014.0
teff_gspphot5855.533203
logg_gspphot4.2235
logg_gspspec4.22
radius_flame1.204053
atl_teff5855.533203
atl_logg4.2235
atl_radius1.2031
Probability:1.000,numax:1864.345uHz,dnu:104.904uHz,SNR:0.066If the target ID is already known, this can be supplied by specifying either--tic--kicor--gaia(DR2 only). Cross-matches will be performed automatically.PythonFunctions can be exposed for more direct access, if desired.fromatl.atlimportcalc_detection_probabilitycalc_detection_probability(tess_magnitude,temperature,# in Kelvinradius,# in solar radiilogg,# in dexsectors,# The number of sectors the target is observed incadence# The cadence of the observations (20, 120))
Package: tess-atlas
TESS AtlasInstallation instructionsTo install the necessary packages, runpython-mpipinstall-e.Instructions to update TESS AtlasCreate and analyse some TOIs with the following:make runCommit the completed TOIs to a branch and make a PR to mainOnce PR to main completed, runmake websiteto convert the notebooks to HTML and upload to the gh-pages branch and deploy to github-pagesHow to useTo run the analysis for one TOI, you can runrun_toi<toiidnumber>where an example<toi id number> = 724To only setup the notebook + data needed for the analysis for one TOI, you can runrun_toi<toiidnumber>--setupwhere an example<toi id number> = 724To run all the notebooks (in batches of 8), you can runrun_toisTo make the slurm files needed to analyse a CSV of TOIs you can run:make_slurm_job--toi_csvtoi_ids.csv--module_loads"git/2.18.0 gcc/9.2.0 openmpi/4.0.2 python/3.8.5"Run tests on template.ipynbpython-mpipinstall-e".[test]"pytesttests/