semvec/pypi-packages huggingface dataset:
instances-map-abc 1.0.3
Base classes for VM interface implementation
Requires Python: >=3.8

# py-vm-instance
Base classes for VM interface implementation

[instances-map-abc](https://github.com/BstLabs/py-vm-instance) was developed by [BST LABS](https://github.com/BstLabs/) as an open source generic infrastructure foundation for the cloud version of Python run-time within the scope of the [Cloud AI Operating System (CAIOS)](http://caios.io) project.


## Installation

To use it in your projects you need to install it via `pip3`

```bash
pip3 install instances-map-abc
```

## License

MIT License, Copyright (c) 2021-2022 BST LABS. See [LICENSE](https://github.com/BstLabs/py-vm-instance/blob/main/LICENSE.md) file.
tweet-counter 0.1.0
Calculate the length that Twitter will consider a Tweet to be

# Tweet counter

Calculate the size that Twitter [will consider a tweet to be](https://developer.twitter.com/en/docs/counting-characters).

This is not as advanced as [the official twitter-text libraries](/home/robin/projects/twitter-counter/README.md), but attempts to at least take into account the following:

- Twitter will convert anything that looks like a URL (with a [valid TLD](https://data.iana.org/TLD/tlds-alpha-by-domain.txt)) into a Twitter short link, and count it as taking up exactly 23 characters
- Twitter counts emoji and any unicode character above `U+2037` as each taking up 2 characters

## Installation

``` bash
pip3 install tweet-counter
```

## Python usage

``` python
from tweet_counter import count_tweet

print(count_tweet("Otters 👪 otters 𝗼𝘁𝘁𝗲𝗿𝘀 otters otters.com/otters"))
# Output => 60
```

## Command-line usage

``` bash
$ count-tweet "Otters 👪 otters 𝗼𝘁𝘁𝗲𝗿𝘀 otters otters.com/otters"
60
```