semvec/pypi-packages huggingface dataset:
listcord.py 1.5.0
Simple listcord api wrapper for python!
License: MIT
Keywords: listcord

# Listcord.py

An official wrapper for the listcord api!

> View https://listcord.xyz/apidocs to view the raw api documentation!

## Installation

```sh
pip install listcord.py
```

## Getting started

> Get your api token from https://listcord.xyz/me. The Listcord api is currently only available only for those who have bots registered in our botlist! After getting your token, make sure your token is kept somewhere secret!

```py
import listcord

client = listcord.Client("Replace this with your token!")
print(client.get_bot('some bot id'))
```

This package also supports asynchronous fetching too!

```py
import listcord
import asyncio

client = listcord.Client("Replace this with your token!")

@asyncio.coroutine
def main():
    bot = yield from client.get_bot_async('some bot id')
    print(bot)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

## Methods

There are only some methods with the asynchronous ones too!

```py
client.get_bot('801976787264471120') # Returns the information of the bot!
await client.get_bot_async('801976787264471120') # Returns the information of the bot asynchronously!

client.get_bot_reviews('801976787264471120'); # Returns the array of reviews of the bot!
await client.get_bot_reviews_async('801976787264471120'); # Returns the array of reviews of the bot asynchronously!

client.get_review('user id', 'bot id'); # Returns the review details by the discord id of the reviewer and the bot which was reviewed!
await client.get_review_async('user id', 'bot id'); # Returns the review details by the discord id of the reviewer and the bot which was reviewed asynchronously!

client.has_voted('user id', 'bot id'); # Verify if the particular user has voted a paticular bot by id!
await client.has_voted_async('user id', 'bot id'); # Verify if the particular user has voted a paticular bot by id asynchronously!

client.search('shaz'); # Returns the array of the bots which matches your query!
await client.search_async('shaz'); # Returns the array of the bots which matches your query aynchronously!
```

## Contact

- [Join our discord server](https://discord.gg/cMGAyhZXwW)
- [Website](https://listcord.xyz)
Vectors-algebra 1.0.0
It helps in solving vector algebra
License: MIT

# Vector Algebra
It helps to create vector objects and manipulate them 

## Installation
```pip install vector-algebra```

## How to use it ?

Create an instance of vector
v1=Vectors(1,2,3)
v2=Vectors(1,2,1)
v3=v1+v2 --> for adding vectors
v4=v1-v2 --> for subtracting vectors
v5=v1*v2 --> returns a float value of dot product of two vectors
v6=v1**v2 --> returns a vector withcross product of both vectors
val=v1.magnitude() --> returns the magnitude of the vector
print(v1==v2) --> checks if both vectors are equal in direction and magnitude
print(v1>2) --> Checks if magnitude of v1 > v2
print(v1.angleBetweenVectorsInRadians(v2)) --> Returns angle between vectors in radians
print(v1.angleBetweenVectorsInDegrees(v2)) --> Returns angle between vectors in degrees
print(isParallel(v1,v2))
print(isPerpendicular(v1,v2))
print(v1.unit()) --> To print unit vector 
print(v1/10) --> To divide a vector by a number
print(v3)

## License

Â© 2021 Deepak Kumar Dash

This repository is licensed under MIT license.
see LICENSE for details