semvec/pypi-packages huggingface dataset:
sqlalchemy-modelid 0.0.3
Base with a `model_id` property for SQLAlchemy models
Requires Python: >=3.6

SQLAlchemy-ModelID provides a base for [SQLAlchemy](https://www.sqlalchemy.org/) models with a `model_id` property. This conveniently distinguishes between models with the same primary key but from different tables.

## Installation

```
$ pip install sqlalchemy-modelid
```

## Quickstart

```python
from sqlalchemy_modelid import ModelIdBase

# standard session creation
from sqlalchemy import create_engine, Column, Integer
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, scoped_session

engine = create_engine('sqlite:///:memory:')
session_factory = sessionmaker(bind=engine)
Session = scoped_session(session_factory)
session = Session()
Base = declarative_base()

# subclass `ModelIdBase` to add a `model_id` property to any model
class Model(ModelIdBase, Base):
    __tablename__ = 'model'
    id = Column(Integer, primary_key=True)

# create the database
Base.metadata.create_all(engine)

# example
my_model = Model()
session.add(my_model)
session.commit()
my_model.model_id
```

Out:

```
model-1
```

## Citation

```
@software{bowen2020sqlalchemy-modelid,
  author = {Dillon Bowen},
  title = {SQLAlchemy-ModelID},
  url = {https://dsbowen.github.io/sqlalchemy-modelid/},
  date = {2020-06-05},
}
```

## License

Users must cite this package in any publications which use it.

It is licensed with the MIT [License](https://github.com/dsbowen/sqlalchemy-modelid/blob/master/LICENSE).
covid-cli 1.0.8
Get the latest COVID-19 information via the command line.
Keywords: coronavirus,covid19

covid-cli
=========

Get the latest COVID-19 information via the command line.

Installation
------------

::

   pip install covid-cli

Usage
-----

::

   usage: covid [-h] [-all] [-country COUNTRY] [-totals] [-csv] [-us]
                [-sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}]]

   optional arguments:
     -h, --help            show this help message and exit
     -all, -a              Get all countries totals
     -country COUNTRY, -c COUNTRY
                           Get a specific country's totals.
     -totals, -t           Get global stats: cases, deaths, recovered, time last
                           updated, and active cases
     -csv                  Set this flag to output to CSV.
     -us, -u               Get United States data.
     -sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}], -s [{Country,Active,Cases,Deaths,Recovered,Death Rate}]
                           Sort data by column.

Demo
----

|asciicast|

.. |asciicast| image:: https://asciinema.org/a/315090.svg
   :target: https://asciinema.org/a/315090
pyrosenv 0.0.4
Set an environment for easy work with ROS in python without setting things up
Requires Python: >=3.6

# pyrosenv

Set an environment for easy work with ROS in python without setting things up

## Installation

```console
pip install pyrosenv
```

## Usage

For easy working with ROS in Python 3 in your IDE (Pycharm, VSCode, etc.) Do one or more of the following imports.
Actually after import pyrosenv you can import anything that you would import in ROS environemnt.

```python
# set things up and then import
import pyrosenv
import rospy
# ...

#import ros libraries
from pyrosenv import rospy
from pyrosenv import rosbag
from pyrosenv import roslaunch
from pyrosenv import rosgraph
from pyrosenv import roslib
from pyrosenv import genpy
from pyrosenv import cv_bridge

# import std msgs
from pyrosenv.std_msgs.msg import Int16
from pyrosenv.std_msgs.msg import Bool
# ...

# import sensor msgs
from pyrosenv.sensor_msgs.msg import PointCloud2
msg = PointCloud2()
from pyrosenv.sensor_msgs import point_cloud2
point_cloud2.read_points(msg)
from pyrosenv.cv_bridge import CvBridge, CvBridgeError
# ...
```

Then you can just use rospy, rosbag, std_msgs, sensor_msgs, etc. as you would in ROS environment.