rename repo

This commit is contained in:
Alexander Popov 2016-10-22 13:43:33 +03:00
parent 9685d8aa8a
commit 016cd671ee
4 changed files with 14 additions and 14 deletions

View File

@ -1,14 +1,14 @@
![Version](https://img.shields.io/pypi/v/lastfm_import.svg?style=flat-square) ![Version](https://img.shields.io/pypi/v/lastfm_backup.svg?style=flat-square)
![License](https://img.shields.io/pypi/l/lastfm_import.svg.svg?style=flat-square) ![License](https://img.shields.io/pypi/l/lastfm_backup.svg.svg?style=flat-square)
![PyVersion](https://img.shields.io/pypi/pyversions/lastfm_import.svg.svg?style=flat-square) ![PyVersion](https://img.shields.io/pypi/pyversions/lastfm_backup.svg.svg?style=flat-square)
**How to use as standartalone app** **How to use as standartalone app**
1. Rename `config.json.example` to `config.json` and edit. 1. Rename `config.json.example` to `config.json` and edit.
2. Run this `python lastfm_import.py` or `~/lastfm_import.py`. 2. Run this `python lastfm_backup.py` or `~/lastfm_backup.py`.
3. PROFIT!! 3. PROFIT!!
***How to use as library** **How to use as library**
see [getTracks.py](https://github.com/iiiypuk/lastfm-import/blob/master/samples/getTracks.py). see [getTracks.py](https://github.com/iiiypuk/lastfm-backup/blob/master/samples/getTracks.py).
My `>57,5k` tracks scrobbles sized `~8.2Mb`. My `>57,5k` tracks scrobbles sized `~8.2Mb`.

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import lastfm_import as lfm import lastfm_backup as lfm
API_KEY = '0e5070361556658180f9b1518b341eda' API_KEY = '0e5070361556658180f9b1518b341eda'
USERNAME = 'goodgame' USERNAME = 'goodgame'

View File

@ -1,18 +1,18 @@
from distutils.core import setup from distutils.core import setup
import lastfm_import import lastfm_backup
setup( setup(
name='lastfm_import', name='lastfm_backup',
version=lastfm_import.__version__, version=lastfm_backup.__version__,
description='Last.fm backup scrobbles library' description='Last.fm backup scrobbles library'
' and standartalone program.', ' and standartalone program.',
author=lastfm_import.__author__, author=lastfm_backup.__author__,
author_email='iiiypuk@fastmail.fm', author_email='iiiypuk@fastmail.fm',
url='https://github.com/iiiypuk/lastfm-import', url='https://github.com/iiiypuk/lastfm-import',
py_modules=['lastfm_import'], py_modules=['lastfm_backup'],
scripts=['lastfm_import.py'], scripts=['lastfm_backup.py'],
license=lastfm_import.__license__, license=lastfm_backup.__license__,
platforms='any', platforms='any',
keywords=['last.fm', 'lastfm', 'import'], keywords=['last.fm', 'lastfm', 'import'],
classifiers=['License :: Public Domain', classifiers=['License :: Public Domain',