semvec/pypi-packages huggingface dataset:
ssearch 0.0.5
sougo translate cli tool
License: MIT
Keywords: cli,translate,chinese

# ssearch

v0.0.5

命令行单词搜索工具


feature:

- 目前使用搜狗翻译

todo：

- 单词音频播放 
- 搜索引擎切换

## install

```shell
pip install ssearch
```

## usage

```
usage: s [-h] [-e E [E ...]] [text]

search tool

positional arguments:
  text          search content

optional arguments:
  -h, --help    show this help message and exit

```

## example

```
(py3) ➜ s search

      text : search
       dit : 搜索
        uk : səːtʃ
       usa : sərtʃ
        v. : 查找，搜寻
        n. : 查找；搜寻
```
export-elements 2.0.0
Wrapper around govuk elements.
License: MIT

# export-elements

[![code-climate-image]][code-climate]
[![circle-ci-image]][circle-ci]
[![codecov-image]][codecov]
[![gemnasium-image]][gemnasium]

**Wrapper around govuk elements for use in Directory apps in Department for International Trade.**

---

## Installation

```shell
pip install export-elements
```

## Development

    $ git clone https://github.com/uktrade/export-elements
    $ cd export-elements
    $ npm install
    $ 

## Test

    $ make test # python tests
    $ gulp test # javascript tests

## Demo

Run the following command then visit http://localhost:3000

    $ gulp develop

## Publish to PyPI

The package should be published to PyPI on merge to master. If you need to do it locally then get the credentials from rattic and add the environment variables to your host machine:

| Setting                     |
| --------------------------- |
| DIRECTORY_PYPI_USERNAME     |
| DIRECTORY_PYPI_PASSWORD     |


Then run the following command:

    make publish


[code-climate-image]: https://codeclimate.com/github/uktrade/export-elements/badges/issue_count.svg
[code-climate]: https://codeclimate.com/github/uktrade/export-elements

[circle-ci-image]: https://circleci.com/gh/uktrade/export-elements/tree/master.svg?style=svg
[circle-ci]: https://circleci.com/gh/uktrade/export-elements/tree/master

[codecov-image]: https://codecov.io/gh/uktrade/export-elements/branch/master/graph/badge.svg
[codecov]: https://codecov.io/gh/uktrade/export-elements

[gemnasium-image]: https://gemnasium.com/badges/github.com/uktrade/export-elements.svg
[gemnasium]: https://gemnasium.com/github.com/uktrade/export-elements
basecampy3R 0.2.2
Aims to be the easiest to use version of the Basecamp 3 API
License: MIT

# BasecamPY3
An easy-to-use Python interface to the [Basecamp 3 API](https://github.com/basecamp/bc3-api).

*While BasecamPY3 aims to be equally functional in Python 2.7, the majority of testing has been in Python 3.4+ during this early stage of its development.*

## Features
  - Easy, AWS CLI-like configuration and installation
  - Object-oriented API
  - Handles rate-limiting, caching, and authentication for you!

## Install
```
pip install basecampy3
bc3 configure
```
Follow the prompts to obtain an access and refresh token which is then saved to `~/.conf/basecamp.conf`, allowing you to call `Basecamp3()` without any parameters. You will need to make your own [Basecamp 3 app integration](https://launchpad.37signals.com/integrations) first.

## Usage
### Basic Example
```py
from basecampy3 import Basecamp3

bc3 = Basecamp3()

for project in bc3.projects.list():
    print(project.name)

new_project = bc3.projects.create("My New Project", description="The best project ever made.")
new_project.campfire.post_message("Hello World!")
new_message = new_project.message_board.post_message("Check this out", content="This is a new message thread start.")
new_message.archive()

todolist = new_project.todoset.create("Things to be done")
todolist.create("Get Milk")
todolist.create("Get Eggs")
go_to_bed = todolist.create("Go to bed.")
go_to_bed.check()  # this is marked as done
```

**Not all functionality of the API is available yet.** For anything missing, you can use the [requests Session object](http://docs.python-requests.org/en/master/user/advanced/#session-objects) yourself directly and consult the [Basecamp 3 API docs](https://github.com/basecamp/bc3-api/tree/master/sections). The benefit of using this Session object is you will benefit from the authentication, rate-limiting, and caching features.

### Direct Session Example
```py
from basecampy3 import Basecamp3
from pprint import pprint

bc3 = Basecamp3()
session = bc3._session
MY_COMPANY_ID = 1234567
recording_id = 123456789
project_id = 1234567

# Reference:
# https://github.com/basecamp/bc3-api/blob/master/sections/comments.md#get-comments
BASE_URL = "https://3.basecampapi.com/{company_id}/".format(company_id=MY_COMPANY_ID)  # base of all API requests
ENDPOINT = "{base_url}/buckets/{project_id}/recordings/{recording_id}/comments.json"  # get comments endpoint
url = ENDPOINT.format(base_url=BASE_URL, project_id=project_id, recording_id=recording_id)
resp = session.get(url)  # make a GET request. Substitute get() with post() or put() or delete() as needed
if not resp.ok:  # API returned a 4XX or 5XX error
    print("Something went wrong.")
pprint(resp.json())  # resp.json() will make a nice dictionary of the JSON response from Basecamp
```

### CLI Example
**COMING SOON!**
Command Line interface for doing stuff with Basecamp.
**(not working yet)**
```
  $ bc3 projects list
```

## Todo
  - The rest of the Basecamp 3 API
  - Command line tool (beyond just the "configure" command)
  - Better testing coverage
pysqlcon 0.5
Easy execution of sql statements and stored procedures on MSSQL database
License: MIT

# pysqlcon

A library for object relational mapping using Microsoft SQL Server database.

pysqlcon is a custom ORM specifically made for MSSQL database. It contains functions for connecting to the database, executing raw SQL queries, stored procedures and SQL queries stored in files.

# Dependancies
* pyodbc
* ODBC driver 13 for SQL Server