semvec/pypi-packages huggingface dataset:
pynxm 0.1.0
A python wrapper for the Nexus API.

=====
pynxm
=====
.. image:: https://img.shields.io/pypi/v/pynxm.svg?style=flat-square&label=PyPI
    :target: https://pypi.org/project/pynxm/
.. image:: https://img.shields.io/pypi/pyversions/pynxm.svg?style=flat-square&label=Python%20Versions
    :target: https://pypi.org/project/pynxm/
.. image:: https://img.shields.io/travis/GandaG/pynxm/master.svg?style=flat-square&label=Linux%20Build
    :target: https://travis-ci.org/GandaG/pynxm
.. image:: https://img.shields.io/appveyor/ci/GandaG/pynxm/master.svg?style=flat-square&label=Windows%20Build
    :target: https://ci.appveyor.com/project/GandaG/pynxm/branch/master

*A python wrapper for the Nexus API.*

Features:

- Retrieve information regarding colour-specific themes for games;
- Access resources specific to a user:
    - Get user details;
    - Get user's endorsements;
    - Get, add and delete user's tracked mods.
- Retrieve game information;
- Access mod information:
    - Get latest added mods;
    - Get latest updated mods;
    - Get all updated mods in a specific period of time;
    - Get trending mods;
    - Search for a specific mod;
    - Get mod details;
    - Get mod's changelogs;
    - Endorse or abstain from endorsing a mod.
- Access a mod's files:
    - List a mod's files;
    - Get a mod's file details;
    - Generate a download link for a mod's file.

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

To install *pynxm*, use pip::

    pip install pynxm

Users will also need an api key to login with, generate one for your account
`here <https://www.nexusmods.com/users/myaccount?tab=api%20access>`_.

Application developers that wish to use Nexus' Single Sign-On (SSO) will need an
application slug and a connection token, please contact a Nexus Community Manager
for more information.

Quick Examples
--------------

Connect to Nexus::

    >>> api_key = "my-api-key"
    >>> nxm = pynxm.Nexus(api_key)

Track a new mod::

    >>> game = "fallout3"
    >>> mod_id = "00000"
    >>> nxm.user_tracked_add(game, mod_id)

Endorse a mod::

    >>> game = "newvegas"
    >>> mod_id = "99999"
    >>> nxm.mod_endorse(game, mod_id)

Documentation
-------------

For more information check out *pynxm*'s API documentation at `pynxm.rtfd.io <https://pynxm.rtfd.io>`_

You can supplement *pynxm*'s API docs with the
`Nexus API documentation <https://app.swaggerhub.com/apis-docs/NexusMods/nexus-mods_public_api_params_in_form_data/1.0#/>`_.

Issues
------

Please use the `GitHub issue tracker <https://github.com/GandaG/pynxm/issues>`_ to submit bugs or request features.

Development
-----------

Setup a virtualenv, install `flit` and run::

    flit install -s

This will install an editable version of *pynxm* and all dev packages.

To run the checks and tests::

    tox

And to publish::

    flit publish
gisty 0.1.1
A cli utility for querying GitHub gists
Requires Python: >=3.6

# Gisty

A simple cli utility for retrieving Gists on GitHub.

Written as part of a technical test.

> Using the Github API you should query a user's publicly available github gists. The script should then tell you when a new gist has been published.

### Installation

> Note. Requires python3

```bash
pip3 install gisty
```

### Getting started

List all Gists

```bash
gisty firegrass --format list --colour
```

Find Gists this year

```bash
gisty firegrass --since 'last year' --order 'desc'
```

Watch for new Gists

```bash
gisty firegrass --watch --since 'now'
```

Once you hit GitHub IP address rate limiting (60 requests per hour), you can use a personal access token.

```bash
gisty firegrass --auth USERNAME:TOKEN
```

To debug the script and see the underlying GitHub api requests use `-v`

```bash
gisty firegrass -v
```

## Development

Using [Pipenv](https://pipenv.readthedocs.io) to manage dependencies and virtualenvs.

```bash
# Install locally
python3 setup.py install

# Build and push to test PyPI
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
```

### Potential improvements

- More test coverage (and reports in Travis)
- Use Travis to matrix tests in all Python3 versions
ivrc2country 0.1.2
Converts international vehicle license codes to 3-letter ISO3166-1 alpha-3 country codes

# International Vehicle Registration Codes to ISO3166 3-letter Country code converter

Standalone license plate country code converter. 
Based on a International Vehicle Registration Code, i.e., 'D' for Germany, it will return 'DEU' 
as 3-letter ISO3166-1 alpha-3 code.


You may want to use [ISO166 Python lib](https://github.com/deactivated/python-iso3166) to get
the Country's name or numeric code.


## Installation


    $ pip install ivrc2country


## Usage

    >>> import ivrc2country
    >>> ivrc2country.ivrcodes.get('D')
    IVRCode(ivrc='D', iso3166='DEU')

    >>> ivrc2country.ivrc_by_iso3166.get('DEU')
    IVRCode(ivrc='D', iso3166='DEU')


### Get political name of the issuing country

    >>> import ivrc2country
    >>> import iso3166
    >>> r = ivrc2country.ivrcodes.get('D')
    >>> iso3166.countries_by_alpha3.get(r.iso3166)
    Country(name='Germany', alpha2='DE', alpha3='DEU', numeric='276', apolitical_name='Germany')


## Keywords

* Länderkennzeichen nach ISO3166-1 Ländercode Konverter
* Autokennzeichen Land
* license plate country converter
* distinguishing signs used on vehicles in international traffic